C++ Programming/Code/Standard C Library/Functions/floor

floor
The function floor returns the largest integer value not greater than arg.

would result in x being set to 6 (double 6.0).

would result in x being set to -7 (double -7.0).


 * Related topics: ceil - fmod