I have a datagrid with a calculated column (Total) and I can not get the format to work. The source column format (Cost) does honour the format. I have both set to {0:n}
What am i missing?
I have a datagrid with a calculated column (Total) and I can not get the format to work. The source column format (Cost) does honour the format. I have both set to {0:n}
What am i missing?
What's the type of the value in this column? Decimal? Double?
The value in this column is Double
If this column is using a Template then the FormatString property will not be taken under consideration as the Template overrides it. You should manually format the number via the ToString method.
Yes of course, forgot that. Many thanks