fp.round
Rounds the fixed point number to the nearest whole number.
Args
self
(T
) - The input fixed point
Returns
A fixed point number representing the rounded value.
Examples
Last updated
Rounds the fixed point number to the nearest whole number.
self
(T
) - The input fixed point
A fixed point number representing the rounded value.
Last updated