|
@@ -137,7 +137,7 @@ public class Constants {
|
|
|
*/
|
|
|
public static BigDecimal calcRate(long now, long before) {
|
|
|
if (0 == before) {
|
|
|
- return BigDecimal.valueOf((now*100.0)/1.0);
|
|
|
+ return BigDecimal.valueOf(100);
|
|
|
} else if (0 == now) {
|
|
|
return Constants.ZERO_RATE;
|
|
|
}else {
|