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.

Bojan

Reply via email to