pub fn floor(self) -> Self {
        let mut res = (self.0 as i32) as f32;

        if self.0 < res {
            res -= 1.0;
        }

        Self(res)
    }
/// Returns the largest integer less than or equal to a number.
Returns the largest integer less than or equal to a number.
Returns the largest integer less than or equal to a number .
pub fn floor(self) -> Self {
        let mut res = (self.0 as i32) as f32;
        if self.0 < res {
            res -= 1.0;
        }
        Self(res)
    }
pub fn floor ( self ) -> Self { let mut res = ( self . 0 as i32 ) as f32 ; if self . 0 < res { res -= 1.0 ; } Self ( res ) }
Returns the largest integer less than or equal to a number.
Returns the largest integer less than or equal to a number .
self
self