velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <ge...@optonline.net>
Subject Re: Casting in VTL
Date Wed, 21 Feb 2001 19:45:47 GMT
Arik Levin wrote:
> 
> Hi.
> I'm new to Velocity.
> If I have :
> #set ($a = "1")
> and I want to use a's value as a number, for example :
> #set ($a = $a + 1)
> Is there any thing I can do ?

Not really.  can you set a's value to 1 a la

#set($a = 1 )

?

-- 
Geir Magnusson Jr.                               geirm@optonline.com

Developing for the web?  See http://jakarta.apache.org/velocity/

Mime
View raw message