title: subtract minutes from calculated time javascript
body: <p>I need to subtract minutes from the calculated time</p>
  
  <pre><code>var calculatedTime=11.30;// hours
  var subtractTime=40;//minutes
  var diff=calculatedTime - subtractTime;// How to do this ??
  </code></pre>
  
  <p>How to do this in javascript</p>
  
  <p>Thanks</p>