Check if a number is Nan

Found out something today.

Apparently, to determine if a number is NaN(Not a Number) you’ll have to compare the number with itself.

http://snippets.luacode.org/snippets/Test_for_NaN_75

Weird!
[import]uid: 64174 topic_id: 27648 reply_id: 327648[/import]