Power

Calculate a base number raised to a specified power, or exponent.

Input

Field Definition Type Required
base Numerical value raised to a specified exponent. Number TRUE
exponent Numerical value to which to raise a specified base number. An exponent specifies the number of times that a base number is multiplied by itself. Number TRUE

Output

Field Definition Type
output Calculated result of a specified base and exponent. Number

Example

If base is 2 and exponent is 3, then the output is 8 (2 * 2 * 2 = 8).

Related topics

Functions in Workflows

About the elements of Okta Workflows