cobol DIVIDE statement

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Remarks

The COBOL DIVIDE statement divides one numeric item into others setting data items to the quotient and, optionally, the remainder.

enter image description here

ROUNDED phrase:

Default is TRUNCATION if no rounded phrase specified. Default ROUNDED mode is NEAREST-TOWARD-ZERO (rounding down) unless other specified. So called Banker's rounding is NEAREST-EVEN.

ROUNDED phrase



Got any cobol Question?