Of course I do this in XAML. Here the column Definition:
<DataGridTextColumn MinWidth="100"
Binding="{Binding Path=EingBetrag, StringFormat=N02, ConverterCulture=de-CH, Mode=TwoWay}"
Header= "Betrag">
<DataGridTextColumn.HeaderStyle>
<Style>
<Setter Property="Label.HorizontalContentAlignment" Value="Right" />
</Style>
</DataGridTextColumn.HeaderStyle>
<DataGridTextColumn.CellStyle>
<Style>
<Setter Property="TextBlock.TextAlignment" Value="Right" />
</Style>
</DataGridTextColumn.CellStyle>
</DataGridTextColumn>
I can convert with ::ToString("N02") and bind this field, but than a sort by this column gives a incorrect result.