JavaScript Tutorial/Number Data Type/Precision
Precision of numbers
<html>
<head>
<title>Precision of numbers</title>
<script type="text/javascript" language="javascript">
<!-- //
function Calculate(){
var n = 10.0 / 3.0;
document.write("10.0 divided by 3.0 is " + n);
}
// -->
</script>
</head>
<body onload="Calculate()">
</body>
</html>