I convert a DataSet from a SQL Server query where the double values are rounded by the SQL Server to two decimal digits. After converting to json with
json = JsonConvert.SerializeObject(ds(1), New DataSetConverter());
some (very few) values suddenly have 16 decimal digits. Is there a way to have this conversion to avoid this (rounding, fixed no of decimals etc.)?