Java Radian From toRadians(double angdeg)

Here you can find the source of toRadians(double angdeg)

Description

Converts an angle measured in degrees to an approximately equivalent angle measured in radians.

License

Open Source License

Parameter

Parameter Description
angdeg an angle, in degrees

Return

the measurement of the angle angdeg in radians

Declaration

public static double toRadians(double angdeg) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    /**/*ww  w  . ja v a  2 s. c  om*/
     * Converts an angle measured in degrees to an approximately equivalent
     * angle measured in radians. The conversion from degrees to radians is
     * generally inexact.
     *
     * @param angdeg an angle, in degrees
     * @return the measurement of the angle {@code angdeg} in radians
     */
    public static double toRadians(double angdeg) {
        return Math.toRadians(angdeg);
    }
}

Related

  1. toRad(double angle)
  2. toRad(float angle)
  3. toRadian(double ddd_dddd)
  4. toRadian(int a)
  5. toRadians(double angle)
  6. toRadians(double value)
  7. toRadians(double x)
  8. toRadians(final double value)