Skip to main content

Mojo function

uceildiv

uceildiv(numerator: Int, denominator: Int) -> Int

Return the rounded-up result of dividing numerator by denominator.

Args:

  • numerator (Int): The numerator.
  • denominator (Int): The denominator.

Returns:

Int: The ceiling of dividing numerator by denominator.

Was this page helpful?