标签:div print style compareto col new rgba rgb bsp
BigDecimal data1 = new BigDecimal("1"); BigDecimal data2 = new BigDecimal("0.01"); if (data1.compareTo(data2) < 0) { System.out.println("第二位数大!"); } if (data1.compareTo(data2) == 0) { System.out.println("两位数一样大!"); } if (data1.compareTo(data2) > 0) { System.out.println("第一位数大!"); }
标签:div print style compareto col new rgba rgb bsp
原文地址:https://www.cnblogs.com/qianxiaoPro/p/14604739.html