Question Acp credit display

Fillip H.

Staff member
Owner
Developer
Depends where exactly in the AdminCP you're referring to, but if you mean the edit user screen, then yes.

Currencies are stored with 8 decimals in the database, since a hard-coded amount of decimals will allow me to use data types that do not suffer from floating point rounding errors.
 

madness85

Customer
Depends where exactly in the AdminCP you're referring to, but if you mean the edit user screen, then yes.

Currencies are stored with 8 decimals in the database, since a hard-coded amount of decimals will allow me to use data types that do not suffer from floating point rounding errors.
Yes, I mean the edit user. Thanks for confirming its OK, I didn't remember it being like that.
 

Fillip H.

Staff member
Owner
Developer
Yeah it was a recent change, after someone reported a bug in bank withdrawals using decimals. It made me look into this more and discover the floating point issue. Doing it this way is the lesser of two evils :)
 

DragonByte Shop

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
2,027
Customer rating
5.00 star(s) 2 ratings
Top