Added string to double function