डिप्लोमा इन ऑफिस मैनेजमेंट एण्ड अकाउटिंग

डिप्लोमा इन ऑफिस मैनेजमेंट एण्ड अकाउटिंग

Full Stack Web Development with Laravel

Full Stack Web Development with Laravel

Affiliate Program

Affiliate Program

Math in java script

Math static properties and methods in java script
 

Static properties

  1. Math.E
    Return eular constant (2.178)
  2. Math.LN2 
    Natural logarithm of 2 (0.693)
  3. Math.LN10
    Natural logarithm of 2 (2.303)
  4. Math.PI
    Return Math pi value(3.14159)

Static methods

  1. Math.abs()
    Return absolute value
  2. Math.sin()
    Return sin value
  3. Math.cos()
    Return cosine value
  4. Math.tan()
    Return tangent value
  5. Math.cbrt()
    Return cube root
  6. Math.ceil()
    Round up to nearest integer
  7. Math.floor()
    Round down to nearest integer
  8. Math.round()
    Round the number as math
  9. Math.exp() (2.718)
    Return exponential value
  10. Math.hypot()
    Return the square root of the sum of squares of its arguments
  11. Math.log()
    Return natural log
  12. Math.log10()
    Return log of base 10
  13. Math.max()
    Return maximum value from the given arguments
  14. Math.min()
    Return minimum value from the given arguments
  15. Math.pow()
    Return the value of base raised to the power
  16. Math.sqrt()
    Return the square root of value
  17. Math.sign()
    Return the sign(-1 for negative value, 1 for positive value, 0 for zero value)
  18. Math.trunc()
    Return the integer number by removing fractional part
© 2016 - 2023, All Rights are Reserved.