floor()
Rounds towards -Infinity
with the specified precision.
Infinity
.-Infinity
. Using the precision is similar to doing Math.floor(num * Math.pow(10, precision)) / Math.pow(10, precision)
.num
rounded towards -Infinity
with the specified precision.This function directly requires the following function which is included automatically:
round()
This function is directly required by the following functions: