fix
Round toward zero (truncate).
Syntax
Section titled “Syntax”B = fix(A)Description
Section titled “Description”Returns A with the fractional part removed. Same as floor for positive A, ceil for negative.
Examples
Section titled “Examples”fix(2.7) % 2fix(-2.7) % -2