Rounds it's argument to the nearest integer value, using the current rounding direction.
Remember to link the math library: valac -X -lm ...
If x
is infinite or double.NAN, or if the rounded value is outside the range
of the return type, the numeric result is unspecified. A domain error may occur if the magnitude of x
is too large.
x |
A numeric value. |