Enter a number. Choose a PICTURE clause. See it formatted. Learn how COBOL edits numbers.
| PICTURE | Meaning | 12345.67 → |
|---|---|---|
| 9(4)V99 | Implied decimal, 4 int + 2 frac | 1234567 |
| 9(4).99 | Explicit decimal point | 12345.67 |
| Z(4)9.99 | Zero suppression (blanks) | 12345.67 |
| $$,$$9.99 | Dollar + comma | $12,345.67 |
| -9(4).99 | Sign handling | -12345.67 |
| *(4).99 | Asterisk check protection | *12345.67 |
| 9(4).99CR | CR for credit balances | 12345.67CR |