Hello, I have a pivot grid with an aggregate field that holds an average of percentages in the form of 100.0000 etc.
I get numbers like 99.90356798455882352941176471
I've tried "{0:P}", "{0}N %" but nothing works. What can I do? Is it a bug? It's a telerik version from 2013.
PivotGridAggregateField aggregateField =
new
PivotGridAggregateField();
RadPivotGrid1.Fields.Add(aggregateField);
aggregateField.DataField =
"PercentOD"
;
aggregateField.UniqueName =
"PercentOD"
;
aggregateField.Aggregate = PivotGridAggregate.Average;
aggregateField.DataFormatString =
"{0:F2}"
;
aggregateField.TotalFormatString =
"{0:F2}"
;