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.
You can experiment with this function in the test box below.
On This Page