Power of function

Raises the column value to the specified power of.

Namespaces

  • math

  • decimal

Input

Numeric values

Output

Double or Decimal values

Syntax

For non-decimal values:

set-column :column math:pow(column,<decimal_value>)

For decimal values:

set-column :column decimal:pow(column,<decimal_value>)

Example

Raises the value in the column price to the power of 5.

set-column :price math:pow(price,5)

Created in 2020 by Google Inc.