Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Need Help with Perl Code

by Anonymous Monk
on Sep 24, 2017 at 07:29 UTC ( #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
Node Status?
node history
Node Type: note [id://1199979]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2018-05-28 04:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?