title: How to round a number and make it show zeros?
body: <p>The common code in R for rounding a number to say 2 decimal points is:</p>
  
  <pre><code>&gt; a = 14.1234 
  &gt; round(a, digits=2)
  &gt; a
  &gt; 14.12
  </code></pre>
  
  <p>However if the number has zeros as the first two decimal digits, R suppresses zeros in display:</p>
  
  <pre><code>&gt; a = 14.0034
  &gt; round(a, digits=2)
  &gt; a
  &gt; 14
  </code></pre>
  
  <p>How can we make R to show first decimal digits even when they are zeros? I especially need this in plots. I've searched here and some people have suggested using <code>options(digits=2)</code>, but this makes R to have a weird behavior. </p>