code: public float getFloat(int key)
      {
          Object value = map.get(key);
          if (!(value instanceof Float))
          {
              return 0.0f;
          }
          Float result = (Float)value;
          return result;
      }
docs: Returns the value of the given option. Returns 0 if the specified
  option is unknown or not a <code>float</code> value.
  
  @param key An option identifier
  @return The option value