Mathematical Functions - AWS Data Pipeline

Mathematical Functions

The following functions are available for working with numerical values.

Function Description

+

Addition.

Example: #{1 + 2}

Result: 3

-

Subtraction.

Example: #{1 - 2}

Result: -1

*

Multiplication.

Example: #{1 * 2}

Result: 2

/

Division. If you divide two integers, the result is truncated.

Example: #{1 / 2}, Result: 0

Example: #{1.0 / 2}, Result: .5

^

Exponent.

Example: #{2 ^ 2}

Result: 4.0