title: Objective C: Formatting numbers with "just enough" decimal places
body: <p>Is there a quick way to format numbers (e.g., when using appendFormat) so that only enough decimal places are shown?  E.g., 4.23100 is shown as 4.231, while 5.0000 is shown as just 5.</p>
  
  <p>Thanks for reading.</p>