FUNCTION
decimal.floor
pure function floor(): decimalRound this decimal towards zero, to the next whole number.
Examples:
(-0.4).floor()returns0(-1.6).floor()returns-1(1.99999999999999999999).floor()returns1
Since 0.9.1
FUNCTION
pure function floor(): decimalRound this decimal towards zero, to the next whole number.
Examples:
(-0.4).floor() returns 0(-1.6).floor() returns -1(1.99999999999999999999).floor() returns 1Since 0.9.1
↑↓ move↵ openEsc close