Convert String to Integer or intBy neokrates, written on April 14, 2010 |
groovy snippet |
- neokrates
- Email: uwarov@yahoo.com
- Website: http://www.thinkplexx.com
- Join date: 05-31-09
- Posts: 20
Rate it
Ad
Poll
Loading ...
Most popular search terms:
Stats
-
Since publication, this page was visited 1159 time(s).
Convert String to Integer or int in Groovy
String intValStr="10" int intVal = intValStr as int Integer intVal1 = intValStr as int println(intVal+","+intVal1) String floatValStr="10.1" float floatVal = floatValStr as float Float floatVal1 = floatValStr as float println(floatVal+","+floatVal1)
|
TAGS
|
|
SOCIAL
|



















