title: JavaScript - Receiving NAN when trying to divide a variable
body: <p>Please checkout my code:</p>
  
  <pre><code>var BasicPrice = NewPrice.substring(0, NewPrice.indexOf('лв.'));
  var HalfPrice = (Number.BasicPrice)/2;
  alert(HalfPrice);
  </code></pre>
  
  <p>I receive an output <code>NaN</code>, but when i do <code>alert(BasicPrice);</code> i receive an output like <code>83.25</code> which is a correct number but why it can not divide it properly ?</p>
  
  <p>Where is my mistake, how i can fix it?</p>
  
  <p>Thanks in advance!</p>