Skip to content

Number calculation

ryannewington edited this page Jun 23, 2016 · 1 revision

Number calculation

Summary

This transform performs simple mathematical operations on incoming values

Parameters

Parameter name Description
Value The numeric value to use in the calculation
Operator The operation to perform

Input Type

The transform accepts a single integer value as an input.

Multiple input values

The transform accepts multiple input values, and processes each of them individually

Return Type

The transform returns an integer for each input value

Usage

Add the transform value to the incoming value

This operator combines the incoming value with the value specified in the transform

Incoming value Value Outbound value
100 2 102

Subtract the transform value from the incoming value

This operator subtracts the value specified in the transform configuration from the value passed into the transform

Incoming value Value Outbound value
100 2 98

Subtract the incoming value from the transform value

This operator subtracts the incoming value from the value specified in the transform configuration

Incoming value Value Outbound value
100 2 -98
2 100 98

Divide the transform value by the incoming value

This operator divides the value specified in the transform configuration by the value passed into the transform

Incoming value Value Outbound value
2 10 5

Divide the incoming value by the transform value

This operator divides the incoming value by the value specified in the transform configuration

Incoming value Value Outbound value
10 2 5