private boolean isParsableToDouble(String i){
  return i.matches("\\d+\\.\\d+");
}

private boolean isParsableToDouble ( String i ) { return i . matches ( "\\d+\\.\\d+" ) ; }
quick method to test for a string , in a method to shield the exception from the caller .
