KRISTOFFER BOHMANN
[BETA]
Forside
Om KB
Kompetencer
Referencer
Math
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
Home
>
PHP
>
Function
>
Math
>
sqrt()
sqrt()
sqrt - Square root
Syntax
float
sqrt
(
float
$arg)
Arguments
arg - The argument to process
Description
Returns the square root of arg.
Version
PHP 4, 5
Return value
The square root of arg or the special value NANfor negative numbers.