nan() Function

Function

nan()

Constant number representing Not A Number, generally used for comparison to the result of mathematical operations with invalid inputs. This is equivalent to a decimal (floating point) null, but nan() is provided for more explicit usage in mathematical expressions.

Returns

Decimal

Examples

nan(100) returns null

Open in Github Built: Tue, May 17, 2022 (03:09:06 PM)

On This Page

FEEDBACK