title: Rounding summary statistics exported to LaTeX using esttab
body: <p>I want to export summary statistics table (mean, median, min, max, sd) to <code>LaTeX</code> using the <em>community-contributed</em> command <code>esttab</code> but rounding the reported statistics to two decimals. </p>
  
  <p>Below is my Stata code:</p>
  
  <pre><code>eststo sumstats1: quietly estpost sum var1 var2 var3, detail
  
  esttab sumstats1, cells("mean p50 min max sd") nonumbers label
  
  esttab sumstats1 using "$repodir/output/tables/sumstats.tex", booktabs ///
         label nonumbers cells("mean p50 min max sd") replace 
  </code></pre>
  
  <p>My results show summary statistics but many have a long list of digits after the decimal.</p>
  
  <p>Is there a way of specifying this in Stata?</p>