|
Thank you! I think I might understand it now.
So if I had int2string(99), I would convert the 9s into base 10 and then append it, where I would have to use the ASCII code for those numbers.
And in case of the string2Int method, I would get a string, then find the ASCII code for each character, got the number in base 10 from it, convert it to binary and return.
Would that be correct?
|