🇵🇪

Peru Number Format

CLDR Locale:
ISO: PE / PERRegion: AmericasDigits: western

Try It — Live Preview

Number
1,234,567.89
Currency (PEN)
S/ 1,234,567.89
Percentage
1,234,568%
Compact
1.2 M

Format Rules

Decimal Separator
.period
Thousands Separator
,comma
Grouping Pattern
3
Negative Format
-1,234,567.89
Currency Symbol
S/. (PEN)
Currency Position
Before number S/. 1,234,567.89
Percent Position
After number 13%
Zero
0.00
Compact
1.2 M

Peru formatting implementation notes

For Peru, format numbers with the explicit locale es-PE; the reference value 1234567.89 renders as 1,234,567.89.

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

PEN is shown with S/. immediately before the amount; the same reference value renders as S/. 1,234,567.89. The percent sign appears immediately after the amount. 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 es-PE 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: es-PE
  • Decimal and grouping: 1,234,567.89
  • Currency: PEN → S/. 1,234,567.89
  • Digits: Western 0–9 digits

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

Code Examples

// Basic number
new Intl.NumberFormat('es-PE').format(1234567.89)
// → "1,234,567.89"

// Currency
new Intl.NumberFormat('es-PE', {
  style: 'currency',
  currency: 'PEN'
}).format(1234567.89)
// → "S/. 1,234,567.89"

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

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

Negative Number Formats

Standard-1,234,567.89
new Intl.NumberFormat('es-PE').format(-1234567.89)
Accounting style-S/ 1,234,567.89
new Intl.NumberFormat('es-PE', { style: 'currency', currency: 'PEN', currencySign: 'accounting' }).format(-1234567.89)