.floor()
Description
Floor returns its input value rounded down to the nearest int.
Parameters
Floor takes no parameters
Usage On Numbers
num = 1.9
log num.floor()
// returns 1Last updated
Was this helpful?
Floor returns its input value rounded down to the nearest int.
Floor takes no parameters
num = 1.9
log num.floor()
// returns 1Last updated
Was this helpful?