ASP's log() function returns the natural logarithm of a number. But what if we want a different base? The same problem exists with handheld calculators, and the same trick we use to get around it there can be used here too.
ASP
function logx(number, base)
logx = log(number) / log(base)
end function
No comments:
Post a Comment