convert variable to string in groovy code example
Example: groovy to string
class Example {
static void main(String[] args) {
Integer x = 5;
System.out.println(x.toString());
System.out.println(Integer.toString(12));
}
}