Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Convert "double" to "String"

807589Aug 11 2008 — edited Aug 13 2008
Hi,
Need to convert a "double" to a "String" without the decimal point.
For example:
double d = 12.3456789
I wish to obtain the following "String" from this number:
123456789
Looking for suggestions on how to accomplish this.

Thanks,
Avi.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 10 2008
Added on Aug 11 2008
29 comments
763 views