Computes the remainder of dividing x
by y
.
Remember to link the math library: valac -X -lm ...
The return value is x - n * y
, where n is the quotient of x / y
, rounded towards zero to an integer.
x |
A numeric value. |
y |
A numeric value. |