degree to rad - Android java.lang

Android examples for java.lang:Math Convert

Description

degree to rad

Demo Code


//package com.java2s;

public class Main {
    private static double deg2rad(double deg) {
        return (deg * Math.PI / 180.0);
    }/*from   w  ww  . j ava  2 s  . co m*/
}

Related Tutorials