Online Java Compiler By
JavaTpoint.com
public class CeilExample4 { public static void main(String[] args) { double x = 0.0; // Input positive zero, Output positive zero System.out.println(Math.ceil(x)); } }
Output