title: How to convert a multidimensional array of strings to floats with jQuery?
body: <p>I am returning a large JSON object, and every element within a specific section is a string. I need to be able to convert all of these to floats.</p>
  
  <p><strong>How the array currently is:</strong></p>
  
  <pre><code>[
      ["1402408800","0.0"],
      ["1402408800","0.0"],
      ["1402408800","0.0"],
  ]
  </code></pre>
  
  <p><strong>How it needs to be after conversion:</strong></p>
  
  <pre><code>[
      [1402408800,0.0],
      [1402408800,0.0],
      [1402408800,0.0],
  ]
  </code></pre>
  
  <p>I am able to reference this array with <code>v.PriceHistory</code>, so I attempted the following:</p>
  
  <pre><code>var newArr = [];
  for (var i = 0; i &lt; v.PriceHistory.length; i++) {
      parseFloat(v.PriceHistory[i]);
      newArr += v.PriceHistory[i];
  }
  </code></pre>
  
  <p>Although, the above just returns it all as a single array, and not back into its original format.</p>
  
  <p>Tried a few things and looked online, but there were none about converting a multidimensional array.</p>