Fixed toDecimal many decimal places bug