Convert string to number


why it was wrong and can i get the better recursion code for that,if so can you send the best recursion code for it

u have done many syntax error
also try to do out calculation outside the calling not within the calling arguments
check this simple code