public String toString(){
  return String.format("(%.2f,%.2f)",x,y);
}

public String toString ( ) { return String . format ( "(%.2f,%.2f)" , x , y ) ; }
returns a text representation of the coordinate ( rounded to 2 decimals )
