Skip to main content
Solved

DevExpress decimal separator remains American


Geurt
Captain
Forum|alt.badge.img+5

 I have set in DevExpress that the amounts use a Dutch format, I also see this when I do a preview in DevExpress, but when I upload the report in the SF and generate a preview via the application, it uses the American format by default.

 

DevExpress preview:
 

 

Universal preview:

 

Best answer by Freddy

Geurt wrote:

 I have set in DevExpress that the amounts use a Dutch format, I also see this when I do a preview in DevExpress, but when I upload the report in the SF and generate a preview via the application, it uses the American format by default.

 

DevExpress preview:
 

 

Universal preview:

 

 

I more and more tend to use TSQL to format this stuff and use registered languages for objects to steer formatting, like format([value_column],'C’,'nl’)  or format([value_column],'C’,'pt-BR’) by doing it at server level and returning it in a view or function I also get consistency. In case of cross currency you should remove the C and replace with N for example.   

 

View original
Did this topic help you find an answer to your question?

8 replies

Geurt
Captain
Forum|alt.badge.img+5
  • Author
  • Captain
  • 46 replies
  • May 5, 2025

Anyone have a solution for this?πŸ€“


Forum|alt.badge.img+3

At the moment DevExpress reports in Indicium use the format from the system.

So, in your case, you configured it to use C2. Which means to use the currency format with 2 decimals.

While it looks like you configured it for β€œDutch” in the previewer - it is showing the euro symbol because your regional settings on your computer are configured as Dutch.

Your server is probably configured to use a different regional setting, and that is why it is showing with the dollar sign.


Changing the currency format based on the locale of the user is also a bit dangerous. A report opened by a dutch user would show β‚¬100 - and the same report opened by a user with an English locale would show $100 which is not the same.

If you want it to always use the euro symbol, the following expression might work for you. Is that a solution for you?

'€ ' + FormatString('{0:N2}', ?parameter1)
 

 

 


Geurt
Captain
Forum|alt.badge.img+5
  • Author
  • Captain
  • 46 replies
  • May 6, 2025

Thank you for your reply, Dick. It almost works. However, I'm still getting a dot as the decimal separator instead of a comma.

 


Jeroen van den Belt
Administrator
Forum|alt.badge.img+9

Hi ​@Geurt,

I see that the last reaction was 2 weeks ago, do you still require assistance?


Geurt
Captain
Forum|alt.badge.img+5
  • Author
  • Captain
  • 46 replies
  • May 21, 2025

​@Jeroen van den Belt Yes, please, I still have dots as decimal in the amounts.


Freddy
Forum|alt.badge.img+16
  • Thinkwise Local Partner Brasil
  • 531 replies
  • Answer
  • May 21, 2025
Geurt wrote:

 I have set in DevExpress that the amounts use a Dutch format, I also see this when I do a preview in DevExpress, but when I upload the report in the SF and generate a preview via the application, it uses the American format by default.

 

DevExpress preview:
 

 

Universal preview:

 

 

I more and more tend to use TSQL to format this stuff and use registered languages for objects to steer formatting, like format([value_column],'C’,'nl’)  or format([value_column],'C’,'pt-BR’) by doing it at server level and returning it in a view or function I also get consistency. In case of cross currency you should remove the C and replace with N for example.   

 


Anne Buit
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 653 replies
  • June 5, 2025

Hi ​@Geurt, does the solution offered by Freddy work out for you?


Geurt
Captain
Forum|alt.badge.img+5
  • Author
  • Captain
  • 46 replies
  • June 13, 2025

Yes that works. Thanks ​@Freddy 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings