velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LaStudent <wgol...@fh-landshut.de>
Subject String to Number/Integer
Date Tue, 05 Jul 2011 15:09:45 GMT

Hello,

is it possible to convert a String to a Number?

something like this: 
#set($tmpStr = "14")
#set($tmpInt = parseInt($tmpStr))

best regards
-- 
View this message in context: http://old.nabble.com/String-to-Number-Integer-tp31997657p31997657.html
Sent from the Velocity - User mailing list archive at Nabble.com.


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


Mime
View raw message