SyntaxFix
Write A Post
Hire A Developer
Questions
DecimalFormat df = new DecimalFormat(fmt); df.setRoundingMode(RoundingMode.DOWN); s = df.format(d);
Check available RoundingMode and DecimalFormat.
RoundingMode
DecimalFormat