My source code is:
public static double roundDown(double d) {
    double value = Math.floor(d * 1e2) / 1e2;
    if(Double.toString(value).contains("."))
        return value;
    else
        return Double.parseDouble(Double.toString(value)+".00");
}
when I pass 37187.200000 then output comes 37187.19 and I want it 37187.20
 
     
    