//import the DecimalFormat class..
import java.text.DecimalFormat;
Add this piece of code before printing out the result :
DecimalFormat decimalFormat = new DecimalFormat("#.##");...
Type: Posts; User: Mrc0d3r
//import the DecimalFormat class..
import java.text.DecimalFormat;
Add this piece of code before printing out the result :
DecimalFormat decimalFormat = new DecimalFormat("#.##");...