public JSONArray put ( int index , double value ) throws JSONException { put ( index , Double . valueOf ( value ) ) ; return this ; }
Put or replace a double value . If the index is greater than the length of the JSONArray then null elements will be added as necessary to pad it out .