Float Module

All the functions in this module can be self-called on any float value, if that function expects a float as the first argument.

float.from(value): float?

Casts the value into a float if it is possible.

float.floor(value: float): float

Returns the floored float of value.

float.ceil(value: float): float

Returns the ceiled float of value.

float.round(value: float): float

Returns the rounded float of value.