SyntaxFix
Write A Post
Hire A Developer
Questions
If you're looking for, say two decimal places.. Float f = (float)12.34; String s = new DecimalFormat ("#.00").format (f);
Float f = (float)12.34; String s = new DecimalFormat ("#.00").format (f);