Bows. Thank you gentlemen. I had ways around the problem, but I imagine lots of sites having strange behavior suddenly with upgrades. There is no fault for people helping their community but I am glad the problem was found before a new formal version of Velocity was cut.
JohnE ----- Original Message ----- From: Will Glass-Husain <[EMAIL PROTECTED]> Date: Monday, April 11, 2005 9:19 pm Subject: Re: Problem with decimal in most recent snapshot > John, > > This is now fixed. Download the latest source with svn or wait > for the > snapshot download to be updated tonight. > > Thanks again for finding this. Obviously the fault was mine. ;-) > > Best, > > WILL > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: "Velocity Users List" <[email protected]>; > "jian chen" > <[EMAIL PROTECTED]> > Sent: Monday, April 11, 2005 4:55 PM > Subject: Problem with decimal in most recent snapshot > > > >I am attempting to upgrade from Velocity 1.4 to the 1.5's most > recent > >snapshot. > > > > Basically I am getting a decimal when I should be getting an int > with the > > following code I use in production already: > > > > #set ($colSize = ($jpPop.size() / 3) - 1) > > THE COLUMN SIZE IS $colSize > > > > > > when colSize is printed out it gives a number like 6.3333333 > when all > > values in this calculation are integer. I should get 6 as an > int > > according to the documentation. > > > > From what I can see there is no way to make a float an integer > either. > > This too I would imagine could be a problem. > > > > I was hoping to push this into production tonight but it will > have to wait > > till I can figure out what to do with the potential affects this > could > > have to the whole system or...it gets resolved. > > > > I was hoping to upgrade to help me remove the memory leak as a > possible > > reason why my Tomcat 4.1.30 service is instable and going down > with no > > warnings repeatedly during the day. > > > > JohnE > > > > > > > > ----------------------------------------------------------------- > ---- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: velocity-user- > [EMAIL PROTECTED]> > > > ------------------------------------------------------------------- > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
