Android examples for java.lang:Math Trigonometric Function
Convert degree to radians
public class Main{ private static double rad(double d) { return d * Math.PI / 180.0; }// w ww . java 2 s .c om }