How do I test if a number is infinity or not a number? The == operator doesn't work.

John Zukowski

You need to check with the appropriate isInfinite() or isNan() method. You can't directly test for those values.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact