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

Rounding float values - help!

Status
Not open for further replies.

mhavens

IS-IT--Management
Sep 27, 2002
6
US
SELECT
ROUND(163.69999999999999,2),
ROUND(CAST(163.69999999999999 AS float),2)

163.70000000000000 163.69999999999999

Why doesn't the second value round? What about float types keeps this from rouding up?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top