code: public static float toFloat(final Object value) {
  		if (value instanceof Float) {
  			return (float) value;
  		}
  		if (value == null) {
  			return 0;
  		}
  		return new Float(value.toString());
  	}
docs: To float.
  
  @param value the value
  @return the float