File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Big Integers Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Big Integers" Watch "Big Integers" New topic
Author

Big Integers

Cecil Phillip
Ranch Hand

Joined: Nov 05, 2001
Posts: 40
In the java.math package there a BigInteger class where you can create BigInteger objects whcih have no limit on the length of the integer value that it can hold. Does any one know how could you find the modulus of such an object when divided by another such BigInteger object
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4118
    
    2

Use the BigInteger.mod() method...
For your future reference: http://java.sun.com/j2se/1.3/docs/api/
BTW, Welcome to JavaRanch
------------------
Junilu Lacar
Sun Certified Programmer for the Java� 2 Platform
[This message has been edited by JUNILU LACAR (edited November 11, 2001).]


Junilu - [How to Ask Questions] [How to Answer Questions] [MiH]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Big Integers
 
Similar Threads
convert BigInteger to integer
BigInteger
problems with BigInteger
Comparable interface
Doubt on interface