Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2016-08-28 22:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (396 votes). Check out past polls.