Refactor DecimalUtil