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: Wed, Aug 16, 2023 (04:37:39 PM)

On This Page

FEEDBACK