title: r keeping 0.0 when using paste or paste0
body: <p>This is a simple question but it is starting to annoy me that I cant find a solution....</p>
  
  <p>I would like to be able to keep the 0.0 when using it as an output when using paste or paste0 so if i have the following:</p>
  
  <pre><code>y &lt;- c(-1.5,-1.0,-0.5,0.0,0.5,1.0,1.5)
  &gt; y
  [1] -1.5 -1.0 -0.5  0.0  0.5  1.0  1.5
  paste0("x",y,"x")
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>[1] "x-1.5x" "x-1x"   "x-0.5x" "x0x"    "x0.5x"  "x1x"    "x1.5x" 
  </code></pre>
  
  <p>but want:</p>
  
  <pre><code>[1] "x-1.5x" "x-1.0x"   "x-0.5x" "x0.0x"    "x0.5x"  "x1.0x"    "x1.5x" 
  </code></pre>