@Test public void getAsString_negativeIntegerAddsComma() { String result = numberConverter.getAsString(null, null, -35d); assertEquals("-35.0" , result); }
@Override public String getAsString(FacesContext context, UIComponent component, Object value) { if (value == null) { return ""; } return Double.toString((Double) value); }
NumberConverter implements Converter, Serializable { @Override public String getAsString(FacesContext context, UIComponent component, Object value) { if (value == null) { return ""; } return Double.toString((Double) value); } }
NumberConverter implements Converter, Serializable { @Override public String getAsString(FacesContext context, UIComponent component, Object value) { if (value == null) { return ""; } return Double.toString((Double) value); }  }
NumberConverter implements Converter, Serializable { @Override public String getAsString(FacesContext context, UIComponent component, Object value) { if (value == null) { return ""; } return Double.toString((Double) value); }  @Override Object getAsObject(FacesContext context, UIComponent component, String value); @Override String getAsString(FacesContext context, UIComponent component, Object value); }
NumberConverter implements Converter, Serializable { @Override public String getAsString(FacesContext context, UIComponent component, Object value) { if (value == null) { return ""; } return Double.toString((Double) value); }  @Override Object getAsObject(FacesContext context, UIComponent component, String value); @Override String getAsString(FacesContext context, UIComponent component, Object value);  }