6
Answers

Converting string to int

person

person

15y
11.1k
1
Hi.

I know how to convert strings to ints however the strings i want to convert contain leading 0's, i no that ints arent stored like this, however is there anyway around?

e.g. -- "0912"
i want my int to be 0912.


Thanks in advance.

Urema.
Answers (6)