velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alec Swan <alecs...@gmail.com>
Subject Problems with #set($var = $x - $a.func("$z"))${var}
Date Wed, 24 Aug 2011 19:33:52 GMT
Hello,

I am having problems with getting the following expression to work correctly:
#set($var = $x - $a.func("$z"))${var}

Note that the following expressions work properly:
#set($var = $x)${var}
#set($var = $a.func("$z"))${var}

However, subtraction does not seem to return the expected result.

Thanks,

Alec

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Mime
View raw message