total value i want to in point plz help me i have tired

sandy3080sandy3080 Member ✭✭

This Is My Code--
playerDetailsInfo.BattingAverage = playerDetailsInfo.TotalRun / playerDetailsInfo.TotalMatches;

i got total Run 26 and Total Matches 3 , ans will be 8.66 , but ans got 8
Batting Average i double data type and TotalRun and TotalMatches is int type

plzzzz help me any suggetion

Best Answer

Answers

  • sandy3080sandy3080 Member ✭✭

    thanks @johnHardMan

Sign In or Register to comment.