You already got the answer, no need to deal with the decimals if you assign it to an integer.
In your comment you say that you are working with decimals, then Math.Floor is a possibility. ie:
double d = Math.Floor(81.0 / 80.0); // 1.0000...
You already got the answer, no need to deal with the decimals if you assign it to an integer.
In your comment you say that you are working with decimals, then Math.Floor is a possibility. ie:
double d = Math.Floor(81.0 / 80.0); // 1.0000...