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
Random01
Pchp.Library.PhpMath.Random01 C# (CSharp) Method
PhpMath Class Documentation
Mostrar archivo
Open project: iolevel/peachpie
Random01()
static
private
method
Gets
0
or
1
randomly.
static
private
Random01
( ) :
int
return
int
static int Random01() { return (int)Math.Round(Generator.NextDouble()); }
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