comparison flys-artifacts/src/main/java/de/intevation/flys/utils/DoubleUtil.java @ 5150:345f3bba6f15

Doc fixes.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 01 Mar 2013 09:51:43 +0100
parents 5f70c73b11ed
children 240ff7aeb6de
comparison
equal deleted inserted replaced
5149:3b58bb0c55e3 5150:345f3bba6f15
29 29
30 public static final double round(double x) { 30 public static final double round(double x) {
31 return Math.round(x * DEFAULT_STEP_PRECISION)/DEFAULT_STEP_PRECISION; 31 return Math.round(x * DEFAULT_STEP_PRECISION)/DEFAULT_STEP_PRECISION;
32 } 32 }
33 33
34 /**
35 * Returns array with values from parameter from to to with given step width.
36 * from and to are included.
37 */
34 public static final double [] explode( 38 public static final double [] explode(
35 double from, 39 double from,
36 double to, 40 double to,
37 double step, 41 double step,
38 double precision 42 double precision

http://dive4elements.wald.intevation.org