double to String problem
I designed a reporting engine that calculats totals at the end, so I needed
to convert double to String, in order to append it to a StringBuffer variable.
String text = new String().valueOf(double);
StringBuffer strBuf = new StringBuffer();
But after the convertion the value 6.20, for instance, becomes
Do you have any suggestions?
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL