Returns the largest integral value not greater than or equal to the given floating-point number.
f Floating-point number for which largest integral value not greater than that number is to be computed
Largest integral value not greater than or equal to f
The floorf function returns the largest integral value not greater than or equal to f, expressed as a float type value. Therefore, if f is negative, the value after rounding-up of the fractional part is returned.