Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Format Money

Status
Not open for further replies.

asafblasberg

Programmer
Jun 22, 2004
21
US
Hello, I am building an ecommerce site.

Code experts:

Protected price as decimal
(in the sub page load)

then in the body,

i saw

Price: <%# price %>

Problems is, it outputs as:

Price: $34.9

You see? I want it to literally say $34.90. In the actual SQL Server, it says 34.90 (literally!)
So what can i do?
Thanks,
Ab
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top