title: Decimal value is not showing proper using decimal.Parse
body: <p>I have this code in vb:</p>
  
  <pre><code>dim d As Object
  d = CDec((DateDiff("n", Format(StartTime), "hh:mm tt"), Format(EndTime), "hh:mm tt")) + 1) / 60)
  </code></pre>
  
  <p>Here, <code>StartTime</code> and <code>EndTime</code> is <code>Date</code>, and value is 09:30 AM and 06:30 PM. This gives me value 9.01666666666667</p>
  
  <p>When i Converted this in C#:</p>
  
  <pre><code>object d;
  d = decimal.Parse(((DateAndTime.DateDiff("n", StartTime.ToString("hh:mm tt"), EndTime.ToString("hh:mm tt")) + 1) / 60).ToString());
  </code></pre>
  
  <p>Here, <code>StartTime</code> and <code>EndTime</code> is <code>DateTime</code> and value is 09:30 and 18:30. This gives me value 9. 
  I do not get a decimal value. Is there  anything i am missing? Is it because the <code>EndTime</code> is in 24hrs <code>DateTime</code> format?</p>