change To from degree Radian - Android java.lang

Android examples for java.lang:Math Trigonometric Function

Description

change To from degree Radian

Demo Code


//package com.java2s;

public class Main {

    public static double changeToRad(double angle) {
        return angle / 180 * Math.PI;
    }/*from  ww w  .j av  a 2 s  .c o  m*/
}

Related Tutorials