View previous topic :: View next topic |
Author |
Message |
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Mon Jun 06, 2016 9:59 am Post subject: % edit data |
|
|
Code: |
15 PRICE PIC 9(4).9(2).
|
to include $ sign, I changed the above to $$$$9.9(2)
similarly, is there a edit PIC available for %.
Code: |
15 CO-PCT PIC 9(2).9(2). Include % sign. %%9.9(2)
|
this is not working.
Do I need to define the % separately?
I searched the forums, did not got any on this. |
|
Back to top |
|
|
Terry_Heinze Supermod
Joined: 31 May 2004 Posts: 391 Topics: 4 Location: Richfield, MN, USA
|
Posted: Mon Jun 06, 2016 10:09 am Post subject: |
|
|
No edit PIC for % that I know of. I define it separately. Check the Language Reference Manual. _________________ ....Terry |
|
Back to top |
|
|
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Mon Jun 06, 2016 10:45 am Post subject: |
|
|
thanks Terry. |
|
Back to top |
|
|
William Collins Supermod
Joined: 03 Jun 2012 Posts: 437 Topics: 0
|
Posted: Mon Jun 06, 2016 10:50 am Post subject: |
|
|
Column heading?
All PICture-string possibilities are documented.
If you really want a % on each line: 1) have it as a trailing literal (preferable); 2) use the floating currency sign and then change it (INSPECT, or by code in a loop) to % (user is really, really, picky, and doesn't mind paying for the CPU); 3) there are always three things. |
|
Back to top |
|
|
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Mon Jun 06, 2016 11:02 am Post subject: |
|
|
Thanks William. I will define it separately, that will resolve my requirement. |
|
Back to top |
|
|
|
|