Fixed bug on Log10(999)