VS2010 NX8.5
#include<algorithm>
#include <sstream>
#include <iomanip>
//定义涵数
NXString doubleToNXString(double value);//double转换NXString
NXString intToNXString(int value);//int转换NXString
NXString HoleTable::doubleToNXString(double value)//double转换NXString
{
stringstream tmpValue1;
tmpValue1 << setprecision(16) << value;
return NXString(tmpValue1.str());
}
NXString HoleTable::intToNXString(int value)//int转换NXString
{
stringstream tmpValue2;
tmpValue2 << setprecision(16) << value;
return NXString(tmpValue2.str());
}