pub fn sql_div(&self, other: &Self) -> Result<Self, Error> {
        if let (Self::Number(lhs), Self::Number(rhs)) = (self, other) {
            Ok(try_from_number!(lhs.div(*rhs), "div({}, {})", lhs, rhs))
        } else {
            Err(Error::InvalidArguments(format!("cannot divide {} by {}", self, other)))
        }
    }
/// Divides two values using the rules common among SQL implementations.
Divides two values using the rules common among SQL implementations.
Divides two values using the rules common among SQL implementations .
pub fn sql_div(&self, other: &Self) -> Result<Self, Error> {
        if let (Self::Number(lhs), Self::Number(rhs)) = (self, other) {
            Ok(try_from_number!(lhs.div(*rhs), "div({}, {})", lhs, rhs))
        } else {
            Err(Error::InvalidArguments(format!("cannot divide {} by {}", self, other)))
        }
    }
pub fn sql_div ( & self , other : & Self ) -> Result < Self , Error > { if let ( Self :: Number ( lhs ) , Self :: Number ( rhs ) ) = ( self , other ) { Ok ( try_from_number ! ( lhs div ( rhs ) " " lhs rhs ) ) } else { Err ( Error :: InvalidArguments ( format ! ( " " self other ) ) ) } }
Divides two values using the rules common among SQL implementations.
Divides two values using the rules common among SQL implementations .
&self
other
&Self
&self
other
&Self