In this example we will show you how to use math.ceil() in Java.
Source Code
package com.beginner.examples;
public class Ceil {
public static void main(String[] args){
System.out.println(Math.ceil(11.3));; // use math.Ceil()
}
}
Output:
12.0