The <<diff...>> function provides the operation of the minus sign (-) operator in other languages. This function subtracts the second argument from the first and returns the difference. This function takes two and only two arguments.
String data tags or string return values may be passed to the function, provided those values contain only numeric, sign, and a single decimal character.
<<diff numArg1 numArg2>> | |
---|---|
numArg1 | The first numerical value from which numArg2 is
subtracted. May be a hard coded value, data tag, or the return value
of another function. If the value is hard coded and contains a negative
or positive sign, the entire value must be enclosed in double quotes,
as in “-12.34”. |
numArg2 | The second numerical value that will be subtracted from numArg1.
May be a hard coded value, data tag, or the return value of another
function. If the value is hard coded and contains a negative or
positive sign, the entire value must be enclosed in double quotes,
as in “-10.23”. |
None