nan() Function

Represents a constant number that stands for Not A Number. This constant is generally used for comparison to remaining mathematical operations with invalid inputs. It is equivalent to floating point null, but NaN() is provided for more explicit usage in mathematical expressions.

Syntax

nan()

Returns

Decimal

Examples

nan(100) returns null

Open in Github Built: Tue, May 17, 2022 (03:05:45 PM)

On This Page

FEEDBACK