Hi, I want to do something like this
printf("The number = %d\r\n",1000000);
And I want it to show as The number = 1000,000 but I get The number = 1000000 also I have tried to use
setlocale(LC_ALL, ""); printf("The number = %'d\r\n",1000000);
But I get this warning that tells format string is not supported and I would not got my answer,
So how should I use printf to be able to print thousand separators?
Regards