HP Forums

Full Version: Set my calculations to radians
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have the atan2 function as:

RETURN ARG(x+i*y);

How can I set the mode to radians or decimal from the code?
HAngle:=0; // radians
HAngle:=1; // degrees
HAngle:=2; // gradians
Or, without changing default setting

AAngle := 0 // Home setting
AAngle := 1 // radians
AAngle := 2 // degrees
AAngle := 3 // gradians
Reference URL's