Android Radian to Degree Convert toDegrees(float rad)

Here you can find the source of toDegrees(float rad)

Description

Returns the given radians to degrees

Declaration

public static float toDegrees(float rad) 

Method Source Code

//package com.java2s;

public class Main {
    /**/*from  ww  w . ja  v  a2  s  .c  om*/
     * Convert Radians to Degrees.
     */
    public static final float TO_DEGREES = 57.2957795f;

    /**
     * Returns the given radians to degrees
     */
    public static float toDegrees(float rad) {
        return rad * TO_DEGREES;
    }
}

Related

  1. rad2deg(double rad)