parseInt("33.00") : parse « Data Type « JavaScript DHTML
- JavaScript DHTML
- Data Type
- parse
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>
Related examples in the same category