craftconomy3
craftconomy3 copied to clipboard
Strange decimal places
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
Thanks for the issue report. I'll look into this in the next days and hopefully find out where this issue comes from.