I am using the following code Binding Path=InvoiceAmount, StringFormat={}{0:C0}snippet and its working good, as i am not interested in the fraction part. It yields the result in this manner $12. But for sake of reading, can the currency format be like this $12.00 instead of above.
I mean any rounding-off code for decimal part or any hack for such situation
Thanks in advance
Any Binding can be “hacked” using IValueConverter 😉
You may use format like this
Binding Path=InvoiceAmount, StringFormat={}{0:C0}.00, but be careful, because this way dont care about system decimal separator.