Displaying Maximum and Minimum Values : Maximum Minimum Values : Number Data Type JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Number Data Type » Maximum Minimum Values »

 

Displaying Maximum and Minimum Values

















<html>
<head>
<title>Displaying Maximum and Minimum Values</title>
<script type="text/javascript" language="javascript">
<!-- //
function ShowLimits(){
var maxAndMin  = "Max Number: " + Number.MAX_VALUE + "n";
    maxAndMin += "Min Number: " + Number.MIN_VALUE;
document.write(maxAndMin);
}
// -->
</script>
</head>
<body onload="ShowLimits()">

</body>
</html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Number Data Type
» Maximum Minimum Values