Casted a string to an int.