]> git.somenet.org - pub/jan/lsdc.git/blob - src/at/ac/tuwien/lsdc/util/NumberUtils.java
Merge branch 'master' of ssh://dev.somenet.org:666/tu/lsdc
[pub/jan/lsdc.git] / src / at / ac / tuwien / lsdc / util / NumberUtils.java
1 package at.ac.tuwien.lsdc.util;
2
3 import org.slf4j.Logger;
4 import org.slf4j.LoggerFactory;
5
6 public class NumberUtils {
7
8         private static final Logger LOG = LoggerFactory.getLogger(NumberUtils.class);
9         
10         public static double roundDouble(double val) {
11                 return Math.floor(val * 100) / 100;
12         }
13         
14 }