title: asp.net division followed by formatting
body: <p>I have the following code:</p>
  
  <pre><code>&lt;tr&gt;
     &lt;td class="add_border_bold" nowrap="nowrap"&gt;Schedule Saved (days)&lt;/td&gt;
     &lt;td width="100%" class="add_border"&gt;
        &lt;%# Eval("schedule_saved_days", "{0:0,0}")%&gt;
           &amp;nbsp;
     &lt;/td&gt;
  &lt;/tr&gt;
  
  &lt;tr&gt;
     &lt;td class="add_border_bold" nowrap="nowrap"&gt;Scheduled Saved in Months&lt;/td&gt;
     &lt;td width="100%" class="add_border"&gt;
        &lt;%# Eval("schedule_saved_days", "{0:0,0}")%&gt;
        &amp;nbsp;
     &lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>What the requirement is, is to display the second 'schedule saved' in months, rather than days (for some reason they can't figure it out based on days). previously in coldfusion i had just been dividing the number by 30. i had tried a couple different things like <code>&lt;%# Eval("schedule_saved_days"/30, "{0:0,0.00}")%&gt;</code> and <code>&lt;%# Eval("schedule_saved_days/30)%&gt;</code> just to get something to work. i'm sure this is a quick fix and my google-fu is failing me. Thanks in advance.</p>