![]() |
|
| << Previous | Next >> | |
| | |
float fmod( float x, float y );
Description
- Calculates modulo math.
Parameters
- x
- Dividend
- y
- Divisor
Return value
- Returns the remainder of x/y. The remaining part of
xafter all multiples ofyhave been removed. For example, ifxis 22.7 andyis 10.3, the integral division result is 2. Then the remainder is: 22.7 - 2 × 10.3 = 2.1.Library
- MATH.LIB
See also
- ceil, floor
| Dynamic C Functions | << Previous | Next >> | rabbit.com |