I want to round up double to int.
Eg,
double a=0.4, b=0.5;
I want to change them both to integer.
so that
Check out Math.Round. You can then cast the result to an int.
int