Hello Ian Leading zeroes do affect the value : https://play.golang.org/p/h0iE_8_yYK I personally regard this as a gotcha, and this feeling gets stronger when an experienced gopher overlooks it. I put an entry in my go-traps <http://go-traps.appspot.com/#addition> list. Cheers Val
On Saturday, August 20, 2016 at 2:55:44 AM UTC+2, Ian Lance Taylor wrote: > > > The same is true of leading zeroes, which also do not affect the value > of the expression. > > Ian > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.