I have a label and im using binding and a FormatString as such:
<Label Text="{Binding buying_price , StringFormat='{0} EUR'}">
The label's text is bound to a double in my ViewModel, what im getting on the label is something like this: 10000 EUR, what i want to get is 10 000 EUR, and 12 501 005 EUR for example (without the trailing .00).
I tried StringFormat='{0:C2} EUR' and StringFormat='{0:N} EUR' and StringFormat='{0:n} EUR' but non of them gave me a good result.
I did not make it work in xaml, while when I use a convert and use string format in code behind, it works as excepted:
And the
local:thousandsSeparatorConverter: