Mega Code Archive

 
Categories / Java Tutorial / Data Type
 

Multiply one BigInteger to another BigInteger

import java.math.BigInteger; public class Main {   public static void main(String[] argv) throws Exception {     BigInteger bi1 = new BigInteger("1234567890123456890");     BigInteger bi2 = BigInteger.valueOf(123L);     bi1 = bi1.multiply(bi2);   } }