There's a built-in function called Math.toDegrees(double) that you could call on your number to convert it into degrees. Does that work for you?
There's also a Math.toRadians(double) function as well.
http://docs.oracle.com/javase/7/docs/api/java/lang/Math.html