Ascii Value of digit 2 is  50

Char Dec Hex Octal Binary Description
2 50 32 062 0110010 digit 2

Refer to the full Ascii Table →