@Override public StringBuffer format(final double value,final StringBuffer buffer,final FieldPosition position){
  return format(Double.valueOf(value),buffer,position);
}

@ Override public StringBuffer format ( final double value , final StringBuffer buffer , final FieldPosition position ) { return format ( Double . valueOf ( value ) , buffer , position ) ; }
formats a double value as a fraction and appends the result to a stringbuffer .
