atan

Returns the arc tangent of a number stored in .

An error occurs if number is not a valid decimal.

Syntax

   atan(number)
Table 1. atan parameters
Parameter Type Description
number Decimal number Any decimal number

Returns

A string containing the arc tangent, or null if an error occurs.

Example

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>