Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Fibonacci Numbers

by jweed (Chaplain)
on Feb 15, 2005 at 04:53 UTC ( #431023=note: print w/replies, xml ) Need Help??


in reply to Re^2: Fibonacci Numbers
in thread Fibonacci Numbers

Try Math::BigFloat's rounding handling instead of the int(foo+.5) trick, and things should work out.



Code is (almost) always untested.
http://www.justicepoetic.net/

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2018-07-16 04:52 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 (332 votes). Check out past polls.

    Notices?