Jump to Post
nitin1 is correct.
With a little more detail:
Any number that starts with a zero is interpreted in base 8 (octal) rather than base 10 (decimal). Therefore your 011 is:
one 8 and one 1rather than
one 10 and one 1.
All 9 RepliesReply to this topic
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.