SUM
The SUM function returns a value that is the sum of the arguments.
The function type depends on the argument types, as follows:
Argument type | Function type |
---|---|
All arguments integer | Integer |
Numeric (some arguments can be integer) | Numeric |
Discover the latest COBOL features
Get started with your COBOL migration
Connect with business and technical experts
The SUM function returns a value that is the sum of the arguments.
The function type depends on the argument types, as follows:
Argument type | Function type |
---|---|
All arguments integer | Integer |
Numeric (some arguments can be integer) | Numeric |