degrees To Radians - Android java.lang

Android examples for java.lang:Math Trigonometric Function

Description

degrees To Radians

Demo Code


//package com.java2s;

public class Main {
    public static double degreesToRadians(double degrees) {
        return (degrees * Math.PI / 180.0);
    }//from   w  ww  . ja  v a  2  s .  co  m
}

Related Tutorials