Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 examining the Monastery: (1)
As of 2018-07-23 04:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (459 votes). Check out past polls.

    Notices?