**Public Function Log10( _
ByVal vX As Variant _
) As Variant**

**"Logarithm Base 10" **

Log base-10 of X for a real or complex number.

**Examples:** Log10(-1) = "0|1.36437635384184"
IsNull(Log10(0)) = True
Log10(1) = 0
Log10(2) = 0.301029995663981
Log10(10) = 1
Log10("2.3|-4.5") = "0.7036104464637|-0.476985365109662"

**See also:** Logarithm Function
LogBaseN Function
Log Function (Visual Basic)

**vX:** Number whose base-10 logarithm is returned. Function returns Null if vX is Null or cannot be fixed up to a real or complex number (as defined by the ComplexStringToReals function). Complex numbers are represented within strings as "R|I" where R is the real part and I is the imaginary part.

**Definition:** Logarithm(X) / Log(10)

Copyright 1996-1999 Entisoft

Entisoft Tools is a trademark of Entisoft.