Dear all,
The command strconv.ParseInt("256", 8, 8) should not return an error,
because octal 256 is decimal 174 which fits into 8 bits. Right?
I'm asking, because actually running this command gives 'strconv.ParseInt:
parsing "256": value out of range'! https://play.golang.org/p/gNKN0kKLfDd
What am I overlooking here?
All the best,
Jochen
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/73e9d2a5-d8fb-468d-aebe-95f171bbff1dn%40googlegroups.com.