Javascript: Arithmetic Statements
Javascript has the usual set of arithmetic operators:
/*
Addition
+
Subtraction

Division
/
Multiplication
*
Modulo (remainder)
%
*/
var nVal = 20 + 5; //nVal = 25
var zVal = 3 * nVal; //zVal is 75
var xVal = zVal/nVal; //xVal is 3
var yVal = 25%3 //yVal = 1