Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Integer to Money format

by happy.barney (Friar)
on Jan 20, 2011 at 09:27 UTC ( #883273=note: print w/replies, xml ) Need Help??


in reply to Re: Integer to Money format
in thread Integer to Money format

did you mean something like this ? :-)
scalar reverse join(',', (reverse '4123456789') =~ m/.{1,3}/g);

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://883273]
help
Chatterbox?
[erix]: re: ORMs: sql can easily have many where-clauses so then you'll have to start parsing -- not so easy
[erix]: subqueries, filter-clauses, window functions. etc, etc

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2017-09-25 12:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (280 votes). Check out past polls.

    Notices?