Skip to main content


This script will return a num­ber which has been round­ed down to the spec­i­fied num­ber of dig­its from the dec­i­mal point.

This is similar to the decimal command, except that it returns a number and not a string. If you need to display a certain number of digits after the decimal point use the decimal command.

FORMAT: FLOOR (number, number of digits)


  • Number: numerical expression for the number of digits.

If positive, the number of digits will show to the right of the decimal point. If negative, the number of digits will show to the left of the decimal point starting at tens. If 0, no decimal placing will be shown.


show FLOOR (34.235, 2)

Shows 34.23.


show FLOOR (3423.456, -2)

Shows 3,400.