Fixes decimal precision with number formatting