SQLite throws System.FormatException: 'Input string was not in a correct format' when decimal numbers stored in exponential format #6205
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
Steps to reproduce
Build a Sqlite DB with a table with a field with decimal(16,8).
Update the field with the value 0.0001 and try to make a linq select wit .ToList();
The issue
I have a code similar to this:
At the last line, i face an exception.
This issue seems to be similar with #1057.
The database table had a content like this:
After i deleted all decimal values with
sqlite> UPDATE instruments SET MinTick = NULL;
The exception was gone.
So i strongly belief it has to do with the academic number style that sqlite produces and send to the EF Library...
Further technical details
EF Core version: 1.0.0
Operating system: ubuntu 14.04 LTS - linux
Visual Studio version: n/a
The text was updated successfully, but these errors were encountered: