in reply to Strange (rounding?) problem
Adjust the power to your likes.print "The numbers $foo and $bar are significant different!" if (abs($foo - $bar) >= (10**-10));
Update: Of course it should be >=, thanks Eureka_sg.
Somehow I seemed to have thought about using unless but wrote
if instead...
--
use signature;
signature(" So long\nAlfie");
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Strange (rounding?) problem
by Eureka_sg (Monk) on May 02, 2001 at 14:30 UTC | |
by iakobski (Pilgrim) on May 02, 2001 at 14:48 UTC |