title: Suppressing a trailing "." in numerical output from Mathematica
body: <p>Is there some straightforward way to ensure that, when converted to strings, approximate numbers (i.e., numbers with the <code>Real</code> head) won't have a trailing "."? I would like it if they were to only have the decimal point in cases where there's actually a displayed fractional part. </p>
  
  <p>The solutions I've found are not robust, and depend on using <code>Precision</code> and <code>Accuracy</code> together <code>NumberForm</code> in an awkward way, or using <code>RealDigits</code> in an even more awkward way.</p>
  
  <p>Thanks in advance.</p>