Java Math Ceil


int n = (int) Math.ceil((double) a / b));

Old-fashioned Osprey