更新
Signed-off-by: lixiangrong <lixiangrong@pxene.com>
This commit is contained in:
parent
c94f4ce35f
commit
1a97f310b4
@ -234,13 +234,12 @@ public class TestCode {
|
|||||||
|
|
||||||
String str = null;
|
String str = null;
|
||||||
BigDecimal budget = new BigDecimal(str);
|
BigDecimal budget = new BigDecimal(str);
|
||||||
// budget = budget.subtract(new BigDecimal(10));
|
budget = budget.subtract(new BigDecimal(10));
|
||||||
// if (budget.compareTo(new BigDecimal(0)) <= 0) {
|
if (budget.compareTo(new BigDecimal(0)) <= 0) {
|
||||||
// System.out.println("1");
|
System.out.println("1");
|
||||||
// } else {
|
} else {
|
||||||
// System.out.println("2");
|
System.out.println("2");
|
||||||
// }
|
}
|
||||||
|
|
||||||
System.out.println(budget.doubleValue());
|
System.out.println(budget.doubleValue());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user