pub trait Floor { type Output; // Required method fn floor(self) -> Self::Output; }
Takes the floor of a number.
This is a wrapper over the floor functions in libm.
floor
libm