<p>You could do this:</p>
<pre><code>var mins = TimeSpan.FromHours(4.5).Minutes;
<p>Note that "converting the fraction part of hours into minutes" is a totally separate concern from displaying timespans in a certain format. To get the <code>"04:30"</code> output you've mentioned in your question, you could do:</p>
<pre><code>var fmtString = TimeSpan.FromHours(4.5).ToString(@"hh\:mm");
<p>This tip was originally posted on <a href="http://stackoverflow.com/questions/30722152/Convert%20fraction%20part%20of%20hours%20into%20minutes%20using%20sql%20or%20c#/30722174">Stack Overflow</a>.</p>
Get New Tutorials Delivered to Your Inbox
New tutorials will be sent to your Inbox once a week.