mirror of
https://github.com/shopspring/decimal.git
synced 2024-11-22 20:40:48 +01:00
Have NullDecimal.Value() use Decimal.Value().
This commit is contained in:
parent
02487a179e
commit
f03103a27d
1 changed files with 1 additions and 1 deletions
|
@ -692,5 +692,5 @@ func (d NullDecimal) Value() (driver.Value, error) {
|
|||
if !d.Valid {
|
||||
return nil, nil
|
||||
}
|
||||
return d.Decimal.String(), nil
|
||||
return d.Decimal.Value()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue