Make sense yet? What's the final result? That's right. Add 270.
I know I'm replying to an old post but this answer is just wrong I think.
The original results would give if:
north=90
west=180 or -180
south= -90
east= 0
adding 270 gives:
north=360
west=450 or 90
south=180
east=270
the only result I can think of that would be usefull is:
north=0 or 360
east or west=270
south=180
east or west=90
edit: This gives the right answer if the original answer was "polar":
int nonPolar= 90-((polar+180)%360)
if(nonPolar<0)
{
nonPolar=nonPolar+360;
}


