GoConqr has a new look! Let us know what you think.

Flowchart

The Math Object

Kostas Diakogiannis Web Developing Junior Certificate English

Flowchart content

  1. JavaScript Math Object

  2. The Math Object

    The Math object is a native object that is being provided to us by JavaScript in order to perform mathematical operations and computations easier by using these functions.

    The Math object works with data types of number. Some of the commonest functions used are:

    Math.random() // creates a random decimal number between 0 and 1. In case you want to increase the range, you need to multiply the random number with the upper limit you want to set. Math,random() * 10 (from 0 to 10)

    Math.round(x) // Rounds the decimal number x to the nearest integer

    Math.ceil(x) // Rounds the decimal x to the nearest upper integer

    Math.floor(x) // rounds the decimal to X to the bottom nearest integer

    And many many more, Please find the documentation and the list of the Math possible functions here

    /

Information

Description
Junior Certificate Web Developing Flowchart on The Math Object, created by Kostas Diakogiannis on 15/10/2018.
Views
7
History
  • Created by Kostas Diakogiannis · Oct 12, 2018
  • Copied by Kostas Diakogiannis · Oct 12, 2018
  • Copied by Kostas Diakogiannis · Oct 12, 2018
  • Copied by Kostas Diakogiannis · Oct 15, 2018
  • Copied by Kostas Diakogiannis · Oct 15, 2018
  • Copied by Kostas Diakogiannis · Oct 15, 2018
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?