You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (i < votes_arr.size() - 1)votes_arr[i].reps_num = round((float)((float)reps * (float)votes_arr[i].votedPrecent) / 100.f);
else votes_arr[i].reps_num = floor((float)((float)reps * (float)votes_arr[i].votedPrecent) / 100.f);//round down the last party for so the sum of all of (reps_num) will be (reps)