Added string to number function