Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Perl rounder...

by maverick (Curate)
on Apr 08, 2002 at 22:21 UTC ( #157587=note: print w/replies, xml ) Need Help??

in reply to Perl rounder...

Sorry dude, it's already been done.
printf takes a sting that describes what you want to print. In your case a floating point number (f) with a precision that you specify as the second arg ($ARGV[1]) using the value in $ARGV[0]

OmG! They killed tilly! You *bleep*!!

Replies are listed 'Best First'.
Re: Re: Perl rounder...
by abaxaba (Hermit) on Apr 09, 2002 at 01:09 UTC
    Explains the negative comments votes.... REAP it then.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://157587]
and a soft breeze sighs...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2016-12-06 23:28 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (120 votes). Check out past polls.