title: separating fraction and integers in C
body: <p>I need to separate the integer and fraction part from decimal like 4.343.</p>
  
  <p>Do we have any function in C/C++ which gives the position of the decimal point. After getting that I guess we can convert to numbers using atoi function.</p>
  
  <p>Thanks!</p>