Currency values , missing 0

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
 
R

Rob T

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}")%>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top