1.

What's Math Constants And Functions Using Javascript?

Answer»

The Math object contains useful CONSTANTS such as Math.PI, Math.E 
Math also has a zillion helpful functions. 
Math.abs(VALUE); //ABSOLUTE value 
Math.max(value1, value2); //find the largest 
Math.random() //generate a decimal NUMBER between 0 and 1 
Math.floor(Math.random()*101) //generate a decimal number between 0 and 100

The Math object contains useful constants such as Math.PI, Math.E 
Math also has a zillion helpful functions. 
Math.abs(value); //absolute value 
Math.max(value1, value2); //find the largest 
Math.random() //generate a decimal number between 0 and 1 
Math.floor(Math.random()*101) //generate a decimal number between 0 and 100



Discussion

No Comment Found