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

Re^2: Determine steps between two numbers

by grizzley (Chaplain)
on Sep 05, 2012 at 13:32 UTC ( #991852=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $increment = ($second - $first) / ($steps - 1);
    ...
    push @array, $first += $increment;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://991852]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2016-12-05 04:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (72 votes). Check out past polls.