One more thing: there are a few modules on CPAN that deal with this topic. Go to http://search.cpan.org and look up "precision"
It looks like Math::FixedPrecision which uses Math::BigFloat is what you are looking for. -----Original Message----- From: Timothy Johnson Sent: Tuesday, January 03, 2006 5:47 PM To: 'Dr.Ruud'; beginners@perl.org Subject: RE: Re: Basic Math Problem Also check out 'perldoc perlnumber'. -----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Dr.Ruud Sent: Tuesday, January 03, 2006 5:30 PM To: beginners@perl.org Subject: Re: Basic Math Problem [EMAIL PROTECTED] schreef: > printed is "8.95000000000073" > instead of "8.95". perldoc -q numbers -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>