NaN()

Syntax

Result.f = NaN()
Description
Returns the special floating point value representing 'Not a Number'. This value is returned from invalid calculations such as calculating the square root of a negative number.

NaN is a special value. Using NaN in any calculation with other values will again return the value NaN. The IsNaN() function can be used to check wether a variable represents the value NaN.

Example:

  Debug IsNaN(NaN() * 5 + 2) ; will display 1

Supported OS

All

<- Log10() - Math Index - Pow() ->