floor#
- class saiunit.math.floor(x, **kwargs)#
Return the floor of the argument.
- Parameters:
x (saiunit.Quantity |
Array|ndarray|bool|number|bool|int|float|complex) – Input array.- Returns:
out – Floor values. Quantity if x is a Quantity.
- Return type:
Array| saiunit.Quantity
Examples
>>> import saiunit as u >>> a = [1.2, 2.7, 3.1] * u.meter >>> u.math.floor(a)