Commit 8cb40fa4 authored by Adam Kisala's avatar Adam Kisala Committed by Brad Fitzpatrick

strconv: adds missing comment to neg flag, formats comment on trunc flag

Change-Id: Ibdd57489543d57a24d1e3c41210abd9fbc930b8f
Reviewed-on: https://go-review.googlesource.com/48867Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 0a633c3b
......@@ -15,8 +15,8 @@ type decimal struct {
d [800]byte // digits, big-endian representation
nd int // number of digits used
dp int // decimal point
neg bool
trunc bool // discarded nonzero digits beyond d[:nd]
neg bool // negative flag
trunc bool // discarded nonzero digits beyond d[:nd]
}
func (a *decimal) String() string {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment