diff artifacts/src/main/java/org/dive4elements/river/utils/Formatter.java @ 7020:5eb8b9ae4484

(issue1071) Change format for paramter a again
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 16 Sep 2013 15:30:06 +0200
parents c6c3a2a26a33
children b5e9b8b5c8d6
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/utils/Formatter.java	Mon Sep 16 12:51:22 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/utils/Formatter.java	Mon Sep 16 15:30:06 2013 +0200
@@ -94,8 +94,8 @@
     // SQ Relation
     public static final int SQ_RELATION_KM_MIN_DIGITS = 2;
     public static final int SQ_RELATION_KM_MAX_DIGITS = 2;
-    public static final int SQ_RELATION_A_MAX_DIGITS  = 7;
-    public static final int SQ_RELATION_A_MIN_DIGITS  = 7;
+    public static final int SQ_RELATION_A_MAX_DIGITS  = 2;
+    public static final int SQ_RELATION_A_MIN_DIGITS  = 2;
     public static final int SQ_RELATION_B_MAX_DIGITS  = 3;
     public static final int SQ_RELATION_B_MIN_DIGITS  = 3;
 
@@ -442,7 +442,7 @@
     }
 
     public static NumberFormat getSQRelationA(CallContext context) {
-        return getFormatter(
+        return getScientificFormater(
                 context,
                 SQ_RELATION_A_MIN_DIGITS,
                 SQ_RELATION_A_MAX_DIGITS);

http://dive4elements.wald.intevation.org