The power() Function
Release 2.0 - ...
Syntax
Copy Code | |
---|---|
number power(number, number) |
Description
Raises the first argument to the power of the second argument, returning the result. If the calculation does not result in a real number, then NaN is returned.
Example
XML | Copy Code |
---|---|
<xforms:output value="power(2,3)"> <xforms:label>power(2,3) : </xforms:label> </xforms:output> |
The above example will return 8.
Specification
Link to the XForms specification: the power() function.