Formatting Bug Fix in Shopping Cart Display

Mar 2, 2011 at 2:49 PM

Hi All,

There is a formatting bug in the shopping cart that causes the line item sub total to not display currency decimal places if the total is an even dollar value.

Here is the fix that I'll integrate into the next release version.

Change the "Item Total" template as follows.


<%# (Convert.ToDouble(Eval("Quantity")) * Convert.ToDouble(Eval("UnitCost"))).ToString("N2")%>


Mar 2, 2011 at 5:23 PM

Good catch, I didn't even notice that. Thanx.