I'd convert the textual float to textual cents by eliminating the dot .
Like this you'll only deal with integers.
I might even try to only use eq for comparison then, but this depends on the accuracy of your format (leading zeroes and so on)
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re: number comparison with a twist
by LanX
in thread number comparison with a twist
by anotherguest
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |