title: How to parse float value from firebase database in Unity3d C#
body: <p><strong>How do I parse out numerical values vs string values in C# using firebase database? How do I get the value of <code>someNumber</code> below</strong> </p>
  
  <pre><code>//in firebase database 
  //thing["name"] = "Bob"
  //thing["someNumber"] = 35.55
  
  
      reference.Child("whatever").GetValueAsync().ContinueWith(task =&gt; {
          Dictionary&lt;string, object&gt; thing = task.Result.Value as Dictionary&lt;string, object&gt;;
          string name = thing["name"] as string; //no problems here
          float number = thing["someNumber"] as float; //compile error
      });
  </code></pre>