public static String dotme(int val){
  int dit;
  int x=val;
  StringBuilder ret=new StringBuilder();
  if (val == 0) {
    return "0";
  }
  while (x != 0) {
    dit=x % 10;
    ret.insert(0,Integer.toString(dit));
    x=x / 10;
    if (x != 0) {
      ret.insert(0,".");
    }
  }
  return ret.toString();
}

public static String dotme ( int val ) { int dit ; int x = val ; StringBuilder ret = new StringBuilder ( ) ; if ( val == 0 ) { return "0" ; } while ( x != 0 ) { dit = x % 10 ; ret . insert ( 0 , Integer . toString ( dit ) ) ; x = x / 10 ; if ( x != 0 ) { ret . insert ( 0 , "." ) ; } } return ret . toString ( ) ; }
take the locoio version number and convert to human friendly format .
