public float GetFloat(String key) { Object value = GetValue(key); CheckValueType(value, typeof(float)); return (float) value; }