Perl-Sensitive Sunglasses | |
PerlMonks |
Re^6: Why is Zero not 0?by lodin (Hermit) |
on Feb 07, 2008 at 02:18 UTC ( [id://666716]=note: print w/replies, xml ) | Need Help?? |
Did you get the + and - swapped? Now comp(5, 4.5, 1) is false and comp(5, 4.5, -1) is true. Personally I prefer to use the good old standard mathematical way of expressing it:
lodin
In Section
Seekers of Perl Wisdom
|
|