Define variables, assign values and output : Number Data Type : Language Basics JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Language Basics » Number Data Type »

 

Define variables, assign values and output



<HTML>
<BODY>
<SCRIPT language="JavaScript">
<!--
var paycheck=20;
document.write(paycheck+"<BR>");

paycheck+=2000;
document.write(paycheck+"<BR>");

paycheck=paycheck-500;
document.write(paycheck+"<BR>");

paycheck=paycheck*0;
document.write(paycheck+"<BR>");

paycheck=paycheck+500;
document.write(paycheck+"<BR>");

paycheck-=80;
document.write(paycheck+"<BR>");

//-->
</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