History log of /trunk/main/svl/qa/complex/numberformatter/ (Results 1 - 1 of 1)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
9617871512-Jun-2024 Damjan Jovanovic

Just like we check for an initial decimal separator in ScanStartString()
when the string doesn't start with a currency symbol, check for an
initial decimal separator after the currency symbol

Just like we check for an initial decimal separator in ScanStartString()
when the string doesn't start with a currency symbol, check for an
initial decimal separator after the currency symbol too. Without this,
"$.nn" gets parsed as a text field with "$.nn" instead of a numeric field
with $0.nn.

Add a subsequent JUnit test for this too.

Fixes: https://bz.apache.org/ooo/show_bug.cgi?id=82687
- Text entry or CSV import treats $.nn as text
Patch by: me

show more ...