Atn - Built-in Arithmetic Function¶
Purpose¶
Atn returns the arctangent (the inverse tangent function) of a number in the range –π/2 to π/2 radians. All results are in radians.
Syntax¶
Atn(num)
Arguments¶
| Argument | Required | Description |
|---|---|---|
num |
Yes | Any numeric expression |
Returns¶
Number
Example¶
Return (4 * Atn(1)) // returns 3.14 (when the field has a 2 decimal format)
Notes¶
- When
numcannot be converted to a number, a runtime error is generated.