Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decimal values ​​ignore the decimal separator and are saved as integer #49

Open
gjojesus opened this issue Jan 20, 2020 · 3 comments
Labels

Comments

@gjojesus
Copy link

I usually use only single or double numbers, which has worked perfectly, but recently I built a system using decimal values ​​and saw that they are saved by ignoring the separator, that is, 4.9 is saved as 49. The same system works normally with decimal using SQL Server or switching from decimal to float using MSAccess. I believe it is a bug.

@bubibubi bubibubi added the bug label Jan 20, 2020
@bubibubi
Copy link
Owner

It's a Microsoft Jet bug that happen only on some cultures. No way to fix it.
You can see a similar issue here

CirrusRedOrg/EntityFrameworkCore.Jet#32

@gjojesus
Copy link
Author

Thanks for your quick reply. I saw that issue and I was using pt-BR culture, so I switched to en-US hoping it would resolve, but the problem remained. I thought it was something else. Some work around or suggestion?

@bubibubi
Copy link
Owner

Not really a suggestion but if you have a support contract you could try to contact Microsoft. You can find the code that uses only OleDb on CirrusRedOrg/EntityFrameworkCore.Jet#32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants