Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Re: (Golf) Formatting Integer To Money

by thelenm (Vicar)
on Aug 29, 2002 at 18:45 UTC ( [id://193853] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub a{$_=sprintf"%.2f",@_;1while s/\B...\D/,$&/;$_}