Home
last modified time | relevance | path

Searched hist:"529 e2ed3" (Results 1 – 3 of 3) sorted by relevance

/aoo42x/main/svl/qa/complex/numberformatter/
H A DNumberFormatterUnitTest.java529e2ed3 Wed Jun 12 15:39:30 UTC 2024 Damjan Jovanovic <damjan@apache.org> 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

(cherry picked from commit 96178715f486e8815def398176cafa748d3cbb73)
/aoo42x/main/svl/
H A DJunitTest_svl_complex.mkdiff 529e2ed3 Wed Jun 12 15:39:30 UTC 2024 Damjan Jovanovic <damjan@apache.org> 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

(cherry picked from commit 96178715f486e8815def398176cafa748d3cbb73)
/aoo42x/main/svl/source/numbers/
H A Dzforfind.cxxdiff 529e2ed3 Wed Jun 12 15:39:30 UTC 2024 Damjan Jovanovic <damjan@apache.org> 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

(cherry picked from commit 96178715f486e8815def398176cafa748d3cbb73)

Completed in 30 milliseconds