[Dive4elements-commits] [PATCH] Fixed AT exporter: Do not multiply W with factor 100

Wald Commits scm-commit at wald.intevation.org
Thu Jan 31 14:45:51 CET 2013


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1359639938 -3600
# Node ID 450840751f1b829b9e27c0a085d78e836e86305a
# Parent  c9d8b9b4895d7bfb67668192fc6c529716696c71
Fixed AT exporter: Do not multiply W with factor 100.

diff -r c9d8b9b4895d -r 450840751f1b flys-artifacts/src/main/java/de/intevation/flys/exports/ATWriter.java
--- 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) {


More information about the Dive4elements-commits mailing list