Properties
The following properties are defined in the Math class.
| Name | Type | Value | Description |
|---|---|---|---|
| E | Number | 2.7182818284590452354 | Value of natural logarithm e |
| LN10 | Number | 2.302585092994046 | Natural logarithm value of 10 |
| LN2 | Number | 0.6931471805599453 | Natural logarithm value of 2 |
| LOG2E | Number | 1.4426950408889634 | Logarithmic value of e with a base of 2 |
| LOG10E | Number | 0.4342944819032518 | Common logarithm value of e |
| PI | Number | 3.1415926535897932 | Pi |
| SQRT1_2 | Number | 0.7071067811865476 | Square root of 1/2 |
| SQRT2 | Number | 1.4142135623730951 | Square root of 2 |