Here you can find the source of toRadians(double angdeg)
Parameter | Description |
---|---|
angdeg | an angle, in degrees |
public static double toRadians(double angdeg)
//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); } }