Android Question Sqlite real and big number input (e+xx)

Discussion in 'Android Questions' started by Alberto Michelis, Jul 2, 2015.

  1. Alberto Michelis

    Alberto Michelis Active Member Licensed User

    Hi,
    My numbers fields in sqlite are defined as real.
    If a user inserts a number bigger than 999,999 in an EditText and I save it, for ex 2,440,000 it gets saved as 2.44e+06.
    How can I convert it to a decimal number when readed?

    Thanks
     
  2. klaus

    klaus Expert Licensed User

    Alberto Michelis likes this.
  3. Alberto Michelis

    Alberto Michelis Active Member Licensed User

    Thanks! that was it!
     
Loading...