History log of /AOO42X/main/svl/qa/complex/numberformatter/NumberFormatterUnitTest.java (Results 1 – 2 of 2)
Revision Date Author Comments
# b0efeae4 21-Jul-2025 John Bampton <jbampton@users.noreply.github.com>

pre-commit auto remove trailing whitespace from java files (#382)

A another big huge auto white space clean up.

(cherry picked from commit 3309286857f19787ae62bd793a98b5af4edd2ad3)


# 529e2ed3 12-Jun-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. Wi

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)

show more ...