This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 1745
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
numeric overflow
Calculation of large digit-plz help
GregorianCalendar question
Implicit conversions...
why there must be L after long number