@webref jsonobject:method @brief Gets the float value associated with a key @param key a key string @see JSONObject#getInt(String) @see JSONObject#getString(String) @see JSONObject#getBoolean(String)
(String key)
| 686 | * @see JSONObject#getBoolean(String) |
| 687 | */ |
| 688 | public float getFloat(String key) { |
| 689 | return (float) getDouble(key); |
| 690 | } |
| 691 | |
| 692 | |
| 693 | public float getFloat(String key, float defaultValue) { |