Thanks Tony for getting back. I wrote a Julia function that: thousands separates, truncates on specified digits to right of decimal, and pads spaces for vertical alignment.
I'll reply to your post this weekend my source code. Maybe you can lift various aspects of my function into your code. Best regards...Archie On Saturday, November 8, 2014 6:05:08 AM UTC-5, Arch Call wrote: > > How would I use a @printf macro to use commas for thousands separators in > integers? > > @printf "%d \n" 12345678 > > This outputs: 12345678 > > I would like the output to be: 12,345,678 > > Thanks...Archie > >
