> From: Raul Miller <[EMAIL PROTECTED]> > > On Thu, Jul 31, 2008 at 11:25 AM, Randy MacDonald wrote: > > Your method beats mine, which was manually inserting commas in the numeral. > > Ok, but keep in mind that my earlier method (not using J) did not work for me. > > Also, as you indicate, J has some nice approaches. I think my > favorite would be: > 1e3#.inv 134125010
Also 'c'(8!:2) 134125010 134,125,010 And using http://www.jsoftware.com/jwiki/Phrases/Strings ','strjoin ":each 1e3#.inv 134125010 134,125,10 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
