Intl Exception when parse currency with symbol as suffix
Paroca72 opened this issue · 0 comments
Paroca72 commented
Hello,
Intl wrong to parse currency with symbol as suffix.
To Reproduce
If run the following code an exception will raise:
NumberFormat formatter = NumberFormat.currency(
locale: "it_IT",
name: "Euro Member Countries",
symbol: "€",
decimalDigits: 2,
);
formatter.parse("0,00 €");
Raise:
Invalid Number: 0,00 €
Intl package:
0.19.0
Thanks