func (d *Decimal) UnmarshalBinary(data []byte) error {
	if err := d.decimal.UnmarshalBinary(data); err != nil {
		return err
	}
	d.formula = d.String()
	return nil
}
// UnmarshalBinary implements the encoding.BinaryUnmarshaler interface. As a string representation
// is already used when encoding to text, this method stores that string as []byte
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface. As a string representation
is already used when encoding to text, this method stores that string as []byte
// UnmarshalBinary implements the encoding . BinaryUnmarshaler interface . As a string representation // is already used when encoding to text this method stores that string as [] byte
func (d *Decimal) UnmarshalBinary(data []byte) error {
	if err := d.decimal.UnmarshalBinary(data); err != nil {
		return err
	}
	d.formula = d.String()
	return nil
}
func ( d * Decimal ) UnmarshalBinary ( data [ ] byte ) error { if err := d . decimal . UnmarshalBinary ( data ) ; err != nil { return err } d . formula = d . String ( ) return nil }
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface.
UnmarshalBinary implements the encoding . BinaryUnmarshaler interface .