Convert string number to int