This expression is repeated multiple times in the codebase I am working with and I am just wondering if I am missing something here or if this is indeed just a strange way to round the number to three decimal places?
DecimalFormat DECIMAL_FORMAT = new DecimalFormat("##.###");
someDouble = Double.valueOf(DECIMAL_FORMAT.format(Double.valueOf(someString)));
3