title: C# convert string to int json
body: <p>I encounterd an error:</p>
  
  <p>While using code:</p>
  
  <pre><code> var json = webClient.DownloadString("http://backpack.tf/api/IGetCurrencies/v1/?key=54907d14ba8d88b17d8b4655&amp;appid=440");
   Newtonsoft.Json.Linq.JObject o = Newtonsoft.Json.Linq.JObject.Parse(json);
   string BBPrice_low = (string)o["response"]["currencies"]["keys"]["price"]["value"];
   Console.WriteLine("\"" + BBPrice_low + "\"");
   int BPrice_low = (Convert.ToInt32(BBPrice_low));
  </code></pre>
  
  <p>But an error comes on the last line. It cant convert while the json string is "15.77", An convertable string, right?</p>