美文网首页
2020-07-25(BigInteger的使用)

2020-07-25(BigInteger的使用)

作者: 残烛_商志飞 | 来源:发表于2020-07-25 10:08 被阅读0次

作用:用于计算超大数字;

A:BigInteger的概述

        * 可以让超过Integer范围内的数据进行运算

* B:构造方法

*         public BigInteger(String val)

* C:成员方法

        * public BigInteger add(BigInteger val)

        * public BigInteger subtract(BigInteger val)

        * public BigInteger multiply(BigInteger val)

        * public BigInteger divide(BigInteger val)

        * public BigInteger[] divideAndRemainder(BigInteger val)

相关文章

网友评论

      本文标题:2020-07-25(BigInteger的使用)

      本文链接:https://www.haomeiwen.com/subject/xwrplktx.html