Search notes:
JavaScript: division operator (/)
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<title>Javascript division operator (/)</title>
<script type="text/javascript" src="../js-tablator/tablator.js"></script>
<script type="text/javascript">
function write_out(txt) {
document.getElementById('out').innerHTML += txt + '<br>';
}
function main() {
write_out('10 / 3 = ' + (10/3)); // 3.3333333333333335
write_out('11 / 3 = ' + (11/3)); // 3.6666666666666665
write_out('12 / 3 = ' + (12/3)); // 4
}
</script>
</head>
<body onload='main()';>
<div id='out'></div>
</body>
</html>