Public Function LogNReal( _
ByVal vX As Variant _
, ByVal vY As Variant _
) As Variant LogNReal(0, 10) = 0
LogNReal(10, 10) = 1
LogNReal(12, 10) = 1.07918124604762
LogNReal(16, 10) = 1.20411998265592
LogNReal(167, 10) = 2.22271647114758v1.5 BugFix: Corrected the LogNReal(0, 10) example above to show the correct result. LogNRealVerify Subroutine
LogBaseN Function
LogN Function
Log Function (Visual Basic)Note: The LogBaseN function supports both real AND complex numbers. vX: The number whose base vY logarithm is to be returned. Function returns Null if vX is Null or cannot be fixed up to a number.
vY: The logarithm base. Function returns Null if vY is Null or cannot be fixed up to a number.
Definition:
Log(X) / Log(Y)
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.