Forum Thread
percentage bbcode bug at 58%
Forum-Index → Bug Reports → Resolved → percentage bbcode bug at 58%I've tested with lower amount of items and it appears correctly (56 items with a progress of 56%) and also with bigger amounts (59 items with a progress of 59%)
I also tested if it was just one item what was giving the issue but it happens with other items too.
The bbcode used was this:
[pkmn]488[/pkmn] [b]CRESSELIA PROGRESS
([bag=yellow lunar wing,goal=100]%)[/b] [pkmn]488[/pkmn]
[bag=yellow lunar wing] X [item]yellow-lunar-wing[/item] collected so far
[bag=yellow lunar wing] X [item]yellow-lunar-wing[/item] collected so far
And here is a picture of the result
You can try it out yourself:
JSFiddle. All this does is calculate (58 / 100) * 100 and yet it outputs (at least on my computer): 57.999999