🇭🇺

Hungary Number Format

CLDR Locale:
ISO: HU / HUNRegion: EuropeDigits: western

Try It — Live Preview

Number
1 234 567,89
Currency (HUF)
1 234 568 Ft
Percentage
1 234 568%
Compact
1,2 M

Format Rules

Decimal Separator
,comma
Thousands Separator
·narrow no-break space
Grouping Pattern
3
Negative Format
-1 234 567,89
Currency Symbol
Ft (HUF)
Currency Position
After number with space → 1 234 567,89 Ft
Percent Position
After number with space → 13%
Zero
0,00
Compact
1,2 M

Hungary formatting implementation notes

For Hungary, format numbers with the explicit locale hu-HU; the reference value 1234567.89 renders as 1 234 567,89.

Hungary's reference format uses "," as the decimal mark and a narrow non-breaking space (U+202F) for grouping. The integer uses repeating groups of three digits. Pass "hu-HU" directly to Intl.NumberFormat instead of replacing punctuation in a preformatted string.

HUF is shown with Ft after the amount with a separating space; the same reference value renders as 1 234 567,89 Ft. The percent sign appears after the amount with a separating space. Use the ISO currency code for storage and interchange because a visible symbol can be shared by unrelated currencies.

Western 0–9 digits are the page's reference digit system, and the negative pattern is -n. Treat hu-HU as the reference locale for this page, but still respect the user's explicitly selected language and numbering-system preferences. Validate output with formatToParts() when spacing, signs, or bidirectional literals affect the interface.

  • Locale: hu-HU
  • Decimal and grouping: 1 234 567,89
  • Currency: HUF → 1 234 567,89 Ft
  • Digits: Western 0–9 digits

Reviewed 19 July 2026. Sources: Unicode locale number formats · Intl.NumberFormat reference

What's different here

  • Decimal mark is a comma (,) (en-US uses a period (.)).
  • Thousands are grouped with a narrow no-break space (U+202F) (en-US uses a comma (,)).
  • The currency symbol goes after the amount with a space (en-US: immediately before the amount).
  • The percent sign goes after the number with a space (en-US: immediately after the number).
  • Uses the same number pattern (decimal mark, grouping, symbol and percent placement) as France, Belgium, Portugal, Finland, Czech Republic and Slovakia in Europe, plus 2 pages in other regions.
  • Nearby differences: Germany (de-DE) groups with a period (.) instead of a narrow no-break space (U+202F); Sweden (sv-SE) groups with a no-break space (U+00A0) instead of a narrow no-break space (U+202F); Norway (nb-NO) groups with a no-break space (U+00A0) instead of a narrow no-break space (U+202F); Denmark (da-DK) groups with a period (.) instead of a narrow no-break space (U+202F).
  • Currency: HUF has ISO minor unit 2.
  • The grouping character is a narrow no-break space (U+202F), not a regular space. Normalise it before parsing user input or comparing strings.
  • Postal address order: name → building → city → street + street number → postcode → country. See address formats.

Code Examples

// Basic number
new Intl.NumberFormat('hu-HU').format(1234567.89)
// → "1 234 567,89"

// Currency
new Intl.NumberFormat('hu-HU', {
  style: 'currency',
  currency: 'HUF'
}).format(1234567.89)
// → "1 234 567,89 Ft"

// Percentage
new Intl.NumberFormat('hu-HU', {
  style: 'percent',
  minimumFractionDigits: 1
}).format(0.125)

// Compact notation
new Intl.NumberFormat('hu-HU', {
  notation: 'compact'
}).format(1234567)

Negative Number Formats

Standard-1 234 567,89
new Intl.NumberFormat('hu-HU').format(-1234567.89)
Accounting style-1 234 568 Ft
new Intl.NumberFormat('hu-HU', { style: 'currency', currency: 'HUF', currencySign: 'accounting' }).format(-1234567.89)