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 InputOutput
9(5)V9(2)123.45 0012345
9(5).9(2)123.4500123.45
9999.9123.450123.4
99.99123.4523.45
999.991234234.00