KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In C, how can I format a large number from e.g. 1123456789 to 1,123,456,789 ? I tried using printf("%'10d\n", 1123456789) , but that doesn't work. Could you advise anything? The simpler the solution the better.
Tags (comma-separated)
Save Edits
Cancel