Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Commify numbers, the boring and straightforward way

by eyepopslikeamosquito (Archbishop)
on Mar 02, 2005 at 08:04 UTC ( [id://435719]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Invalid type in unpack: '(' at g.pl line 3.
    
  2. or download this
    use strict;
    sub commify {
    ...
    print "x='$x' y='$y'\n";
    print "comm :", commify(1234), ":\n";
    print "comm2:", commify2(1234), ":\n";
    
  3. or download this
    x='1,234' y='1,234'
    comm :432,1:
    comm2:1,234:
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://435719]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-03-28 19:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found