Java Angle to Degree toDegrees(Short angrad)

Here you can find the source of toDegrees(Short angrad)

Description

To degrees.

License

Open Source License

Parameter

Parameter Description
angrad the angrad

Return

the double

Declaration

public static double toDegrees(Short angrad) 

Method Source Code

//package com.java2s;

public class Main {
    /**/*from w  ww . jav a  2 s.co  m*/
     * To degrees.
     *
     * @param angrad the angrad
     * @return the double
     */
    public static double toDegrees(Short angrad) {
        return Math.toDegrees(angrad.doubleValue());
    }

    /**
     * To degrees.
     *
     * @param angrad the angrad
     * @return the double
     */
    public static double toDegrees(Integer angrad) {
        return Math.toDegrees(angrad.doubleValue());
    }

    /**
     * To degrees.
     *
     * @param angrad the angrad
     * @return the double
     */
    public static double toDegrees(Float angrad) {
        return Math.toDegrees(angrad.doubleValue());
    }

    /**
     * To degrees.
     *
     * @param angrad the angrad
     * @return the double
     */
    public static double toDegrees(Long angrad) {
        return Math.toDegrees(angrad.doubleValue());
    }

    /**
     * To degrees.
     *
     * @param angrad the angrad
     * @return the double
     */
    public static double toDegrees(Double angrad) {
        return Math.toDegrees(angrad);
    }
}

Related

  1. toDegree(double angle)
  2. toDegrees(final double angle)
  3. toDegrees(float angle)
  4. toDegrees(int val)