rounddown
Round toward zero with specified precision.
Syntax
Section titled “Syntax”v = rounddown(number, num_digits)Description
Section titled “Description”Rounds number toward zero. num_digits controls precision: positive = decimal places kept, 0 = integer, negative = round to tens/hundreds.
Examples
Section titled “Examples”rounddown(3.7, 0) % 3rounddown(31415, -2) % 31400