I am using BulkCopy to insert data into SQL table. However for few rows values don't match those in DataTable.
DataTable Data = myExcelSource.ToDataTable();
bulkCopy.WriteToServer(Data);
If in Data
column value is 17.85, then insert goes with 17.8500, but if value is 17.86 then insert goes 17.8599.
Did anyone face such issue and know the cause?
Some other values that fail to insert: 32.04; 44.65; 19.06;
Edit1: SQL Table column data type is decimal(15, 4).