Java tutorial
//package com.java2s; public class Main { /** * <p>This function converts radians to decimal degrees.</p> * * @param rad - the radian to convert * @return the radian converted to decimal degrees */ private static final double rad2deg(double rad) { return (rad * 180 / Math.PI); } }