in reply to
number comparison with a twist
Try
if (abs(num1 - num2) < 1e-6) {.,.
Comment on
Re: number comparison with a twist
Download
Code
In Section
Seekers of Perl Wisdom