FUNCTION
decimal.floor
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
© 2026 Chromia