Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter SevenMath Functions (continued)

IsNaN Function

Overview

The IsNaN function tests a value as being an invalid float value. Infinite (+/-) counts as as a number.

Syntax/Parameters

Syntax

boolean = IsNaN ( 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 TRUE if x is not a number (NaN) or FALSE if it is a valid floating-point number.

Remarks

Note that the action of comparing two NaN values will fail since NaN is not considered a floating-point value.

Related Functions

Platform Support

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

Legato IDE, Legato Basic