diff options
Diffstat (limited to 'bn_BD/bn_BD.go')
-rw-r--r-- | bn_BD/bn_BD.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bn_BD/bn_BD.go b/bn_BD/bn_BD.go index 45a715d8..db114963 100644 --- a/bn_BD/bn_BD.go +++ b/bn_BD/bn_BD.go @@ -192,9 +192,7 @@ func (bn *bn_BD) FmtPercent(num float64, v uint64) []byte { b[i], b[j] = b[j], b[i] } - for j := len(bn.percent) - 1; j >= 0; j-- { - b = append(b, bn.percent[j]) - } + b = append(b, bn.percent...) return b } |