velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serge Matveenko <>
Subject String to int
Date Thu, 06 Jul 2006 13:46:22 GMT
It might be that my question has been asked many times but i couldn't
find the answer:(

I need to convert 'String' object containing representation of the
number to 'int' value using only Velocity features.
Now i have only one solution: just write simple converting macros that
will compare each character of the string with all 10 digits.
Could somebody make it better?

Serge Matveenko
+7 911 777 42 44

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message