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
CeilingToInt
System.SingleExtensions.CeilingToInt C# (CSharp) Method
SingleExtensions Class Documentation
Show file
Open project: SteamTools-Team/SteamTools
CeilingToInt()
public
static
method
(进一法)返回大于或等于指定数字的最小整数值
public
static
CeilingToInt
(
float
f
) :
int
f
float
return
int
public static int CeilingToInt(this float f) => (int)MathF.Ceiling(f);
SingleExtensions
CeilingToInt
FloorToInt
Round2ToInt
RoundToInt