show decimal places on client side division
<p>I am populating a template field using the following code</p>

<pre><code>&lt;%# ((ListData)Container.DataItem).TotalMinutes / 60.00 %&gt;
</code></pre>

<p>However, sometimes the returned value shows up like 40.5 or 29 or 34.75.</p>

<p>I would like it to always show the 2 decimal places whether it is 40.50 or 29.00 or 34.75.
The 2 decimal places should always show.</p>

<p>I also tried</p>

<pre><code>&lt;%# string.Format("{0:###.##}", (double)((PendingApprovalListData)Container.DataItem).TotalMinutes / 60D)%&gt;
</code></pre>
