Floating point with more than a zero after the point is not showing up to two decimal point.
I've tried DecimalFormat to convert. It's worked for round up except(with more than a zero) ex- 25.00000
DecimalFormat df = new DecimalFormat("0.00");
df.setMinimumFractionDigits(2);
Double.parseDouble(df.format(frog_per));
I expect the output of 25.00000 to be 25.00, but the actual output is 25.0.