vappara Beginner
Joined: 12 Sep 2006 Posts: 1 Topics: 1
|
Posted: Wed Apr 04, 2007 1:18 pm Post subject: PIC clause to get sign at the end of number?? |
|
|
Hi,
I have declared a report variable as below:
WS-AMOUNT PIC ---,---,--9V99
WS-AMOUNT can be positive or negative. With the above picture
clause, sign + or - will be displayed before the number (such
as -2,345.56).
I want the sign to be displayed after the number i.e. 2,345.56-
Is there a way to achieve this? Commas should be there.
I have tried declaring like this:
WS-AMOUNT PIC ---,---,--9V99+
but program gave a compile error. Looks like I shouldn't use + an - in the same PIC.
Please help.
Thanks!
Appu |
|