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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Round function. Its very urgent.

Status
Not open for further replies.

rpal

Programmer
Jun 16, 2003
37
US
Using ROUND function I can get round after decimal but I want to display only 2 decimals after the point.

Ex:
ROUND(2275.4559, 2) Results: 2275.4600
But I want to display only 2275.46


Thanks in advance.
 
Code:
CONVERT(VARCHAR,CAST(ROUND(2275.4559, 2) AS MONEY),1)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top