Mega Code Archive

 
Categories / JavaScript DHTML / Data Type
 

ParseInt(33 00)

<html> <head> <title>Convert String to Number</title> </head> <body> <p> <script type="text/javascript"> var iValue = parseInt("33.00"); document.writeln("<p>" + iValue + "</p>"); </script> </p> </body> </html>