title: How to round a float value into 2 decimal place?
body: <p>I need to convert a float number into 2 decimal format.I have tried <strong><code>Math.round(AmountSpent1,2)</code></strong><br>
  This is my code:</p>
  
  <pre><code>float AmountSpent1 = float.Parse(FixedAmount);
  Math.Round(AmountSpent1, 2);
  </code></pre>