File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Longer than Long integers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Longer than Long integers" Watch "Longer than Long integers" New topic

Longer than Long integers

Darryl McCool

Joined: Jan 03, 2001
Posts: 8
Does anybody have a java package that can handle integers that are longer than the Long type in java?
Rob Ross

Joined: Jan 07, 2002
Posts: 2205
And so you do!
Check out java.math.BigInteger.

SCJP 1.4
Michael Matola
Ranch Hand

Joined: Mar 25, 2001
Posts: 1740
Sun? Try java.math.BigInteger and friends.
Darryl McCool

Joined: Jan 03, 2001
Posts: 8
Sweet! How'd I miss that?
Thanks a bundle.
I agree. Here's the link:
subject: Longer than Long integers
Similar Threads
Implicit conversions...
GregorianCalendar question
Calculation of large digit-plz help
numeric overflow
why there must be L after long number