Hi;
Unfortunately, there is no easy way to change this behavior; I've created 
https://issues.apache.org/jira/browse/JEXL-126 JEXL-126  to change the
default in 3.0 since it's more natural to use 'double' instead of 'float' as
default.

Note however that JEXL arithmetic will convert floats to double when
necessary so the fact that these literals are float should not be a problem;
do you have a specific case where you lose precision over what double
provide?

Cheers
Henrib

--
View this message in context: 
http://apache-commons.680414.n4.nabble.com/jexl-default-numeric-object-type-tp4326105p4340633.html
Sent from the Commons - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to