tags:

views:

110

answers:

1

Hi,

I got angle in degree as -415 degrees,

i have converted it into radian as

float degreeValue = -415

float radianValue = degreeValue * pi / 180.0; 

here i got as -0.7(round off)

how to convert again into degree to get same value of angle in degrees.

+3  A: 
float degreeValue = radianValue * 180.0 / pi;

(and you probably meant -7.24 radian and not -0.7 for -415 degrees)

adamk
+1 for taking hte time to explain this.
andand
I would guess OP meant -41.5 degrees, given one usually uses the range (-180,180]
chrispy