You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Formatting zero using the + flag in fmt.Printf("%+d",0) results in +0 output. It seems that it is a bug, since zero is neither positive nor negative. I would expect a simple 0 as an answer.
Formatting zero using the + flag in
fmt.Printf("%+d",0)
results in+0
output. It seems that it is a bug, since zero is neither positive nor negative. I would expect a simple0
as an answer.Sample: http://play.golang.org/p/XhcQmGYXMC
The text was updated successfully, but these errors were encountered: