In old QBasic I could use the LOG function to get the base-10 log of a number. So I would have something like this...
sglFormula = 150 - (LOG(intTemp + 10) * 30)
... the LOG function would give me the log base-10 of a variable (intTemp) plus 10.
How do I do this in VB.NET. Do I have to create my own log function and, if so, what would it look like?
Thanks