# HG changeset patch # User Andre Heinecke # Date 1379338206 -7200 # Node ID 5eb8b9ae44845a5432f9af08a4e05182e3fd17c1 # Parent a2d61401bd92a3b77abab835b59562f0ccd10e4f (issue1071) Change format for paramter a again diff -r a2d61401bd92 -r 5eb8b9ae4484 artifacts/src/main/java/org/dive4elements/river/utils/Formatter.java --- 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);