Online Training for Asp.net MVC Web Designing Development, MS SQL, Digital Marketing

Javascript Math Function

JavaScript Math Object Methods

In this article you will learn JavaScript Math Object Methods, that will allow you to perform many mathematical tasks on numbers.

Math.round() in Javascript

Math.round(x) returns the rounded value of x , here is an example

Math.ceil(), Math.floor() in Javascript

Math.ceil(x) returns the rounded up to its nearest integer AND Math.floor(x) rounded down to its nearest integer:

Math.pow(),Math.sqrt() in Javascript

Math.pow(x, y) returns the value of x to the power of y AND Math.sqrt(x) returns the square root value of x:


Comment
Name Email Website
Subscribe
 
Javascript Math Function

JavaScript Tutorial

Group Training