Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/lazy-donuts-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@commercetools-frontend/l10n': minor
---

In order to support both versions of the same currency with different fraction digits, these changes:

- Extend generated currency locale data to include fractionDigits (decimal precision) for each currency, sourced from currencymap.json.
- Introduce ZERO_FRACTION_DIGITS_CURRENCY_MAPPING to define which base currencies should have an explicit 0-fraction-digit variant.
Loading
Loading