Number.RoundDown
Number.RoundDown(number as nullable number, optional digits as nullable number) as nullable number
Returns the result of rounding number
down to the previous highest integer. If number
is null, this function returns null. If digits
is provided, number
is rounded to the specified number of decimal digits.
Round down 1.234 to integer.
Usage
Number.RoundDown(1.234)
Output
1
Round down 1.999 to integer.
Usage
Number.RoundDown(1.999)
Output
1
Round down 1.999 to two decimal places.
Usage
Number.RoundDown(1.999, 2)
Output
1.99