Working With JavaScript Divide Operators : Arithmetic operator : Operators JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Operators » Arithmetic operator »

 

Working With JavaScript Divide Operators

















<HTML>
<HEAD>
<TITLE>
Working With JavaScript Operators
</TITLE>
</HEAD>

<BODY>
    <H1>Working With JavaScript Operators</H1>
    <SCRIPT LANGUAGE="JavaScript">
    <!--
         var pounds = 2.0
         var kilograms = pounds / 2.2046
         document.write(pounds + " pounds is the same as " + kilograms.toPrecision(4" kilograms.")
    // -->
    </SCRIPT>
</BODY>
</HTML>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Operators
» Arithmetic operator