title: Cannot convert type 'string' to 'float'
body: <p>I am getting this error:</p>
  
  <pre><code>Cannot convert type 'string' to 'float'
  </code></pre>
  
  <p>on following lines of code:</p>
  
  <pre><code>float x=(float )(TextBox_item_price.Text);
  </code></pre>
  
  <p>How can I solve this?</p>