NaN and Infinity
Last updated
Last updated
Internet Object supports NaN (Not a Number) and Infinity values. Not a number and the Infinity must be represented as literal characters NaN
and Inf
. The Infinity value may be prefixed with an optional plus or minus sign.
Chars
Char Code
Detail
-
U+2010
Minus Sign
+
U+002B
Plus Sign
Inf
U+006C U+006E U+0066
The keyword Inf
NaN
U+004E U+0061
The keyword NaN