Returns the arc tangent of a number stored in .
An error occurs if number is not a valid decimal.
atan(number)
Parameter | Type | Description |
---|---|---|
number | Decimal number | Any decimal number |
A string containing the arc tangent, or null if an error occurs.
In this example, the result of atan is "0.463648".
<field sid="arctangentField">
<label>Test atan()</label>
<format>
<datatype>string</datatype>
<constraints>
<mandatory>on</mandatory>
</constraints>
</format>
<value compute="atan('0.5')"></value>
</field>