title: How to convert floating value to integer with exact precision like 123.3443 to 1233443?
body: <p>Sample code:</p>
  
  <pre><code>int main() {
    float f = 123.542;
    int i = (int)f;
    printf("%d\n",i);
  }
  </code></pre>