NaN
If nil
was supposed to be a number, it would be NaN
.
This value is generated from henious math operations such as the following:
local NaN = 0 / 0
This is not to be confused with infinity (which for some reason is confused with).
local Infinity = math.huge or 1 / 0