Divide int’s and round up in Objective-C February 25, 2023 by Tarik If your ints are A and B and you want to have ceil(A/B) just calculate (A+B-1)/B.