Use NumberFormat to properly localize numbers.