title: Decimal points handling within textbox in an excel form
body: <p>I want to display a number in a textbox within an excel form. report, however I only want to show any decimal points if they are present and the I only want to show 2 decimal places.</p>
  
  <p>e.g. if the number is 12 then I want to show 12</p>
  
  <p>If the number is 12.1 then I want to show 12.10</p>
  
  <p>If the number is 12.126 then I want to show 12.13</p>
  
  <p>At the moment i have the below code and it is not showing me decimal points: </p>
  
  <pre><code>Me.Amount.Value = Format(Me.Amount, "#,###")
  </code></pre>