LOG10E
Try it yourself:
LOG10E: base-10 logarithm of e
LOG10E is log₁₀(e), the conversion factor from natural logs to base-10 logs.
Use
Multiply log() results by LOG10E to obtain base-10 values, or call log10() directly. LN10 is the reciprocal conversion factor.
Caveat
Real logarithms need positive inputs; retain exact constants until formatting with format().
Use LOG10E in a calculation
Enter LOG10E on a calculator line to see its built-in value, or place the name inside a longer expression. Keep any displayed unit attached when converting or combining physical quantities, and check that every other value uses a compatible dimension.
The example above is editable, so you can replace surrounding values and test the constant in your own formula. Browse all constants to compare related values and notation.
All constants