1. Integer/Decimal to String
Integer i = 12;
String s = i.format();
System.debug(s);
  1. String to Integer
String s = '12';
Integer i = Integer.valueof(s);
System.debug(i);