I don't know anything about Visual Basic, but a logarithm is the exponent by which you need to raise a base number to get another number. In
common logarithms, the base number is 10, and in
natural logarithms, the base number is a constant called
e. Or the base can be a user-specified number.
Example: 10 squared -- that is, 10 raised by the exponent of 2 -- is 100. So, the common logarithm of 100 is 2. Is that the kind of stuff you need to know?
I found this page, with a Java calculator, but the calculator confused me more than the text explanation! Still, if you want,
click here.
Again, I don't know anything about Visual Basic, but I'd think there would almost have to be a function call that will calculate the logarithm for any number and base. One common syntax for this would be LOGARITHM(
number, base) so to do the above example, you'd include a program statement along the lines of:
myVal = LOGARITHM(100,10)
and the function would assign the variable myVal a value of 2, because 2 is the power by which you have to raise 10 to get 100.
I have no idea at all whether this is the kind of thing you need to know or not, but hey, at least I tried. Good luck...