java.math.BigDecimal.multiply(BigInteger val) 返回一个BigInteger,其值是 (this * val)
查阅java8API手册
public class BigDecimal extends Number implements Comparable<BigDecimal>
构造方法:
BigDecimal(BigInteger val) 将 |
BigDecimal(BigInteger unscaledVal, int scale) 将BigInteger的 |
BigDecimal(BigInteger unscaledVal, int scale, |

本文介绍了Java中BigDecimal的multiply方法,详细解析了其功能,即返回与传入BigInteger值相乘的结果。通过示例代码展示用法,并提供了运行结果。
最低0.47元/天 解锁文章
4327

被折叠的 条评论
为什么被折叠?



