Java examples for java.lang:Math Radian
Radian to Degree
//package com.java2s; public class Main { public static void main(String[] argv) throws Exception { double rad = 2.45678; System.out.println(Rad2Deg(rad)); }// ww w.ja v a2 s. co m public static double Rad2Deg(double rad) { return (rad * 180d / Math.PI); } }