floor
From ENIGMA
Notation
floor(x)
Description
The floor of a number is that number rounded down to the nearest integer.
Parameters
- x = the value to take the floor of
Return Values
The floor of x.
Example Call
one = floor(1.6); //returns 1
negtwo = floor(-1.2); //returns -2
negtwo = floor(-1.2); //returns -2