PDA

View Full Version : Premium Services



rabbitohs
18th July 2009, 07:14 AM
I cant buy the ad-free service.

When i click to buy it, it comes up with this Error:

Consistency error: Balance mismatch after activating: 1.67847e-06 vs. 0.00

I have exactly $4.99 in my balance. It costs $4.99.

trebach
18th July 2009, 11:55 AM
It has to do with the way floating point numbers are represented. Unfortunately, to finally prevent it for all edge cases, someone will have to make it appear as an int 499 rather than a float 4.99. That would require a rewrite of the premium services system.

andyt683
3rd August 2009, 07:22 AM
This has been fixed. A simple round() was all it took.

OsTrailYa
7th August 2009, 09:47 AM
Also cant buy the Command Chain service $2.49 with an existing balance of $2.53 just similar error of

Consistency error: Balance mismatch after activating: 0.0400004 vs. 0.04
Thanks

Obviously, it doesn't like us Aussies
:)

rabbitohs
8th August 2009, 09:21 PM
Its because of our awsome Aussie Dollar :D

Thanks Andy.