title: Double to string with mandatory decimal point
body: <p>This is probably dumb but it's giving me a hard time. I need to convert/format a <code>double</code> to <code>string</code> with a mandatory decimal point.</p>
  
  <pre><code>1         =&gt; 1.0
  0.2423423 =&gt; 0.2423423
  0.1       =&gt; 0.1
  1234      =&gt; 1234.0
  </code></pre>
  
  <p>Basically, I want to output all decimals but also make sure the rounded values have the redundant <code>.0</code> too. I am sure there is a simple way to achieve this.</p>