COBOL Special Insertion Editing Example
Note! The length of the edited PIC clause may or may not be the same as the original PIC clause.
| Editng PICTURE | Input | Output |
|---|---|---|
| 9(5)V9(2) | 123.45 | 0012345 |
| 9(5).9(2) | 123.45 | 00123.45 |
| 9999.9 | 123.45 | 0123.4 |
| 99.99 | 123.45 | 23.45 |
| 999.99 | 1234 | 234.00 |