Parse string amounts back into integers