in reply to Get logarithm of base 10

As an alternative to the techniques already mentioned, you could always use POSIX 'log10'; (assuming that's not too easy ;-).



If God had meant us to fly, he would *never* have given us the railroads.
    --Michael Flanders