mirror of
https://github.com/shopspring/decimal.git
synced 2024-11-25 05:40:49 +01:00
,
This commit is contained in:
parent
5dbfbaff9d
commit
3aecf53c33
1 changed files with 1 additions and 1 deletions
|
@ -1512,7 +1512,7 @@ func (d Decimal) MarshalBinary() (data []byte, err error) {
|
|||
return nil, err
|
||||
}
|
||||
|
||||
// Write the exponent in front since it's a fixed size
|
||||
// Write the exponent in front, since it's a fixed size
|
||||
expData := make([]byte, 4, len(valueData)+4)
|
||||
binary.BigEndian.PutUint32(expData, uint32(d.exp))
|
||||
|
||||
|
|
Loading…
Reference in a new issue