atan
This function is used by Ignition's Expression language.
Description​
Returns the arc tangent of a number, which must be a number. The results will be an angle expressed in radians in the range of -pi/2 through pi/2
Syntax​
atan(number)
Parameters​
Type | Parameter | Description |
---|---|---|
Float | number | The number to get the arc tangent of. |
Results​
Float - The arc tangent of the value provided.
Examples​
Code Snippet
atan(.38) //returns 0.3631