The Floor
method in the MathX
class is a static extension method that returns the largest integer less than or equal to the specified single-precision floating-point number. This method is useful for rounding down a floating-point number to the nearest whole number.