🇷🇸

Serbia Number Format

CLDR Locale:
ISO: RS / SRBRegion: EuropeDigits: western

Try It — Live Preview

Number
1.234.567,89
Currency (RSD)
1.234.567,89 RSD
Percentage
1.234.568%
Compact
1,2 мил.

Format Rules

Decimal Separator
,comma
Thousands Separator
.period
Grouping Pattern
3
Negative Format
-1.234.567,89
Currency Symbol
din. (RSD)
Currency Position
After number with space 1.234.567,89 din.
Percent Position
After number with space 13%
Zero
0,00
Compact
1,2 мил.

Serbia formatting implementation notes

For Serbia, format numbers with the explicit locale sr-RS; the reference value 1234567.89 renders as 1.234.567,89.

Serbia's reference format uses "," as the decimal mark and period (".") for grouping. The integer uses repeating groups of three digits. Pass "sr-RS" directly to Intl.NumberFormat instead of replacing punctuation in a preformatted string.

RSD is shown with din. after the amount with a separating space; the same reference value renders as 1.234.567,89 din.. 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 sr-RS 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: sr-RS
  • Decimal and grouping: 1.234.567,89
  • Currency: RSD → 1.234.567,89 din.
  • Digits: Western 0–9 digits

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

Code Examples

// Basic number
new Intl.NumberFormat('sr-RS').format(1234567.89)
// → "1.234.567,89"

// Currency
new Intl.NumberFormat('sr-RS', {
  style: 'currency',
  currency: 'RSD'
}).format(1234567.89)
// → "1.234.567,89 din."

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

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

Negative Number Formats

Standard-1.234.567,89
new Intl.NumberFormat('sr-RS').format(-1234567.89)
Accounting style(1.234.567,89 RSD)
new Intl.NumberFormat('sr-RS', { style: 'currency', currency: 'RSD', currencySign: 'accounting' }).format(-1234567.89)