globalizejs / globalizejs/globalize
Currency Format issue in French (2)
- Dominant language
- JavaScript
- Stars
- 4.8k
- Forks
- 585
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
When i format a amount in french like that
```
Globalize.locale('fr');
Globalize.currencyFormatter("EUR", { compact: "short", symbolForm: "narrow", minimumFractionDigits: 0, maximumFractionDigits: 2 })
```
i get "3,78 M €"
The issue is the blank space between "M" and "€"
I would like to get "3,78 M€".
I managed to handle CLDR data by overwriting it. However, nothing happens if I change [this line](https://github.com/unicode-cldr/cldr-numbers-full/blob/master/main/fr/numbers.json#L120).
I get closer to the result if I change [this line](https://github.com/unicode-cldr/cldr-numbers-full/blob/23c17f05023c33c1a25a4527f1f76fe756d231f8/main/fr/numbers.json#L109). Strangely, something happens if I change [this line](https://github.com/unicode-cldr/cldr-numbers-full/blob/23c17f05023c33c1a25a4527f1f76fe756d231f8/main/fr/numbers.json#L70), using a currency formatter.
Is there a way to force the use of "currencyFormats-numberSystem-latn/short/standard/..." ?
Thank you by advance.
_Originally posted by @geffkas in https://github.com/globalizejs/globalize/issues/873#issuecomment-529533947_
Contributor guide
Assessment
This issue has not been assessed yet.