Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/ATWriter.java @ 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 | b878dce3a671 |
children | 04c68af45534 |
comparison
equal
deleted
inserted
replaced
4939:c9d8b9b4895d | 4940:450840751f1b |
---|---|
154 } | 154 } |
155 | 155 |
156 int col = 0; | 156 int col = 0; |
157 for (double w = startW; w <= maxW; w += 0.01) { | 157 for (double w = startW; w <= maxW; w += 0.01) { |
158 if (col == 0) { | 158 if (col == 0) { |
159 out.printf(Locale.US, "%8d", (int)Math.round(w*100.0)); | 159 out.printf(Locale.US, "%8d", (int)Math.round(w)); |
160 } | 160 } |
161 | 161 |
162 if (w < minW) { | 162 if (w < minW) { |
163 out.print(EMPTY); | 163 out.print(EMPTY); |
164 } | 164 } |