Using Floating-Point Numbers : Number Data Type : Language Basics JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Language Basics » Number Data Type »

 

Using Floating-Point Numbers



<HTML>
<HEAD>
<TITLE>Using floating-point numbers</TITLE>
</HEAD>
<BODY>
<SCRIPT LANGUAGE="JavaScript">
<!--
document.write(-4.321)
document.write("<BR>")
document.write(55.)
document.write("<BR>")
document.write(12e2)
document.write("<BR>")
document.write(1e-2)
document.write("<BR>")
document.write(7e1)
document.write("<BR>")
document.write(-4e-4)
document.write("<BR>")
document.write(.5)
// -->
</SCRIPT>
</BODY>
</HTML>

           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Language Basics
» Number Data Type