title: How do i parse these two string inside this function in order to be used inside my positions={} , i need integers
body: <p>I need to parse my "M" and "N", inside my 
  
  <pre><code>return (
   &lt;Map
     google={this.props.google}
     zoom={14}
     style={mapStyles}
     initialCenter={{
        lat: 32.71573699,
        lng: -117.16108799
     }}
   &gt;
   {this.props.policeCall.map(({ A, M, N }) =&gt; {
      return (
        &lt;Marker
          onClick={this.onMarkerClick}
          name={A}
          position={{ lat: M, lng: N }}
        /&gt;)             
    })}
  
   {this.props.policeCall.map(({  M, N }) =&gt; {
      return (
          &lt;HeatMap
            gradient={gradient}
            opacity={3}
            positions={{lat: parseFloat(M), lng: parseFloat(N)}} // parse this part
            radius={30}
          /&gt;)
   })}
   &lt;InfoWindow
     marker={this.state.activeMarker}
     visible={this.state.showingInfoWindow}
     onClose={this.onClose}
   &gt;
     &lt;div&gt;
       &lt;h4&gt;{this.state.selectedPlace.name}&lt;/h4&gt;
     &lt;/div&gt;
   &lt;/InfoWindow&gt;
   &lt;/Map&gt;
  );
  </code></pre>
  
  <p>How can i parse my and <code>n</code> ? my <code>M</code> and <code>N</code> are part of a big array, only calling keys m and n for my heatmap but parse them and use them as a floats for my positions. I am using Redux with react and passing data from a different .js file that has a huge array inside of it </p>