func (d *Decimal) UnmarshalText(text []byte) error {
	if err := d.decimal.UnmarshalText(text); err != nil {
		return err
	}
	d.formula = d.String()
	return nil
}
// UnmarshalText implements the encoding.TextUnmarshaler interface for XML
// deserialization.
UnmarshalText implements the encoding.TextUnmarshaler interface for XML
deserialization.
// UnmarshalText implements the encoding . TextUnmarshaler interface for XML // deserialization .
func (d *Decimal) UnmarshalText(text []byte) error {
	if err := d.decimal.UnmarshalText(text); err != nil {
		return err
	}
	d.formula = d.String()
	return nil
}
func ( d * Decimal ) UnmarshalText ( text [ ] byte ) error { if err := d . decimal . UnmarshalText ( text ) ; err != nil { return err } d . formula = d . String ( ) return nil }
UnmarshalText implements the encoding.TextUnmarshaler interface for XML
deserialization.
UnmarshalText implements the encoding . TextUnmarshaler interface for XML deserialization .