POWER: Raising a Value to a Power

How to:

POWER raises a base value to a power.

Syntax: How to Raise a Value to a Power

POWER(base, power)

where:

base

Numeric

Is the value to raise to a power. The output value has the same data type as the base value. If the base value is integer, negative power values will result in truncation.

power

Numeric

Is the power to which to raise the base value.

Example: Raising a Base Value to a Power

Power returns the value COGS_US/20.00 raised to the power stored in DAYSDELAYED.

POWER1= POWER(COGS_US/20.00,DAYSDELAYED)

For base 12.15 and power 3, the value is 1,793.61

WebFOCUS

Feedback