func (d *Decimal) Scan(value interface{}) error {
	if err := d.decimal.Scan(value); err != nil {
		return err
	}
	d.formula = d.String()
	return nil
}
// Scan implements the sql.Scanner interface for database deserialization.
Scan implements the sql.Scanner interface for database deserialization.
// Scan implements the sql . Scanner interface for database deserialization .
func (d *Decimal) Scan(value interface{}) error {
	if err := d.decimal.Scan(value); err != nil {
		return err
	}
	d.formula = d.String()
	return nil
}
func ( d * Decimal ) Scan ( value interface { } ) error { if err := d . decimal . Scan ( value ) ; err != nil { return err } d . formula = d . String ( ) return nil }
Scan implements the sql.Scanner interface for database deserialization.
Scan implements the sql . Scanner interface for database deserialization .