Sqrt (open)

Returns the square root of a value.

Syntax

LOADLIB "wh::float.whlib";

FLOAT FUNCTION Sqrt(FLOAT value)

Parameters

FLOAT value

The FLOAT value from which to determine the square root

Return value

FLOAT

The square root of @italic value

Examples

// The FLOAT value will be 2.0
FLOAT f := Sqrt(4);