Math.ceil(double); //올림Math.floor(double); //버림Math.round(double); Math.round(flaot); //반올림 double d = 100d/8d; System.out.println( d );System.out.println(Math.ceil( d ));System.out.println(Math.floor( d ));System.out.println(Math.round( d )); --결과--12.513.012.013