Edit #2


Show leading zeros and leading spaces when appropriate.
Input/WS Data         Input/WS Picture         Output Picture         Output Data        
12756215 9(6)V99 $$$$,$$$.99  
0004654 9(5)V99 $$$,$$$.99  
00534567 9(6)V99 $$$$,$$$.99  
0000012 9(5)V99 $$$,$$$.99  
000072 9999V99 $$,$$9.99  
00845678 9(5)V999 $$$,$$$.99  
000564 999V999 $$$$.99  
0065324 9(7) $$,$$$,$$$.99  
00154982 9(7)V9 $$,$$$,$$$.99  
0054564 9(5)V99 $**,***.99  
0034 9999 ***9  
0056487 9(5)V99 **,***.9  
70340349 9(5)V99 $**,***.99  
562359 9999V99 ***.9  
0000054 9(5)V99 ***,***.99  
456543 9(4)V99 $*,***.99  
00524352 9(7)V9 $$,$$$,$$$.99  
00000552 9(6)V99 ***,*99.99  
000000 999999 ***,***  
40043 9(4) $*,***.99  
65787 9(5) **,***  
0000328 9999V999 ****.99  
000345324 9(7)V99 $Z,ZZZ,ZZZ.99  
000345324 9(7)V99 $*,***,***.99  
000345324 9(7)V99 $$,$$$,$$$.99