power() Function

Function

power( base, exponent )

Returns the base number raised to the specified exponent.

Parameters

Keyword Type Description

base

Decimal

The base for exponentiation.

exponent

Decimal

The power that the base will be raised to.

Returns

Decimal

Usage considerations

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, Jun 24, 2022 (02:12:05 PM)

On This Page

FEEDBACK