exp

Returns the exponentiation of the number represented in number. For example,number.

An error occurs if number is not a valid decimal.

Syntax

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

Returns

A string containing the exponentiation of the number, or null if an error occurs.

w

Example

In this example, the result of exp is "20.855369".

   <field sid="expTestField">
      <label>Test exp()</label>
      <format>
         <datatype>string</datatype>
         <constraints>
            <mandatory>on</mandatory>
         </constraints>
      </format>
      <value compute="exp('3')"></value>
   </field>