title: JsonConvert throws a 'not a valid integer' exception when deserializing to a double
body: <p>I get an exception when I try to deserialize to an object from a JSON string.</p>
  
  <p><code>Input string '46.605' is not a valid integer. Path 'LatitudeCenter'</code></p>
  
  <p>It's really weird because <code>JsonConvert</code> tries to <strong>deserialize</strong> an attribute as an integer but it actually <strong>is a double and not an integer</strong>.</p>
  
  <p>I already checked in my Web API project. The attribute in my class is a double and same in web project.</p>
  
  <p>The code I use in my web asp project:</p>
  
  <pre><code>using (var client = new HttpClient())
  {
      client.BaseAddress = new Uri("myWebApiHostedUrl");
      client.DefaultRequestHeaders.Accept.Clear();
      client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
  
      // Get the response
      HttpResponseMessage response = await client.GetAsync("api/NewMap/?SouthLatitude=46.600&amp;WestLongitude=7.085&amp;NorthLatitude=46.610&amp;EastLongitude=7.095&amp;Width=900&amp;Height=900&amp;isVoxelMap=true");
      string jsonData = response.Content.ReadAsStringAsync().Result;
  
      //Exception here
      NewMap dataMewMap = JsonConvert.DeserializeObject&lt;NewMap&gt;(jsonData, new JsonSerializerSettings() { Culture = CultureInfo.InvariantCulture,FloatParseHandling= FloatParseHandling.Double });
  }
  </code></pre>
  
  <p>Here is my class:</p>
  
  <pre><code>public class NewMap
  {
      // ...
      public double LatitudeCenter { get; set; }
      public double LongitudeCenter { get; set; }
      // ...
  }
  </code></pre>
  
  <p>My JSON content:</p>
  
  <pre><code>{
      // ...
      "LatitudeCenter":46.605,
      "LongitudeCenter":7.09,
      "SouthLatitude":46.6,
      "ImageBingUrl":null,
      "PercentEnvironement_Plain":0,
      // ...
  }
  </code></pre>