Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Pchp
Library
PhpMath
round
Pchp.Library.PhpMath.round C# (CSharp) Method
PhpMath Class Documentation
Mostrar archivo
Open project: iolevel/peachpie
round()
public
static
method
Rounds a float.
public
static
round
(
double
x
) :
double
x
double
The value to round.
return
double
public static double round(double x) { return RoundInternal(x, RoundMode.HalfUp); }
Same methods
PhpMath::
round
(
double
x
,
int
precision
) :
double
PhpMath::
round
(
double
x
,
int
precision
,
RoundMode
mode
= RoundMode.HalfUp ) :
double
PhpMath
AbsolutizeRange
BaseToDouble
ConvertToLong
DoubleToBase
FindExtreme
GetExtreme
Power10Value
Random01
RoundInternal
_Log10Abs
abs
acos
acosh
asin
asinh
atan
atan2
atanh
base_convert
bindec
ceil
cos
cosh
decbin
dechex
decoct
deg2rad
exp
expm1
floor
fmod
getrandmax
hexdec
hypot
is_finite
is_infinite
is_nan
lcg_value
log
log10
log1p
max
min
mt_getrandmax
mt_rand
mt_srand
octdec
pi
pow
rad2deg
rand
round
sin
sinh
sqrt
srand
tan
tanh
uniqid