Java Angle to Degree toDegrees(float angle)

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

Description

to Degrees

License

Open Source License

Declaration

public static float toDegrees(float angle) 

Method Source Code

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

public class Main {
    public static float toDegrees(float angle) {
        return (float) 180 / (float) Math.PI * angle;
    }/*from w  w w  .java  2  s .  c o  m*/
}

Related

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