Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (16)
As of 2014-09-23 15:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (224 votes), past polls