Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 the questions are moot...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2017-10-17 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (236 votes). Check out past polls.

    Notices?