http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2273

*** shadow/2273 Thu Jun 21 11:07:57 2001
--- shadow/2273.tmp.15984       Thu Jun 21 19:35:34 2001
***************
*** 2,9 ****
  | issue with simple math operations in template                              |
  +----------------------------------------------------------------------------+
  |        Bug #: 2273                        Product: Velocity                |
! |       Status: NEW                         Version: 1.1-rc2                 |
! |   Resolution:                            Platform: PC                      |
  |     Severity: Normal                   OS/Version: Windows NT/2K           |
  |     Priority: Other                     Component: Source                  |
  +----------------------------------------------------------------------------+
--- 2,9 ----
  | issue with simple math operations in template                              |
  +----------------------------------------------------------------------------+
  |        Bug #: 2273                        Product: Velocity                |
! |       Status: RESOLVED                    Version: 1.1-rc2                 |
! |   Resolution: INVALID                    Platform: PC                      |
  |     Severity: Normal                   OS/Version: Windows NT/2K           |
  |     Priority: Other                     Component: Source                  |
  +----------------------------------------------------------------------------+
***************
*** 82,84 ****
--- 82,95 ----
  
  ------- Additional Comments From [EMAIL PROTECTED]  2001-06-21 11:07 -------
  Oops. In the first example, obviously put the output inside the loop. Sorry :)
+ 
+ ------- Additional Comments From [EMAIL PROTECTED]  2001-06-21 19:35 -------
+ Velocity does not do floating point math in the template.  That is why the
+ summation is not working.  I would suspect that you will see notification of
+ such in the log file.
+ 
+ The general way to do this is through a context tool of some sort - we have
+ started a tool library in the Jakarta Commons sandbox if you are interested.
+ 
+ I am changing this to 'INVALID' as this is behavior is by design.  If you are
+ interested, feel free to come plead your case on the velocity-user list. 
\ No newline at end of file

Reply via email to