using vb.net/asp.net 2010
Inside a repeater I have a field
and my code
<%# String.Format("{0:p1}",DataBinder.Eval(Container.DataItem, "SalesMargin"))%>
The problem is when I return (for example) this value:
Value returned: 66.55%
The value display is
Value displayed: 6,655.0%
The percentage is already formatted when it returns from the stored proc, meaning I should show sixty-six percent something, not six-thousand perent something.
How can I change this formatting to show as I intend?
thanks
MC
...
Go to the complete details ...