aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/util/TestStringUtil.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcases/org/apache/poi/util/TestStringUtil.java')
-rw-r--r--src/testcases/org/apache/poi/util/TestStringUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testcases/org/apache/poi/util/TestStringUtil.java b/src/testcases/org/apache/poi/util/TestStringUtil.java
index 04c03d93e8..fcef5bd17a 100644
--- a/src/testcases/org/apache/poi/util/TestStringUtil.java
+++ b/src/testcases/org/apache/poi/util/TestStringUtil.java
@@ -144,7 +144,7 @@ public final class TestStringUtil extends TestCase {
}
private static String fmt(double num, int minIntDigits, int maxFracDigitis) {
- NumberFormat nf = NumberFormat.getInstance();
+ NumberFormat nf = NumberFormat.getInstance(LocaleUtil.getUserLocale());
if (minIntDigits != -1) {
nf.setMinimumIntegerDigits(minIntDigits);