Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/WaterlevelExporter.java @ 5425:a137cbab32a8
Fix for flys/issue1130 (decimals in result display).
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 26 Mar 2013 12:26:48 +0100 |
parents | 05eeedc5b156 |
children | 7b1c5fe4ebf3 |
comparison
equal
deleted
inserted
replaced
5424:657392b30bb4 | 5425:a137cbab32a8 |
---|---|
565 | 565 |
566 // Check if there has been W input per Gauge and use it. | 566 // Check if there has been W input per Gauge and use it. |
567 if (segments != null) { | 567 if (segments != null) { |
568 for (Segment segment: segments) { | 568 for (Segment segment: segments) { |
569 if (segment.inside(result[2])) { | 569 if (segment.inside(result[2])) { |
570 colDesc = "" + segment.getValues()[0]; | 570 NumberFormat nf = |
571 Formatter.getFormatter(context.getMeta() , 0, 0); | |
572 colDesc = nf.format(segment.getValues()[0]); | |
571 } | 573 } |
572 } | 574 } |
573 } | 575 } |
574 | 576 |
575 if (atGauge) { | 577 if (atGauge) { |