System.SingleExtensions.FloorToInt C# (CSharp) Method

FloorToInt() public static method

(向下取整)返回小于或等于指定数字的最大整数值
public static FloorToInt ( float f ) : int
f float
return int
        public static int FloorToInt(this float f) => (int)MathF.Floor(f);