Convert degree to radians - Android java.lang

Android examples for java.lang:Math Trigonometric Function

Description

Convert degree to radians

Demo Code

public class Main{

    private static double rad(double d) {
        return d * Math.PI / 180.0;
    }//  w  ww  . java 2 s .c  om

}

Related Tutorials