Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Using (s)printf()

by Anonymous Monk
on Oct 01, 2012 at 11:04 UTC ( #996619=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # perl -e 'printf("%.2f", 6.685);'
    6.68
    
  2. or download this
    # perl -v
    This is perl, v5.10.1 (*) built for i386-linux-thread-multi
    
  3. or download this
    # perl -e 'printf("%.2f", 6.685);'
    6.69
    
  4. or download this
    # perl -v
    This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996619]
help
Chatterbox?
and the daffodils sway...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (12)
As of 2017-11-23 16:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (336 votes). Check out past polls.

    Notices?