Use NumberFormat instead of String.format