m3co-code opened this issue 8 years ago · 1 comments
nice find, thanks! looks like fmt.Scanf interprets zero-led numbers as octal. i suggest resolving this by cleaning up the input string, removing common base-indicating prefixes like 0, 0x, etc.
fmt.Scanf
0
0x