List of usage examples for java.lang StrictMath ceil
public static double ceil(double a)
From source file:Main.java
public static void main(String[] args) { double d1 = 1.2, d2 = 3.4, d3 = 6.5; System.out.println("Ceil value of " + d1 + " = " + StrictMath.ceil(d1)); System.out.println("Ceil value of " + d2 + " = " + StrictMath.ceil(d2)); System.out.println("Ceil value of " + d3 + " = " + StrictMath.ceil(d3)); }