新标准数值与string之间转换

int i = 42;
string s = to_string(i);
double d = stod(s);

  

原文地址:https://www.cnblogs.com/youhao1999/p/13733066.html