Posted on 2013-10-29
I am not very good at asp.net but am learning. I was asked to make a couple of changes on a client's site.
Here is the current code:
<td><asp:Label ID="_budgetMcfe" runat="server" ></asp:Label></td>
<td><asp:Label ID="_actualMcfe" runat="server" ></asp:Label></td>
This displays two numbers in each cell. I want to display 4 numbers, two in each cell separated by " / ". The 2nd number is simply the current value divided by 6.
So, I want _budgetMcfe / _budgetMcfe/6 in the first cell and _actualMcfe / _actualMcfe/6 in the 2nd cell that would look something like this:
1800 / 300 2400 / 400
I would think this would be very easy but what I thought would be obvious did not work.