I meet a problem about converting number to string.
I want to get a string “0100” from str(0100), but what I got is “64”. Does any way I can do to get a string “0100” from 0100.
UPDATE
Thanks for many people’s pointing out that the leading “0” is a indicator for octal. I know it, what I want is to convert 0100 to “0100”, any suggestion?
Best Regards,
Not sure if I understood the question… maybe you’re looking for this: