|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Integer to Money formatby vinoth.ree (Monsignor) |
| on Jan 20, 2011 at 06:07 UTC ( [id://883255]=perlquestion: print w/replies, xml ) | Need Help?? |
|
vinoth.ree has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks
I have a integer number that should be represented as money format Example: INPUT:4123456789 OUTPUT: 4,12,34,56,789 How to do it in regular expression? The input length may increase!
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||