Well since the ratio is kills/deaths
0/0 is nonexistent but could be shown as 1 since the numbers are the same in both the numerator and denominator
Plus in video games statistics kdr doesn't drop below 1 unless you die, because of this reason
I don't think this is how it works, but I've never gone 0 and 0, so I guess I can't refute it.
Here's how I would code it(on Java, as it is easy to understand for coding noobs).
public double computeKD(int kills, int deaths)
{
if(deaths > 0) return ((double) kills)/deaths;
else return (double) kills;
}
That would give you kills/deaths or just kills if you have 0 deaths. From what I have observed from personal experience, this is how I understand that it works. Again, I've never gone 0 and 0, so I don't know for sure.
Yea in crucible, unless it has changed, people who joined at the end of the game would have 0 kills and 0 deaths and their kd would be 1
I am not that big into coding but I am familiar with the patterns I see on video games. I believe the same thing happens in cod but I haven't played that in a good while so I am not entirely sure on that front. My main knowledge on this comes from math. Ratios, and the number 0.
Your role as a moderator enables you immediately ban this user from messaging (bypassing the report queue) if you select a punishment.
7 Day Ban
7 Day Ban
30 Day Ban
Permanent Ban
This site uses cookies to provide you with the best possible user experience. By clicking 'Accept', you agree to the policies documented at Cookie Policy and Privacy Policy.
Accept
This site uses cookies to provide you with the best possible user experience. By continuing to use this site, you agree to the policies documented at Cookie Policy and Privacy Policy.
close
Our policies have recently changed. By clicking 'Accept', you agree to the updated policies documented at Cookie Policy and Privacy Policy.
Accept
Our policies have recently changed. By continuing to use this site, you agree to the updated policies documented at Cookie Policy and Privacy Policy.