Any reason why jexl doesn't do type coercion with LT/GT expressions like it does for others?
I'm not sure, but possibly because it's dangerous, in the sense that type
conversion might not do what the programmer intended. For example,
would 9 > "10" evaluate to true or false? 9 < 10
9 > "10" would be false. I am going to follow JSTL. If one of the arguments is a number, the other is coerced into a number
but "9" > "10"
JSTL says that they should be compared lexically (ie String.compareTo()).
My specific need is for "1" > 0 to be true (string to number coercion when one argument is a number)
-pete
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
