Fr

XOFWest African CFA Franc

fiat
ISO Code: XOFNumeric: 952ISO minor unit: 0Region: Africa
🇧🇯🇧🇫🇨🇮🇬🇼🇲🇱🇳🇪🇸🇳🇹🇬

Developer Note

No minor unit. Used by 8 West African countries.

Verified 2026-07-19. Primary source

How to implement XOF safely

CFA Franc BCEAO uses ISO 4217 alpha code XOF and numeric code 952.

XOF appears in the current ISO 4217 list published 2026-01-01. XOF has ISO minor unit 0, so the standard currency formatter normally displays no fractional digits. Configure Intl.NumberFormat with currency: "XOF"; do not hardcode the symbol or assume every currency uses two decimals.

Fr is the reference symbol in this dataset. Store XOF alongside the amount so exports, payments, and accounting data remain unambiguous. Format for display only after choosing the user's locale, because symbol placement and separators belong to the locale rather than the currency record.

This site's coverage associates XOF with 8 countries or territories (BJ, BF, CI, GW, ML, NE, SN, TG). Region and language still need separate locale selection; the currency code alone does not choose punctuation or digit shapes. The record was checked against the SIX ISO 4217 source on 2026-07-19; recheck status-sensitive records when the Maintenance Agency publishes a new list.

  • Status: active
  • Numeric code: 952
  • ISO minor unit: 0
  • Verified: 2026-07-19

Reviewed 19 July 2026. Sources: SIX ISO 4217 current list

Formatting Examples

Valueen-US
1F CFA 1
9.99F CFA 10
100F CFA 100
1234.56F CFA 1,235
1000000F CFA 1,000,000

Intl.NumberFormat

JavaScript
// Basic XOF formatting
new Intl.NumberFormat('en-US', {
  style: 'currency',
  currency: 'XOF',
}).format(1234.00);
// → "F CFA 1,234"

// Minimum/maximum fraction digits
new Intl.NumberFormat('en-US', {
  style: 'currency',
  currency: 'XOF',
  minimumFractionDigits: 0,
  maximumFractionDigits: 0,
}).format(99);
// Example display precision: 0 decimal places
// ISO 4217 minor unit: 0

// Integer minor-unit storage
// XOF amount = value × 1