Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Edit Word currency question

Status
Not open for further replies.
Joined
Nov 28, 2003
Messages
2
Location
GB
We are in the UK so our QCURSYM is a £.

We are trying to write some reports for a US branch and in the edit words the format ' $0. ' is not working as a floating currency symbol because QCURSYM is £.

Does anyone know of a way of getting a $ floating edit word symbol on a UK system without changing QCURSYM please?

I tried changing the currency symbol in the H spec as a long shot but it didn't work, not that I expected it to:-)
 
If in output specs, use an edit code and specify '$' in cols 53-55.


If in calc specs, try
Output = '$' + editc(Input,'J')

 
Code:
          Output = %editc(input: 'J' : '$');

The third parameter to %editc is the currency symbol. If it's the special value *CURSYM, it defaults to QCURSYM. If it's omitted, you get no currency symbol.

Feles mala! Cur cista non uteris? Stramentum novum in ea posui!

 
Thanks both.

I will pass on your info to the person doing it on Monday when he returns.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top