Mercurial > dive4elements > river
changeset 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 | a2d61401bd92 |
children | 78de3309697e |
files | artifacts/src/main/java/org/dive4elements/river/utils/Formatter.java |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
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);