@nums = (5.5, 9, 19.95); print sprintf("\$%.2f\n", $_) foreach @nums;
__________________________________________________
s mmgfbs nf, nfyojy m,tr yb-zya-zy,s zfzphz,print; - thanks japhy :)
In reply to Re: Dollars and regex cents
by mexnix
in thread Dollars and regex cents
by higle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |