in reply to Commify function regex in Perl vs sed
$ printf "%'f" -987654321.12345 -987,654,321.123450 [download]
Cheers Rolf (addicted to the Perl Programming Language :) see Wikisyntax for the Monastery