DecimalFormat f = new DecimalFormat("#,###.##.00");
String str = f.format(12345.67);
|
References:
My online tech scrapbook where I keep my notes in case I need to look them up later
DecimalFormat f = new DecimalFormat("#,###.##.00");
String str = f.format(12345.67);
|
Body body = new Body();
Content textContent = new Content().withData("text content");
body.withText(textContent);
Content htmlContent = new Content().withData("html content");
body.withHtml(htmlContent);
|