Converts a number to a string without spaces separating thousandths. The separator between integer and fractional parts is a dot.

Call:

string svalue = ecvt(double dvalue);


Example.

Convert the number 111222333.11 to a string.


double dvalue = 111222333.11;
string sresvalue = ecvt(svalue);
cout << sresvalue;


Result - the line "111222333.11" will appear in the message window