Currency values , missing 0

  • Thread starter Thread starter hoz
  • Start date Start date
H

hoz

Hi ,
this is the problem i face : 0,75 comes as ,75 . How can i take it as 0,75 .
i am using convert but this doesnt give ","
here is the code :
<%# DataBinder.Eval(Container.DataItem,"price","{0:#,#.##}")%>

in db, price is money and its value is 0,75
 
Late response but you can try replaceing the '#' with a '0'. '0' will force
a digit to display.

<%# DataBinder.Eval(Container.DataItem,"price","{0:#,0.00}")%>
 
Back
Top