I have a little problem with the current format of my negative currency number. Вот скриншот, возобновляющий мою ситуацию.
Why the result isn't -0,08 $ ?
Any ideas of how I should proceed?
Thanks for your time.
UPDATE:
I tried to resolve the problem with a converter, here's the result :
Thread.CurrentThread.CurrentUICulture
was not the same as the Thread.CurrentThread.CurrentCulture
, so I fixed it in my App.xaml.cs. Unfortunately, same result.Convert
method was okay, but its CurrentNegativePattern
was not the same as in the Thread.CurrentThread.CurrentCulture
. That's probably the reason why I have this problem. for the moment, I'll use this : return ((double)value).ToString("C2", Thread.CurrentThread.CurrentCulture);
in the Convert
method of my converter.