Computes the ceiling of integer division n / d.
n / d
Dividend.
Divisor (non-zero).
Smallest integer ≥ n / d.
If d is zero.
d
If arguments are not both safe integers or both bigints.
ceilDiv(7, 3); // 3ceilDiv(-7n, 3n); // -2n Copy
ceilDiv(7, 3); // 3ceilDiv(-7n, 3n); // -2n
Computes the ceiling of integer division
n / d.