code: public float getFloat(String name, float defaultVal){
          if(this.configuration.containsKey(name)){
              return this.configuration.getFloat(name);
          } else {
              return defaultVal;
          }
      }
docs: Get the property object as float, or return defaultVal if property is not defined.
  
  @param name
  property name.
  @param defaultVal
  default property value.
  @return
  property value as float, return defaultVal if property is undefined.