Fix the decimal digits conversion issue