Command Prompt for Windows

atoc, _wtoc, _ttoc

char *atoc(char *number);
wchar_t *atoc(wchar_t *number);
TCHAR *atoc(TCHAR *number);

Delimit a character string number containing a number with commas, every thousand.

Parameter Description
number Address of a the character string containing the number to convert.


The address of the original character string number.


The character string number must be large enough to hold the commas inserted into it.