asin

Returns the arc sine of a number stored in number.

An error occurs if number is not a valid decimal or has an absolute value greater than 1.

Syntax

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

Returns

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

Example

In this example, the result of asin is "0.523599".

   <field sid="arcsinField">
      <label>Test asin()</label>
      <format>
         <datatype>string</datatype>
         <constraints>
            <mandatory>on</mandatory>
         </constraints>
      </format>
      <value compute="asin('0.5')"></value>
   </field>