ceil | Modular

Mojo function

ceil[T: Ceilable, //](value: T) -> T

Get the ceiling value of the given object.

Parameters:

  • T (Ceilable): The type conforming to Ceilable.

Args:

  • value (T): The object to get the ceiling value of.

Returns:

T: The ceiling value of the object.

Was this page helpful?

Thank you! We'll create more content like this.

Thank you for helping us improve!

😔 What went wrong?