Post Reply 
Set my calculations to radians
07-07-2022, 02:28 PM
Post: #1
Set my calculations to radians
I have the atan2 function as:

atan2(y,x)
BEGIN
RETURN ARG(x+i*y);
END;

How can I set the mode to radians or decimal from the code?
Find all posts by this user
Quote this message in a reply
07-07-2022, 04:51 PM
Post: #2
RE: Set my calculations to radians
HAngle:=0; // radians
HAngle:=1; // degrees
HAngle:=2; // gradians
Find all posts by this user
Quote this message in a reply
07-07-2022, 05:10 PM
Post: #3
RE: Set my calculations to radians
Or, without changing default setting

AAngle := 0 // Home setting
AAngle := 1 // radians
AAngle := 2 // degrees
AAngle := 3 // gradians
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)