Android examples for java.lang:Math Trigonometric Function
change Angle To Single
//package com.java2s; public class Main { public static float changeAngleToSingle(float angle) { while (angle >= 360) { angle -= 360;//from w w w.ja v a2 s . com } while (angle < 0) { angle += 360; } return angle; } }