Converts a number to a string separated by a comma and spaces separating thousandths.

Call:

string svalue = ecvt_french(double dvalue);


Example.

Convert the number 111222333.11 to a string.


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


Result - the line "111 222 333.11" will appear in the message window