DoubleExtension.Floor C# (CSharp) Method

Floor() public static method

Returns the largest integer less than or equal to the specified double-precision floating-point number.
public static Floor ( double @this ) : int
@this double
return int
    public static int Floor(this double @this) => Convert.ToInt32(Math.Floor(@this));
}