# 1 2 3 4 5 #2345678901234567890123456789012345678901234567890123 $_=sprintf"%.2f",pop;{s/(^\d+)(\d{3})/$1,$2/&&redo}$_
Makeshifts last the longest.
In reply to Re: (Golf) Formatting Integer To Money
by Aristotle
in thread (Golf) Formatting NumberTo Money
by enoch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |