¡GoConqr estrena diseño! Cuéntanos qué te parece.

Diagrama de flujo

The Math Object

Kostas Diakogiannis Web Developing Junior Certificate Inglés

Contenido del diagrama

  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

    /

Información

Descripción
Junior Certificate Web Developing Diagrama sobre The Math Object, creado por Kostas Diakogiannis el 15/10/2018.
Visitas
7
Historial
  • Creado por Kostas Diakogiannis · 12 oct 2018
  • Copiado por Kostas Diakogiannis · 12 oct 2018
  • Copiado por Kostas Diakogiannis · 12 oct 2018
  • Copiado por Kostas Diakogiannis · 15 oct 2018
  • Copiado por Kostas Diakogiannis · 15 oct 2018
  • Copiado por Kostas Diakogiannis · 15 oct 2018
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?