best way to convert float into varchar in sql server
<p>What is the correct output of this SQL query in SQL Server</p>

<pre><code>DECLARE @dt float;
SET @dt = 12345678912345678912345678912345678912;
SELECT
    STR(@dt, 50)
</code></pre>

<p>Output is:</p>

<blockquote>
<pre><code>        12345678912345680000000000000000000000
</code></pre>
</blockquote>

<p>My question is What is the best way to convert float into varchar in sql server for the above value?</p>