Core Function Sqrt

From Sputnik Wiki
Jump to: navigation, search
Sqrt( <expression> )

Contents

Description

Returns the square root of a specified number.

Parameters

expression

Any valid numeric expression.

Return Value

Returns the square-root.

Remarks

To compute an nth root, use the power operator: x ^ (1/n) MsgBox("The cube root of 27 is: " . (27.0 ** (1.0/3.0)) );

Example

$x = Sqrt(2);  //returns 1.4142135623731
$y = Sqrt(9);  //returns 3
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox