– Subtraction operator
Subtracts one numeric expression from another numeric expression.
Syntax
expression
ExampleThe
r-subt.p
procedure determines the amount of inventory available by subtracting the amount allocated from the total on hand.
NoteSubtracting one decimal expression from another produces a DECIMAL value. Subtracting one INTEGER expression from another produces an INTEGER. Subtracting an integer expression (INTEGER or INT64) from a decimal expression (or subtracting a decimal expression from an integer expression) produces a DECIMAL value. Subtracting a mix of INTEGER and INT64 expressions produces an INT64 value.
See also
OpenEdge Release 10.2B
|