java 数字宽度对齐 问题: String ret = "[" + (isBuy ? "买" : "卖") + "] " + object + " " + quantity+ " * " + priceCurrency + " " + price ; 1 String ret = "[" + (isBuy ? "买" : "卖") + "] " + object + " " + quantity+ " * " + priceCurrency + " " + price ; 如果有多条ret pr… Read More
Java BigDecimal java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result. 问题: java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result. 1 java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result. &nbs… Read More