SUBTRACT (-)

The following section describes the syntax and usage of the SUBTRACT (-) function in ActivityInfo.

Description

The SUBTRACT (-) function is used to subtract two numeric values from each other.

Syntax

value1 - value2

Argument Required Description
value1 Yes The first value you wish to subtract.

The value must be numeric.
value2 Yes The second value you wish to subtract from the first.

The value must be numeric.

Result

The mathematical result of subtracting value1 and value2.

Example

We will be using the SUBTRACT (-) function to calculate a value from two arguments.

Arguments

We will be using two Quantity Fields - "Value 1" (Code: VAL1) and "Value 2" (Code: VAL2).

Formula

VAL1 - VAL2

Results