68 282
Assignments Done
99%
Successfully Done
In November 2018

Answer to Question #7110 in Java | JSP | JSF for Kelvin

Question #7110
How do I convert a stringbuffer into a double in Java?
Expert's answer
StringBuffer buffer = new StringBuffer();// StringBuffer object
buffer.append
("11");//add 11 to StringBuffer
String s = buffer.toString();// convert
StringBuffer to string
double num=Double.parseDouble(s);//convert string to
double
System.out.println(num);

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions