Public Function LogBaseN( _
ByVal vX As Variant _
, ByVal vY As Variant _
) As Variant LogBaseN(3, 10) = 0.477121254719662
LogBaseN(3, e) = 1.09861228866811
LogBaseN("2.3|-4.5", 30) = "0.476338989920794|-0.322915511225372"
LogBaseN("2.3|-4.5", "2|3") = "0.382423731894415|-1.1494519611595"See also: Logarithm Function
Log10 Function
LogN Function
Log Function (Visual Basic)vX: Number whose 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. Logarithm(X) / Logarithm(Y)
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.