On 10/12/01 11:53 PM, "Bojan Smojver" <[EMAIL PROTECTED]> wrote:
> Terry Steichen wrote: > >> I've tried $int.valueOf($entry.elementAt(0).Price), but that has > > There are no methods Integer.valueOf(Float) nor Integer.valueOf(float) > in JDK. > >> #set($charge = 1 * $int.valueOf($entry.elementAt(0).Price)) does *not* work. > > See above. > >> #set($charge = $int.valueOf($entry.elementAt(0).Price)) does *not* work > > See above. > >> #set($charge = $entry.elementAt(0).Price) works, in the sense that it's > > I think $charge here becomes wrapped into Float by Velocity. For all practical purposes, yes. (Although it's java's reflection API doing it on the method invocation...) geir -- Geir Magnusson Jr. [EMAIL PROTECTED] System and Software Consulting You're going to end up getting pissed at your software anyway, so you might as well not pay for it. Try Open Source.
