Skip to main content
Log in

Mojo function

floor

floor[T: Floorable, //](value: T) -> $0

Get the floor value of the given object.

Parameters:

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

Args:

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

Returns:

The floor value of the object.

Was this page helpful?