Constants

NaN

Supported By

Example

if 0/0 is NaN then beep

Description

A number representing the value obtained when evaluating an indeterminate form such as 0/0.

Note

Following the IEEE standard for floating-point numbers, NaN is not equal to itself. The expression NaN is NaN will return false.