Remember that `strtol()` may under- or overflow. You already have a `ConvertIntToString()` function, make a `ConvertStringToInt()` one. I don't remember where you wrote a similar function, but you can just copy/paste it as it was correctly handling all `strtol()` error cases.