The power of a number can be calculated, using a simple VBScript code through the "Run VbScript" Action.


The following code can be used:


Wscript.Echo %Number% ^ %X%


Base -> %Number%

Exponent = %X%


Note: The variables %Number% and %X% are variables that have been already defined.


The result of the "Run VBScript" Action is stored into the text variable %VBScriptOutput%. That variable has by default an empty row at the end (after the result).


So, a "Trim Text" Action would be useful to remove that empty row.