commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Westheide" <daniel.westhe...@gmx.de>
Subject [JEXL] Integer division
Date Tue, 29 Apr 2008 11:19:36 GMT
Hello,

in the JEXL syntax reference - http://commons.apache.org/jexl/reference/syntax.html - it says
that the div operator can be used to perform an integer division. In the example, "4 div 3"
is supposed to give 1.

However, when I use the div operator in JEXL 1.0 or 1.1, its behaviour is identical to that
of the division operator "/" - integer division simply seems not to be possible in JEXL. Is
this a bug or is the documentation simply outdated?

Any help would be very much appreciated.

Best regards,

Daniel
-- 
Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games! 
http://games.entertainment.gmx.net/de/entertainment/games/free

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message