Hi,
If you are on Microsoft Windows you should consider using the
GetNumberFormat Function[
^] with the locale id of English_USA.1252
TCHAR szFormatted[MAX_PATH] = {0};
LCID lc = MAKELCID(MAKELANGID(LANG_ENGLISH,SUBLANG_ENGLISH_US),SORT_DEFAULT);
GetNumberFormat(lc,0,_T("1234567.890"),NULL,szFormatted,ARRAYSIZE(szFormatted));
Best Wishes,
-David Delaune