otp.math.floor#
- floor(value)#
Returns a long integer value representing the largest integer that is less than or equal to the value.
Examples
>>> data = otp.Tick(A=1.2) >>> data['FLOOR'] = otp.math.floor(data['A']) >>> otp.run(data) Time A FLOOR 0 2003-12-01 1.2 1