Round Up
Assume A > 0 and B > 0 are two integers, ceil((double)A / B) can be written as (A + B - 1) / B.
Last updated
Was this helpful?
Assume A > 0 and B > 0 are two integers, ceil((double)A / B) can be written as (A + B - 1) / B.
Last updated
Was this helpful?