# .00000000000001 Gold Glitch

**URL:** <https://community.gemsofwar.com/t/00000000000001-gold-glitch/17103>\
**Category:** Support\
**Created:** [December 22, 2016, 7:23am UTC](https://community.gemsofwar.com/t/00000000000001-gold-glitch/17103 "2016-12-22T07:23:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tacet](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/tacet/32/35_2.png) [@Tacet](https://community.gemsofwar.com/u/Tacet)\
**Post date:** [December 22, 2016, 7:23am UTC](https://community.gemsofwar.com/t/00000000000001-gold-glitch/17103/1 "2016-12-22T07:23:25Z")

</div>

Anyone remember the old gold glitch about a year ago? When the game switched from a gold cost per battle to free last January, there was an extremely weird gold glitch that made basically every single gold value into a decimal. It only lasted for several hours, but was still very funny and annoying. 😛

Well…

 ![](https://us1.discourse-cdn.com/flex019/uploads/gemsofwar/original/3X/2/3/23e0bb28ac31d93c614be9fbbf228f5620ed9558.jpg)

The gold value after taking that daily bonus is still a whole number, but the daily bonus visually has that glitch.

---

<div class="post-metadata">

**Author:** ![Spherix](https://sea1.discourse-cdn.com/flex019/user_avatar/community.gemsofwar.com/spherix/32/2388_2.png) [@Spherix](https://community.gemsofwar.com/u/Spherix)\
**Post date:** [December 23, 2016, 11:58am UTC](https://community.gemsofwar.com/t/00000000000001-gold-glitch/17103/2 "2016-12-23T11:58:27Z")

</div>

That’s probably a consequence of using Javascript on the back end. All numeric variables in JS are floating point, and it doesn’t have a particularly good floating point implementation. There’s ways to deal with it and hide it, but stuff like this is bound to pop up if you’re not really careful.
