You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by bu...@apache.org on 2004/09/21 19:46:37 UTC

DO NOT REPLY [Bug 31333] - Velocity doesn't do arithmetics with java.lang.Long

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31333>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31333

Velocity doesn't do arithmetics with java.lang.Long

wglass@forio.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE



------- Additional Comments From wglass@forio.com  2004-09-21 17:46 -------
The problem is more general.  Arithmetic only works with integers, not with 
longs, doubles, or any other type of number.  There's a patch for this in 
bugzilla that has not yet been committed that adds floating point capability 
(and also the ability to work with longs).



*** This bug has been marked as a duplicate of 25874 ***

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org