log10() is part of math.h. Is there a reason you cannot use that?
I've not used that library before, I checked the language reference page Arduino - Home, I didn't think of checking for a library.
I'll flush my head down the loo a couple of times to punish myself!
Thanks guys!