Closed rickles42 closed 6 years ago
Is this a problem?
What do you mean? Is this a big problem? No, it's not. But it definitely shouldn't work like this, since MemeCoins can't be fractional. So we should track it as a bug, minor though it may be, and fix it sooner or later.
I'm so sorry, I just misunderstood what you were saying! Sure, we can get rid of the float division by converting them to integers or casting.
It's not a problem of type conversion (js doesn't have integers btw, only 64 bits IEEE 754 floating point). This problem is caused by a typo in the counter initialization. I'll try to fix it asap
ok, closing this
The request
memes.market/api/investor/rickles42_test
returns the following JSON:However, the user profile page for rickles42_test shows:
I see the same behavior on the "Total balances" statistic on index.html.