Returns the exponentiation of the number represented in number. For example,number.
An error occurs if number is not a valid decimal.
exp(number)
Parameter | Type | Description |
---|---|---|
number | Decimal number | Any decimal number |
A string containing the exponentiation of the number, or null if an error occurs.
wIn 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>