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().

All constants