Universeorange.com/Docs/
{math.fmod(Float $number1, FLoat $number2)}
Returns the floating-point remainder of dividing the dividend (number1
) by the divisor (number2
).
The remainder (r) is defined as: number1 = i * number2 + r
, for some integer i.
If number2
is non-zero, r has the same sign as number1
and a magnitude less than the magnitude of number2
.
Returns the remainder of number1/number2 as a
float
.
https://www.php.net/manual/en/function.fmod.php
Last modified: 2021-06-07
© 2021 universeorange.com