/// The precision of the `Number` as a number of digits.
The precision of the `Number` as a number of digits.
The precision of the ` Number ` as a number of digits .
pub fn precision(self) -> u8 {
        let mut result = 0;
        let mut n = self.int_part();
        while n != 0 {
            n /= 10;
            result += 1;
        }
        if result == 0 {
            1 + self.scale()
        } else {
            result + self.scale()
        }
    }
pub fn precision ( self ) -> u8 { let mut result = 0 ; let mut n = self . int_part ( ) ; while n != 0 { n /= 10 ; result += 1 ; } if result == 0 { 1 + self . scale ( ) } else { result + self . scale ( ) } }
The precision of the `Number` as a number of digits.
The precision of the ` Number ` as a number of digits .
self