Java Degree to Radian degToRad(double angle)

Here you can find the source of degToRad(double angle)

Description

deg To Rad

License

LGPL

Declaration

public static double degToRad(double angle) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

public class Main {
    public static final double PI = 3.1415926535898;

    public static double degToRad(double angle) {
        return angle * (PI / 180.0);
    }/*w  w w .j ava2  s. co m*/
}

Related

  1. degrees2Radians(final double deg)
  2. DegreesToRad(double degrees)
  3. degreesToRadians(double degrees)
  4. degreesToRadians(float angleDegs)
  5. degreesToRadians(float degrees)
  6. degToRad(double deg)
  7. degToRad(double degrees)
  8. degToRad(Double secondCoordinate, Double firstCoordinate)
  9. degToRad(final double deg)