In 3.11 this was formatted, eg
and in 3.12 this is not the case anymore
The solution for this specific widget seems to work but we usually format metrics server side to have consistent formatting everywhere depending on the chosen language / locale AFAIK. Wonder if somewhere maybe some
format_metrics: 'all' or similar is missing for example or if there is some other issue.
BTW also possible for example that the
|number filter in a sparkline visualisation template is missing.
Have found and fixed the Twig macro that was outputting the raw numbers on Acquisitions => Overview.
Regarding the single metric view, I've looked into the API calls that it makes and it fetches the metrics both with
format_metrics=all and with
format_metrics=0. In both responses the integer values are unformatted.
$metric->format($value) for the processed metrics only, and also does currency formatting for other metrics if the column name contains "revenue".