Flash Lite 2.x and 3.0 ActionScript Language Reference

LOG10E (Math.LOG10E property)

public static LOG10E : Number

A mathematical constant for the base-10 logarithm of the constant e (Math.E), expressed as log10e, with an approximate value of 0.4342944819032518.

The Math.log() method computes the natural logarithm of a number. Multiply the result of Math.log() by Math.LOG10E obtain the base-10 logarithm.

Example

This example shows how to obtain the base-10 logarithm of a number:

trace(Math.log(1000) * Math.LOG10E);
// Output: 3