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: Wed, Aug 17, 2022 (01:05:05 PM)

On This Page

FEEDBACK