四捨五入
int b = (int)(a + 0.5);
切り上げ
int c = 1 + (int)a;