CAPL Script

Sqrt

Syntax

double sqrt(double x);

Function

Calculates the square root.

Parameters

Value whose square root is to be calculated.

Return Values

Square root of x.

double x;x = sqrt(4.0); // Result 2.0

[cos](/en/syntax/general/math/cos) | [exp](/en/syntax/general/math/exp) | [sin](/en/syntax/general/math/sin)