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:
Related in same category :
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|