Closed afesse-cs closed 3 years ago
Negative currency values are not read correctly. In the attached sample file, all negative values will read 1844674000000000M.
I was able to fix by updating DbfValueCurrency.cs:
var value = BitConverter.ToUInt64(bytes, 0);
to
var value = BitConverter.ToInt64(bytes, 0);
foxpro_currency_01.zip
Negative currency values are not read correctly. In the attached sample file, all negative values will read 1844674000000000M.
I was able to fix by updating DbfValueCurrency.cs:
to