Edit #1
Show leading zeros and leading spaces when appropriate.
Input/WS Data           |
Input/WS Picture           |
Output Picture           |
Output Data           |
212703 |
9(4)V99 |
Z,ZZZ.99 |
  |
762815 |
9(5)V9 |
ZZ,ZZZ.99 |
  |
0005217 |
9(5)V99 |
ZZ,ZZZ.99 |
  |
9357003 |
99999V99 |
99999.99 |
  |
0007465 |
9(5)V99 |
99999.99 |
  |
0004752 |
9(5)V99 |
ZZ,ZZ9.99 |
  |
00236582 |
9(6)V99 |
ZZZ,ZZZ.99 |
  |
0056634 |
9(5)V99 |
99,999.99 |
  |
00006541 |
9(6)V99 |
$ZZZ,ZZZ.99 |
  |
00000 |
99999 |
ZZ,ZZZ |
  |
00656 |
9(5) |
$ZZ,ZZ9 |
  |
00000 |
9(5) |
ZZZ99 |
  |
003482 |
9(6) |
$ZZZ,ZZZ.99 |
  |
003468 |
9(4)V99 |
Z,ZZ9 |
  |
004683 |
9(6) |
$***,***.99 |
  |
0764231 |
9(5)V99 |
$**,***.99 |
  |
00453812 |
9(6)V99 |
$$$$,$$$.99 |
  |
00000567 |
9(6)V99 |
$$$$,$$$.99 |
  |
00564032 |
9(6)V99 |
ZZZ,ZZZ.999 |
  |
00465431 |
9(6)V99 |
ZZZ,ZZZ.9 |
  |
0643 |
9(4) |
$Z,ZZZ.99 |
  |
0721 |
9(4) |
$**,**9 |
  |
2005034 |
9(5)V99 |
$$$,$$9.99 |
  |
0000053 |
9(5)V99 |
ZZ,ZZ9.999 |
  |
40120345 |
9(6)V99 |
ZZ,ZZZ.9 |
  |