Ceiling returns its input value rounded up to the nearest int.
Ceiling takes no parameters
num = 1.2 log num.ceiling() // returns 2
Last updated 1 year ago