16. Math objects : JAVASCRIPT

Math objects

Math objects

These are significant for the people who need to utilize diverse numerical capacities in their program. This capacity permits us to perform numerical assignments on numbers. 

  • Math. round - It is utilized to adjust the qualities to the closest number. 
  • Math. pow() - It is utilized to return the power of any number. 
  • Math. sqrt() - It is utilized to return the square root of any number. 
  • Math. ceil() - It is utilized to gather together the number to the closest number. 
  • Math. floor() - It is utilized to adjust down to the closest number. 
  • Math. min() - It is utilized to track down the base numbers. 
  • Math. max() - It is utilized to track down the most extreme numbers. 
  • Math. random() - It is utilized to produce any random number.

Post a Comment

0 Comments