pixelastic / pokemonorbigdata

Is it Pokemon or Big Data ?
http://pixelastic.github.io/pokemonorbigdata/
341 stars 41 forks source link

Inverse answers do not add up to 100% #13

Closed MikeThomas1 closed 8 years ago

MikeThomas1 commented 8 years ago

If I answer all Pokemon I get a score of 46%. If I answer all Big Data I get a score of 53%. These two scores add up to 99%.

Expected result: Scores add up to 100%.

pixelastic commented 8 years ago

The percent displayed is not the exact value, I'm rounding it for display, to make it look nicer. So yes, it is expected that the sum is not perfect.

I don't think this is something that can be fixed (unless having exactly 100 questions).

tofu-rocketry commented 8 years ago

How about using Math.round rather than Math.floor?

pixelastic commented 8 years ago

Oh, I actually thought I was using Math.round already. Thanks, I've updated the code :)