WMLScript sqrt() Function
The sqrt() function returns the square root of a number.
Syntax
n = Float.sqrt(x)
Components | Description |
---|---|
n | The floating-point number returned by this function. |
x | Numbers. |
Example
var a = Float.sqrt(9); var b = Float.sqrt(6.25);
Result
a = 3 b = 2.5