Re: [android-developers] How can I convert a double to a string without notation and with a high amount of accuracy in Java?

2012-02-28 Thread Harri Smått
On Feb 28, 2012, at 3:25 AM, Jeresam515 wrote: However, the value of 7^3^7 is returning as: 558546 opposed to 558545864083284007. As always help would be greatly appreciated. Firstly I would make sure c.getString(….) returns what you're expecting. Then.. Unfortunately float and

[android-developers] How can I convert a double to a string without notation and with a high amount of accuracy in Java?

2012-02-27 Thread Jeresam515
I'm trying to convert a double to a string without notation, and tried this: f= Double.valueOf(c.getString(c.getColumnIndex(NotesDbAdapter.KEY_VALUE))); NumberFormat formatter = new DecimalFormat(###.##); However, the value of 7^3^7 is returning as: 558546 opposed to