sqrt Method

Returns the square root of a number.

function sqrt(number : Number) : Number

Arguments

  • number
    Required. A numeric expression for which the square root is calculated.

Remarks

If number is negative, the return value is NaN.

Requirements

Version 1

Applies To:

Math Object

See Also

Reference

SQRT1_2 Property

SQRT2 Property