Issue with Currency Formatting in Dashboard Reports

Hi everyone,

I’m encountering an issue with the display of currency values in a custom Dashboard I created for ERPNext.
The report is designed to calculate a total amount.
totale_euro

However, I’ve noticed some inconsistencies in how the values are displayed depending on the currency settings.

Here’s a detailed explanation of the problem:

  1. Correct Value Without Currency Formatting :
    When no specific currency is applied, the value is displayed correctly on the dashboard .
    totale_euro_dashboard_no_currency

  2. Incorrect Decimal Placement with EUR :
    When I set the currency to EUR in the Number Card, the decimal placement appears to be incorrect.
    totale_euro_dashboard_EUR_currency

Instead of showing 176.400,00, it displays 17.640,00.

  1. Different Behavior with USD :
    If I switch the currency to USD, the value is displayed differently again, but still incorrect.
    totale_euro_dashboard_USD_currency

  2. System Settings :
    My system’s Date and Number Format settings are configured as below.

Could anyone help me understand why this issue is occurring and how to resolve it? Is there a specific configuration or customization that I need to apply to ensure the correct display of currency values in the dashboard?

Thank you in advance for your assistance!