Here you can find the source of toDegrees(Double rad)
public static Double toDegrees(Double rad)
//package com.java2s; //License from project: Open Source License public class Main { public static Double toDegrees(Double rad) { if (rad == null) { return null; }// ww w. j av a 2 s . c om return Math.toDegrees(rad); } }