Here you can find the source of rad2deg(double rad)
Parameter | Description |
---|---|
rad | a parameter |
private static double rad2deg(double rad)
//package com.java2s; //License from project: Open Source License public class Main { /**//from w w w. j av a 2 s.com * Converts radian to degree * * @param rad * @return degree */ private static double rad2deg(double rad) { return (rad * 180 / Math.PI); } }