Description Of BigInteger: multiply(BigInteger val)
The java.math.BigInteger.multiply(BigInteger val) returns a BigInteger whose value is (this * val)BigInteger.multiply(BigInteger val) method returns this * val
Code Example Java BigInteger
import java.math.BigInteger; public class BigIntegerExam { public static void main(String[] args) { BigInteger bi1 = new BigInteger("4"); BigInteger bi2 = new BigInteger("5"); System.out.println(bi1.multiply(bi2)); // output 20 System.out.println(bi2.multiply(bi1)); // output 20 } }
ไม่มีความคิดเห็น :
แสดงความคิดเห็น