The string-parsing version of the function now works for arbitrarily-large numbers.