ATAN function
This topic describes the formula syntax and usage of the ATAN function in the Data Quality Execute Formula transform
Description
Returns the arctangent, or inverse tangent, of a number. The arctangent is the angle whose tangent is number. The returned angle is given in radians in the range -π/2 to π/2.
Tip: If you want to convert the result from radians to degrees, multiply it by
180/PI()
or use the DEGREES
function.Syntax
ATAN(number)
The ATAN
function syntax has the following arguments:
number
Required. The tangent of an angle.
Example
Data: 1 in Tangent field.
Formula | Description | Result |
---|---|---|
ATAN([Tangent]) |
Arctangent of 1 in radians, π/4 | 2.094395102 |
ATAN([Tangent])*180/PI() |
Arctangent of 1 in degrees | 120 |
DEGREES(ATAN(ATAN([Tangent])) |
Arctangent of 1 in degrees | 120 |