Ad
  • Custom User Avatar

    I know this is old, but if you calculate the percentage as percentage = (sum/x)*100 (or whatever your language) it should always return the right percentage, though you'll need to use math.Floor() or whatever equivalent if you don't want the decimals to run off into space.