Erich93063 (erich93063 (AT) gmail (DOT) com) writes:
Quote:
I have a price field that when I query it, it returns the price as
"5.0000". What function can I use to return the price as "5.00"? |
str(). The syntax is str(val[, width[, scale]]) if memory serves. Look it up
in Books Online for the exact details.
--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx