Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Integer to Money format

by lyklev (Pilgrim)
on Jan 20, 2011 at 08:06 UTC ( [id://883264]=note: print w/replies, xml ) Need Help??


in reply to Integer to Money format

That does not look like money format. The output would be

4,123,456,789

and possibly followed by a period and two digits for cents.

Replies are listed 'Best First'.
Re^2: Integer to Money format
by CountZero (Bishop) on Jan 20, 2011 at 09:59 UTC
    It is the Indian way of formatting money amounts. See: Indian Numbering System

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

      Learned something today, thanks!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (8)
As of 2024-04-18 11:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found