public JSONArray put(int index, float value) throws JSONException {
        return this.put(index, Float.valueOf(value));
    }
public JSONArray put ( int index , float value ) throws JSONException { return this . put ( index , Float . valueOf ( value ) ) ; }
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.

@param index
The subscript.
@param value
A float value.
@return this.
@throws JSONException
If the index is negative or if the value is non-finite.