Answer the question
In order to leave comments, you need to log in
What would be the format string for sprintf/printf for integers to separate digits with spaces?
You need to get a string like this: "1 234 567" out of the number 1234567.
How to do this with printf/sprintf, what should be the format string?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question