title: Format double type with minimum number of decimal digits
body: <p>I need to format double type so that it has minimum two decimal digits but without limitation for maximum number of decimal digits:</p>
  
  <pre><code>5     -&gt; "5.00"
  5.5   -&gt; "5.50"
  5.55  -&gt; "5.55"
  5.555 -&gt; "5.555"
  5.5555 -&gt; "5.5555"
  </code></pre>
  
  <p>How can I achieve it?</p>