Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: Even column spreading of data

by Kage (Scribe)
on Dec 22, 2002 at 22:37 UTC ( [id://221776]=note: print w/replies, xml ) Need Help??


in reply to Re: Even column spreading of data
in thread Even column spreading of data

I'm not sure of any way I can explain what I mean any further than I did. Basically, what I want is the first (Columns_Number - 1) columns to have the same number of digits in them, and the last column will have the remainder, which would be <= the total number to spread. The only real easy way I can think of to explain it would be an example of a total of 19, spread over 5 columns, which would turn out as 4-4-4-4-3.

That is going to be as best I can possibly explain "evenly" and "remainder goes to last column" in my own words. Sorry if this leaves any gaping holes in my request. =/
“A script is what you give the actors. A program is what you give the audience.” ~ Larry Wall

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-24 17:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found