commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Keese" <bi...@tech.beacon-it.co.jp>
Subject Re: [jexl] type coercion in LT/GT expressions
Date Thu, 12 Jun 2003 00:03:11 GMT
> 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 but "9" > "10"

Just a guess,
Bill

----- Original Message ----- 
From: "Peter Royal" <proyal@apache.org>
To: <commons-user@jakarta.apache.org>
Sent: Thursday, June 12, 2003 4:55 AM
Subject: [jexl] type coercion in LT/GT expressions


> Any reason why jexl doesn't do type coercion with LT/GT expressions
> like it does for others?
> -pete
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>


Mime
View raw message