title: iOS round a float
body: <p>I have a floating point number that have more decimal digits, for example:</p>
  
  <pre><code>float fRes = 10.0 / 3.0;
  </code></pre>
  
  <p>actually the fRes value is 3.3333333333333
  it's possible set for example 2 decimal digits:</p>
  
  <pre><code>float fRes = 10.0 / 3.0;
  // fRes is 3.333333333333333333333333
  float fResOk = FuncRound( fRes, 2 );
  // fResOk is 3.33
  </code></pre>
  
  <p>thanks in advance</p>