3:50 pm - Friday February 19, 7571

Math Example Program for ceil(double a)

CANDID INDUSTRIAL TRAINING -- CHENNAI
Corporate Training for Experienced Candidate
Struts | Hibernate | Spring | Java / J2EE
SOAP | RestFull | Design Pattern | more...
Ph: +91 72000 69003
137b, 2nd st, shanthi nagar, Chrompet, Chennai -600044

/**
*@author: candidjava.com
*@description: Math Example Program for ceil(double a)
*/
import java.lang.Math;

public class Example {
public static void main(String[] args) {
double a = 10.05;
System.out
.println("The ceil example program output is:" + Math.ceil(a));
}
}




OUTPUT
The ceil example program output is:11

Filed in: Z-A All Java Codes

Comments are closed.