Fix the scaling issue for decimals > 2.

The issue is most visible for large `decimals`, say, 6. It should scale by 10^6 instead of 60 :)