Rounds argument x
to the nearest integer not larger in absolute value.
Remember to link the math library: valac -X -lm ...
The GLib.Math.trunc function rounds argument x
to the nearest integer not larger in absolute
value.
x |
A numeric value. |