Floor returns its input value rounded down to the nearest int.
Floor takes no parameters
num = 1.9 log num.floor() // returns 1
Last updated 1 year ago