This is an old revision of the document!
fixed trunc(fixed x)
Returns x with the fractional part truncated as a fixed-point number.
See the article on Rounding for all rounding modes.
trunc(2.3) -> 2.0 trunc(3.8) -> 3.0 trunc(5.5) -> 5.0 trunc(-2.3) -> -2.0 trunc(-3.8) -> -3.0 trunc(-5.5) -> -5.0