Put or replace a float value. If the index is greater than the length of the JSONArray, then null elements will be added as necessary to pad it out. There are no 'double' values in JSON, so this is passed to setDouble(value). @webref jsonarray:method @brief Put a float value in the JSONArray @param
(int index, float value)
| 920 | * @see JSONArray#setBoolean(int, boolean) |
| 921 | */ |
| 922 | public JSONArray setFloat(int index, float value) { |
| 923 | return setDouble(index, value); |
| 924 | } |
| 925 | |
| 926 | |
| 927 | /** |