1,HTML source code£º <html> <head> <title>How to use Double</title> </head> <body> <script src="jsjava.js"></script> <script> try{ var d=Double.parseDouble("99r"); document.write(d+"<br>"); }catch(e){ document.write(e.message+"<br>"); } var f=Double.checkValid("sdf"); document.write(f); </script> </body> </html> 2,The display:

The display text is:
Not a number Exception!
false