Android examples for java.lang:Math Trigonometric Function
Converts an angle measured in degrees to the equivalent angle measured in radians
//package com.java2s; public class Main { /**//from www . j av a 2 s . c o m * Converts an angle measured in degrees to the equivalent angle measured in radians * @param angleDegrees The angle measured in degrees * @return The equivalent angle measured in radians */ public static double degreesToRadians(double angleDegrees) { return Math.toRadians(angleDegrees); } }