|
BigDecimal divideCount = dbCount.divide(totalCount,2,RoundingMode.HALF_DOWN);
|
|
BigDecimal divideCount = dbCount.divide(totalCount,2,RoundingMode.HALF_DOWN);
|
|
BigDecimal thresholdCount = new BigDecimal(threshold).setScale(2,RoundingMode.HALF_DOWN);
|
|
BigDecimal thresholdCount = new BigDecimal(threshold).setScale(2,RoundingMode.HALF_DOWN);
|
|
log.info("modelThreshold--{},{},{},{}",threshold,divideCount,thresholdCount,divideCount.compareTo(thresholdCount));
|
|
log.info("modelThreshold--{},{},{},{}",threshold,divideCount,thresholdCount,divideCount.compareTo(thresholdCount));
|