Decimal and thousands separators

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
vijo
Profound User
Posts: 28
Joined: Thu Jun 25, 2015 4:47 pm
First Name: Vincent
Last Name: Jonis
Company Name: oo2
Contact:

Decimal and thousands separators

Post by vijo »

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.
Scott Klement
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

Post by Scott Klement »

For periods as decimals, and commas as thousands separators do:

Code: Select all

CHGJOB DECFMT(*BLANK)
For commas as decimals and periods as thousands separators do:

Code: Select all

CHGJOB DECFMT(I)
It will use the DECFMT job attribute that's active at the time of your EXFMT to determine which to use.
vijo
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

Post by vijo »

Thanks a lot Scott
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests