code: func (d *MyDecimal) PrecisionAndFrac() (precision, frac int) {
  	frac = int(d.digitsFrac)
  	_, digitsInt := d.removeLeadingZeros()
  	precision = digitsInt + frac
  	if precision == 0 {
  		precision = 1
  	}
  	return
  }
docs: // PrecisionAndFrac returns the internal precision and frac number.