Hi,
Just do this
Double mynewdouble = new Double(str);
There are built int objects that can take string as a constructor init
argument.
The bad part is now you have a heavyweight object, but it works fine.
If you want then you can put it into a normal double:
double mydouble = mynewdouble;
2010/5/26 niko20 nikolatesl...@yahoo.com
Hi,
Just do this
Double mynewdouble = new Double(str);
There are built int objects that can take string as a constructor init
argument.
The bad part is now you have a heavyweight object, but it works fine.
If you want then you can put it into a
Ah,
I missed that you were saying there was a comma in the decimal
Yes, you have to replace it, no way around that. I ran into that same
thing as well. Android doesnt handle that correctly automatically
-niko
On May 26, 11:11 am, Faust Nijhuis faustnijh...@gmail.com wrote:
2010/5/26 niko20
3 matches
Mail list logo