[X3D-Public] Testing for NaN in a Script?

Bjoern Hoehrmann derhoermi at gmx.net
Wed Feb 23 09:48:58 PST 2011


* Russ Kinter wrote:
>Anyway to test for NaN with ecmascript?

Use the global isNaN function, `if (isNaN(...)) { ... }`.
-- 
Björn Höhrmann · mailto:bjoern at hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 



More information about the X3D-Public mailing list