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
Patcher
Rules
Compiled
Helpers
Math
Round
Patcher.Rules.Compiled.Helpers.Math.Round C# (CSharp) Method
Math Class Documentation
Show file
Open project: unforbidable/patcher
Round()
public
static
method
Rounds the specified floating point value to the nearest integer value.
public
static
Round
(
float
a
) :
int
a
float
Floating point value to round.
return
int
public static int Round(float a) { return (int)System.Math.Round(a); }
Math
Ceiling
Floor
Max
Min
Round