code: public void setValue(Number number) {
  		String txt = null;
  		if (number != null) {
  			txt = this.format.format(number);
  		}
  		setText(txt);
  	}
docs: Format the number and show it.
  
  @param number Number to set.