Why is casting from float to varchar being rounded in SQL Server?

Also from your link (it’s actually the first line):

Approximate-number data types…

If you want exact precision, don’t use float.

That being said, there is a function STR() specifically for converting float to a character data type.

Leave a Comment