Android examples for java.lang:Math Trigonometric Function
Radians To Degrees
//package com.java2s; public class Main { public static final float FLOAT_PI = (float) Math.PI; public static float RadiansToDegrees(float radians) { return (radians * 180f) / FLOAT_PI; }// w ww . jav a 2s . co m }