Hi,
Our application have both French and English-speaking users. We need to display french-style separators (like 1.234,50) for French-speaking users and english-style separators (like 1,234.50) for English-speaking users.
What is the best way to deal with that.
Decimal and thousands separators
-
- Profound User
- Posts: 28
- Joined: Thu Jun 25, 2015 4:47 pm
- First Name: Vincent
- Last Name: Jonis
- Company Name: oo2
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Decimal and thousands separators
For periods as decimals, and commas as thousands separators do:
For commas as decimals and periods as thousands separators do:
It will use the DECFMT job attribute that's active at the time of your EXFMT to determine which to use.
Code: Select all
CHGJOB DECFMT(*BLANK)
Code: Select all
CHGJOB DECFMT(I)
-
- Profound User
- Posts: 28
- Joined: Thu Jun 25, 2015 4:47 pm
- First Name: Vincent
- Last Name: Jonis
- Company Name: oo2
- Contact:
Re: Decimal and thousands separators
Thanks a lot Scott
Who is online
Users browsing this forum: No registered users and 1 guest