Hi, I have tried using the parser on a lot of data and have found a issue with a very specific case of the parser.
description of issue
When using the localized method with french locale if the decimal is followed by the letters "e" or "d" (with or without spaces) the localization method produces 0, most other non-numeric I have tried work.
Parsing the strings "0,29", "0,29 per unit", "0,29 oioioioio" all produce "0,29" which is fine
The string "0,28889 euros per unit" produce "0.000" which is unexpected
what is expected I'd expect
I would expect parsing the string "0,28889 euros per unit" produce "0.28889"
ps: there is also a rounding issue but we should perhaps leave this out of this issue
Hi, I have tried using the parser on a lot of data and have found a issue with a very specific case of the parser.
description of issue
When using the localized method with french locale if the decimal is followed by the letters "e" or "d" (with or without spaces) the localization method produces 0, most other non-numeric I have tried work.
steps to reproduce
see code below
Parsing the strings "0,29", "0,29 per unit", "0,29 oioioioio" all produce "0,29" which is fine The string "0,28889 euros per unit" produce "0.000" which is unexpected
what is expected I'd expect
I would expect parsing the string "0,28889 euros per unit" produce "0.28889"
ps: there is also a rounding issue but we should perhaps leave this out of this issue