@DIFF

The DIFF function takes two or more numeric parameters evaluated in the context of the function call. The second parameter through the last are subtracted from the first parameter. The function then returns the result. This function supports an integral or decimal number return type.

Parameters

@DIFF(Number 1 [, ..., Number N])
Number 1
Required parameter, in a numeric context, contains the value from which all subsequent parameters will be subtracted. Evaluated as an integral or decimal number, matching the context of the function call.
Number N
Optional parameter(s), in a numeric context, contains the value(s) from which all subsequent parameters will be subtracted. Evaluated as integral or decimal number(s), matching the context of the function call.

Supported Return Types

  • Integral Number
  • Decimal Number