title: In C#, how do I get required number of decimal point values without rounding?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2453951/c-double-tostring-formatting-with-two-decimal-places-but-no-rounding">C# Double - ToString() formatting with two decimal places but no rounding</a>  </p>
  </blockquote>
  
  
  
  <p>I'm using float numbers and I want to get the number of decimal points without any rounding-off being performed.</p>
  
  <p>For Eg. float x = 12.6789
  If I want upto 2 decimal points, then I should get (x = 12.67) and NOT (x = 12.68) which happens when rounding takes place.</p>
  
  <p>Plz suggest which is the best way to do this.</p>