PwC Interview Question

Convert a numeric string into an int.