2:22 am - Friday April 19, 2019

Math Example Program for toDegrees(double angrad)

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
//program to Math Example Program for toDegrees(double angrad)
/**
 *@ author:candid.java @ description:find value of double representation in
 * degrees
 **/
public class ToDegree {
	public static void main(String args[]) {
		double value = 90.5638;// assigns double value

		System.out.println("representation of degree values");
		System.out.println(Math.toDegrees(value));
		// converts double value to degree

	}
}

output:
representation of degree values
5188.92351

Filed in: Z-A All Java Codes

Comments are closed.