Meta Interview Question

Given a string that represents and integer, convert it to an integer.