Java Math Ceil
int n = (int) Math.ceil((double) a / b));
Old-fashioned Osprey
int n = (int) Math.ceil((double) a / b));