title: compare 2 unix files which has different number format
body: <p>i need to compare selected fields of 2 flat files in UNIX.</p>
  
  <p>the file 1 has the amount in following  format</p>
  
  <p>-0</p>
  
  <p>-0.0</p>
  
  <p>1.2</p>
  
  <p>0.0</p>
  
  <p>1</p>
  
  <p>the file 2 has the amount in the following order</p>
  
  <p>0.00</p>
  
  <p>0.00</p>
  
  <p>1.20</p>
  
  <p>0.00</p>
  
  <p>1.00</p>
  
  <p>can you help in comparing these 2 files</p>
  
  <p>i used cut command to get desired field to compare</p>
  
  <p>cut -d '|' -f 1-45,56,67-174 filename</p>