Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Dividing and format

by zengargoyle (Deacon)
on Nov 27, 2003 at 14:24 UTC ( [id://310541]=note: print w/replies, xml ) Need Help??


in reply to Dividing and format

$ cat test.in 12000 12678 5 49 50 499 500 501 ^D $ perl -lpe '$_=int(($_+50)/100)/10;$_.=".0"unless/\./' <test.in 12.0 12.7 0.0 0.0 0.1 0.5 0.5 0.5

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-26 05:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found