Quantcast
Viewing latest article 8
Browse Latest Browse All 10

Math.floor() function in javascript

What is Math? Before we learn about Math.random() function I would like to tell you that Math is an object in javascript. The Math object includes several mathematical constants and methods. Math object allows you to perform mathematical tasks. Math is not a constructor, hence all properties and methods can be called by using Math as an object without creating it. Example: Math.floor() The floor() method rounds a number to the nearest integer downwards side, […]

Viewing latest article 8
Browse Latest Browse All 10

Trending Articles