Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: How to calculate the sum of columns to be equal to 100?

by Athanasius (Archbishop)
on Aug 16, 2013 at 02:27 UTC ( [id://1049675]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    11:55 >perl -wE "printf qq[%9f\t%.0f\t%2.0f\n], ($_ + 0.5) x 3 for 0 .
    +. 10;"
     0.500000       0        1
    ...
    11:55 >perl -v
    
    This is perl 5, version 14, subversion 2 (v5.14.2) built for MSWin32-x
    +86-multi-thread
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1049675]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2024-04-23 12:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found