Math.ceil Method
// m-ceil1.jsl // Math.ceil example public class MyClass { public static void main(String[] args) { System.out.println("The ceil of 25.64 = " + Math.ceil(25.64)); } } /* Output: The ceil of 25.64 = 26.0 */ See Also Reference Math Class 社群新增項目 新增 ......