A. Pagaltzis <[EMAIL PROTECTED]> wrote:

> So if your conditional refers to $amt, it should use math, like
> ($amt * 1000) % 10.

Math won't work, because floats aren't exact.  I just ran this 
(Perl 5.6.1 on Windows 2000):

perl -le"($_/=100)&&($_*1000)%10&&print for 0..1000"

The output was

2.01
2.03
4.02
4.06
8.03
8.04
8.11
8.12
8.19

-- 
Keith C. Ivey <[EMAIL PROTECTED]>
Washington, DC

Reply via email to