title: How to get a float from a db in android
body: <p>My db has a column to save float values.</p>
  
  <p>It works fine when I get float value like 1  or 1.2  or 1.23,</p>
  
  <p>but when I want to get 1.234 ,Cursor.getString returns 1234,and Cursor.getFloat returns 1234.0</p>
  
  <p>I want to get 1.2345 ,Cursor.getString returns 12345 and Cursor.getFloat returns 12345.0</p>
  
  <p>I tried to change db column type to DEC、text、varchar、float but none of them works.</p>
  
  <p>How can I get value correctly?</p>