title: Truncating double without rounding in C
body: <p>Lets consider we have a <code>double R = 99.999999;</code> (which may be  obtained by a result of some other computation),now the desired output is <strong>99.99</strong></p>
  
  <p>I tried using <code>printf("%.2lf",R);</code> but it's rounding off the value.How to get the desired output ? (preferably using <code>printf</code>)</p>