Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Need Help with Perl Code

by Anonymous Monk
on Sep 24, 2017 at 07:29 UTC ( [id://1199979]=note: print w/replies, xml ) Need Help??


in reply to Need Help with Perl Code

On Windows
perl -e "printf \"%.2f\n\",$ARGV[0]+0.005"
Stored as $ARGV[0]; returned with two decimal place accuracy (with roundup) via printf.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-19 23:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found