convert float into varchar in SQL server without scientific notation

前端 未结 13 1381
被撕碎了的回忆
被撕碎了的回忆 2020-12-01 13:46

convert float into varchar in SQL server without scientific notation and trimming decimals.

for Ex:

i have float value 1000.2324422, then it

13条回答
  •  一整个雨季
    2020-12-01 14:08

    This works:

    Suppose

    dbo.AsDesignedBites.XN1E1 = 4016519.564`
    

    For the following string:

    'POLYGON(('+STR(dbo.AsDesignedBites.XN1E1, 11, 3)+'...
    

提交回复
热议问题