Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
System
SingleExtensions
FloorToInt
System.SingleExtensions.FloorToInt C# (CSharp) Method
SingleExtensions Class Documentation
Show file
Open project: SteamTools-Team/SteamTools
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);
SingleExtensions
CeilingToInt
FloorToInt
Round2ToInt
RoundToInt