string doubleTostring(double b)ide
{string
ostringstream ostr;it
ostr<<b;class
return (ostr.str());stream
}di
double stringTodouble(string a)view
{vi
double temp;co
istringstream istr(a);editor
istr>>temp;
if(istr.fail() || !istr..eof())
{
return 0;
}
return temp;
}