| 程序包 | 说明 |
|---|---|
| me.codeplayer.util |
| 限定符和类型 | 方法和说明 |
|---|---|
Arith |
Arith.add(BigDecimal d)
商业加法运算
|
Arith |
Arith.add(double d)
商业加法运算
|
Arith |
Arith.add(long d)
商业加法运算
|
Arith |
Arith.add(String d)
商业加法运算
|
Arith |
Arith.ceil()
将当前BigDecimal进行向上舍入到相邻的整数
|
Arith |
Arith.divide(BigDecimal d)
商业除法运算
|
Arith |
Arith.divide(BigDecimal d,
int scale,
RoundingMode roundingMode)
商业除法运算
|
Arith |
Arith.divide(double d)
商业除法运算
|
Arith |
Arith.divide(double d,
int scale,
RoundingMode roundingMode)
商业除法运算
|
Arith |
Arith.divide(long d)
商业除法运算
|
Arith |
Arith.divide(long d,
int scale,
RoundingMode roundingMode)
商业除法运算
|
Arith |
Arith.divide(String d)
商业除法运算
|
Arith |
Arith.divide(String d,
int scale,
RoundingMode roundingMode)
商业除法运算
|
Arith |
Arith.divideRound(BigDecimal d,
int scale)
以四舍五入的舍入方式进行商业除法运算
|
Arith |
Arith.divideRound(double d,
int scale)
以四舍五入的舍入方式进行商业除法运算
|
Arith |
Arith.divideRound(long d,
int scale)
以四舍五入的舍入方式进行商业除法运算
|
Arith |
Arith.divideRound(String d,
int scale)
以四舍五入的舍入方式进行商业除法运算
|
Arith |
Arith.floor()
将当前BigDecimal进行向下舍去到相邻的整数
|
Arith |
Arith.minus(BigDecimal d)
商业减法运算
|
Arith |
Arith.minus(double d)
商业减法运算
|
Arith |
Arith.minus(long d)
商业减法运算
|
Arith |
Arith.minus(String d)
商业减法运算
|
Arith |
Arith.multiply(BigDecimal d)
商业乘法运算
|
Arith |
Arith.multiply(double d)
商业乘法运算
|
Arith |
Arith.multiply(long d)
商业乘法运算
|
Arith |
Arith.multiply(String d)
商业乘法运算
|
Arith |
Arith.round(int newScale)
设置四舍五入的精度(即精确到的小数位数)
|
Arith |
Arith.setScale(int newScale,
RoundingMode roundingMode)
设置精度(即精确到的小数位数)
|
Copyright © 2019. All rights reserved.