fgl_decimal_power()

Raises decimal to the power of the real exponent.

Syntax

fgl_decimal_power(
      base DECIMAL,
      exp DECIMAL ) 
    RETURNING result DECIMAL
  1. base is the decimal to be raise to the power of exp.
  2. exp is the exponent.

Usage

Unlike the ** operator, the fgl_decimal_power() function supports real numbers for the exponent.