Following sql
declare @a as float, @b as float select @a=1.353954 , @b=1.353956 select CAST(@a as VARCHAR(40)) AS a_float_to_varchar , CAST(@b as VARCHAR(4
Also from your link (it's actually the first line):
Approximate-number data types...
If you want exact precision, don't use float.
float
That being said, there is a function STR() specifically for converting float to a character data type.