public static String numberString(final int n){
switch (n) {
case 0:
    return "no";
case 1:
  return "one";
case 2:
return "two";
case 3:
return "three";
case 4:
return "four";
case 5:
return "five";
case 6:
return "six";
case 7:
return "seven";
case 8:
return "eight";
case 9:
return "nine";
case 10:
return "ten";
case 11:
return "eleven";
case 12:
return "twelve";
default :
return Integer.toString(n);
}
}

public static String numberString ( final int n ) { switch ( n ) { case 0 : return "no" ; case 1 : return "one" ; case 2 : return "two" ; case 3 : return "three" ; case 4 : return "four" ; case 5 : return "five" ; case 6 : return "six" ; case 7 : return "seven" ; case 8 : return "eight" ; case 9 : return "nine" ; case 10 : return "ten" ; case 11 : return "eleven" ; case 12 : return "twelve" ; default : return Integer . toString ( n ) ; } }
converts numbers into their textual representation .
