Wishful thinking, I know, but is there a way to print numbers with commas? There’s a way to do it with printf in C using the “%'d” format specifier.
printf("%'d\n", 1123456789);
Prints:
1,123,456,789
Wishful thinking, I know, but is there a way to print numbers with commas? There’s a way to do it with printf in C using the “%'d” format specifier.
printf("%'d\n", 1123456789);
Prints:
1,123,456,789