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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

money format

Status
Not open for further replies.

112055

Programmer
May 13, 2002
61
US
hello,
In the progress report Monthly.p I format the money amount like this .........format ">>9.99" but the report shows up with the money amount with commas intead of decimal place, a period.
Example:

Daiwa Bank 70,00 12,00 0,00 0,00 0,00 0,00 5,00
it should be

Daiwa Bank 70.00 12.00 0.00 0.00 0.00 0.00 5.00

Can anyone tell me if theformat I use is incorrect?

thanks,
Ann

 
This probably means your session is running with the -E parameter (European numeric format). Remove this from your startup command (mpro, etc) or the .pf file referenced by your startup command. If you can't get at those you'll need to modify your program to do something like:
Code:
ASSIGN SESSION:NUMERIC-FORMAT = "American".
Alternatively, you can set the thousands separator and decimal point individually:
Code:
SESSION:SET-NUMERIC-FORMAT(",",".")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top