Home Java Java-biginteger Java Biginteger



Java Biginteger
Posted on: December 18, 2008 at 12:00 AM
As we can convert the BigInteger to the long data type and long variable to the BigInteger similarly we can convert the BigInteger to String and String to the BigInteger vice-versa.

Java Biginteger

     

  1. Java biginteger to String
    As we can convert the BigInteger to the long data type and long variable to the BigInteger similarly we can convert the BigInteger to String and String to the BigInteger vice-versa.
     
  2. We can use the max() method of the BigInteger class to get the maximum value of the two BigInteger values. It returns the BigInteger value whose value is  greater of this and the passed variable.
     
  3. Java BigInteger long
    We can  convert the BigInteger value to the long data type and also can covert the long value to the BigInteger with the use of java.math.BigInteger class and its methods.
      
  4. Java BigInteger example
    BigInteger class provides us operations for modular arithmetic (such as add, subtract) , prime generation , bit manipula tion and many other useful operations.

Related Tags for Java Biginteger:
cstringdataconvertintegervariabletypevirsaintriabigintegerlongtobieilcanvarpeimceinasmnttrcabigintbigsimilarsginaticeandarstrrtsasimvassriringthstabablmindono


More Tutorials from this section

Ask Questions?    Discuss: Java Biginteger  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.