changeset 4940:450840751f1b

Fixed AT exporter: Do not multiply W with factor 100.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 31 Jan 2013 14:45:38 +0100
parents c9d8b9b4895d
children 04c68af45534
files flys-artifacts/src/main/java/de/intevation/flys/exports/ATWriter.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/ATWriter.java	Thu Jan 31 14:32:51 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/ATWriter.java	Thu Jan 31 14:45:38 2013 +0100
@@ -156,7 +156,7 @@
         int col = 0;
         for (double w = startW; w <= maxW; w += 0.01) {
             if (col == 0) {
-                out.printf(Locale.US, "%8d", (int)Math.round(w*100.0));
+                out.printf(Locale.US, "%8d", (int)Math.round(w));
             }
 
             if (w < minW) {

http://dive4elements.wald.intevation.org