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

Strange decimal places #61

Open
Androkai opened this issue Oct 9, 2019 · 1 comment
Open

Strange decimal places #61

Androkai opened this issue Oct 9, 2019 · 1 comment
Assignees

Comments

@Androkai
Copy link

Androkai commented Oct 9, 2019

I observed some strange decimal places on the player's balance in the database appearing from time to time. An example:

I configured my shop plugin "BossShopPro" to sell an item for 1.00$. It works fine so far but sometimes I observe strange decimal places added to my balance's value in the database. My initial balance is 1020$. When I buy one item after another, I always get the following reproducible values:

1020,00
1019,99
1019,98
1019,97
1019,96
1019,95
1019,94
1019,9300000000001
1019,92
1019,91
1019,90

I'm not sure if this is a problem related to Craftconomy or another plugin in the pipe BossShopPro --> Vault --> Craftconomy --> MariaDB

@pavog
Copy link
Owner

pavog commented Oct 10, 2019

Thanks for the issue report.
I'll look into this in the next days and hopefully find out where this issue comes from.

@pavog pavog self-assigned this Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants