On 2006-08-10, Stephen Frost <[EMAIL PROTECTED]> wrote: >> Yeah, because numeric_cmp says that 1.0 and 1.00 are equal (what else >> could it say? "less" and "greater" are surely wrong). So you need to > > It could say "not equal" pretty reasonably as the scale is > different.
The comparison function must be trichotomous, that is the possible results are "equal", "greater", and "less". There is no other "not equal" result. -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings