Hi,
I have a datatable which contains only numerical values. I have to round them to 3 decimal places.
I have below query which can do it column by column.
YoYGridHeadersMatrix.AsEnumerable().ToList().ForEach(row => row.SetField<string>(Constant.Check, "0"));
But i was wondering if i could do it in one shot.
I need a LINQ query which can round off all values it contains to 3 decimal places in one line for all columns.
Thanks
Go to the complete details ...