BattlelogMobile.Core.Model.Overview.SetKillDeathRatio C# (CSharp) Method

SetKillDeathRatio() private method

private SetKillDeathRatio ( ) : void
return void
        private void SetKillDeathRatio()
        {
            if (!Kills.HasValue || !Deaths.HasValue)
                return;

            KillDeathRatio = Math.Round(((double)Kills.Value / (double)Deaths.Value), 2);
        }