lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> return 0/0
-nan

It's rather interesting that not-a-number is a number:

if type(0/0) == "number" then
    print("not-a-number is a number")
end