I have some code that divides the number of elements in a collection by one hundred. But in the end it shows the wrong value.
private void FillPages()
{
double numofpages = listcoinslist.Count / 100;
MessageBox.Show(listcoinslist.Count + " " + numofpages);
}
The picture of the calculation result
I should get 65.6, instead I get 65. The same number is displayed on the label. This is not a display error, but a strange calculus error.