Numeric utilities

When you are creating a workflow with the TrueSight Orchestration Development Studio application,
you can use six operations to modify numeric values: add, div, divide, modulus, multiply, and subtract.

OperationDescription

add

Adds two numeric values.

div

This function returns the quotient of two numeric arguments. The function will not return a value if the arguments are not both numeric (decimal or integer) values. 

Note

Using a divisor of 0 will result in failure and compensation will be called.

divide

Divides two numeric values and returns the result.

Note

Using a divisor of 0 will result in failure and compensation will be called.

modulus

Divides two integer values and returns the remainder (for example, 5 mod 3 = 2). This function divides the first argument by the second and returns only the remainder. The function will not return a value if the arguments are not both numeric (decimal or integer) values.

Note

Using a divisor of 0 results in failure and a compensation call.

multiply

Multiplies two numeric values and returns the result.

subtract

Subtracts two numeric values.

While Basic transform editor math functions return values with a decimal point (for example, 13.0), numeric utilities, except divide, do not return values with decimal points.

This section contains the following topic:

Was this page helpful? Yes No Submitting... Thank you

Comments