power() Function

Returns the base number raised to the specified exponent.

Syntax

power( base, exponent)

base: (Decimal) The base for exponentiation.

exponent: (Decimal) The power that the base will be raised to.

Returns

Decimal

Notes

If all parameter values are integers, the function will return an integer.

Examples

power(1.2,3) returns 1.728

Open in Github Built: Fri, Nov 04, 2022 (07:10:52 PM)

On This Page

FEEDBACK