elo
elo copied to clipboard
Round new_rating instead of flooring
Using .to_i
here will floor the result. Using .round
over time will be more accurate. There are other PRs that change the output of the library to be a float, which works as well; however, there may be applications using this library expecting an integer.