Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter SevenMath Functions (continued)

SquareRoot Function

Overview

The SquareRoot function returns the square root of a floating-point value.

Syntax/Parameters

Syntax

float = SquareRoot ( float x );

Parameters

x

A float containing a numeric source value. If x is not a float, the data will be converted to a 64-bit floating-point number.

Return Value

Returns a float containing the square root value of x. If the value is out of range or nonsensical (i.e., root of a negative number), the function returns #IND and the GetLastError function will return an error code.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic