EncodeDecimalDescending is the descending version of EncodeDecimalAscending.
(appendTo []byte, d *apd.Decimal)
| 43 | |
| 44 | // EncodeDecimalDescending is the descending version of EncodeDecimalAscending. |
| 45 | func EncodeDecimalDescending(appendTo []byte, d *apd.Decimal) []byte { |
| 46 | return encodeDecimal(appendTo, d, true) |
| 47 | } |
| 48 | |
| 49 | func encodeDecimal(appendTo []byte, d *apd.Decimal, invert bool) []byte { |
| 50 | if d.IsZero() { |
no test coverage detected
searching dependent graphs…