• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 14. Working with Numbers: The Ma... > Properties of the Math Object

Properties of the Math Object

The Math object's properties are all constants that are commonly used in mathematical operations. Table 14.4 lists all the available Math object properties.

Table 14.4. Properties of the Math Object
Property Syntax What It Represents Approximate Value
Math.E Euler's constant 2.718281828459045
Math.LN2 The natural logarithm of 2 0.6931471805599453
Math.LN10 The natural logarithm of 10 2.302585092994046
Math.LOG2E Base 2 logarithm of E 1.4426950408889633
Math.LOG10E Base 10 logarithm of E 0.4342944819032518
Math.PI The constant pi 3.141592653589793
Math.SQRT1_2 The square root of 1/2 0.7071067811865476
Math.SQRT2 The square root of 2 1.4142135623730951



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint