Replacement for Math.log10 as it is "experimental"!