alouloun1 Posted August 23, 2010 Share Posted August 23, 2010 Hi, I need to convert a Double Value to String.I don't find a method to do that. The toString() didn't work.What is the solution ? Thank you in advance. Link to comment Share on other sites More sharing options...
buedenbenderd Posted August 24, 2010 Share Posted August 24, 2010 Have you try?str = Double.toString(value); Link to comment Share on other sites More sharing options...
hindusthankamal Posted August 24, 2010 Share Posted August 24, 2010 Double s = 12.23;String str = Double.toString(s);Now str will contain "12.23" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now