我用Java编写了以下代码;
BigDecimal price; // assigned elsewhere if (price.compareTo(new BigDecimal("0.00")) == 0) { return true; }
编写if条件的最佳方式是什么?
https://stackoverflow.com/questions/10950914
相似问题