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 Beginning Java and the fly likes Mutiplying two long digits 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 » Beginning Java
Bookmark "Mutiplying two long digits" Watch "Mutiplying two long digits" New topic
Author

Mutiplying two long digits

Fidel Edwards
Ranch Hand

Joined: Mar 19, 2008
Posts: 231
Hi All,

I want to multiply two long digits having at least 150 digit each. But not able to find how will I hold the result. I gone through with the BigInteger and BigDecimal also. But not able to understand that how bigger data can both hold?


Thanks in advance !


God Gave Me Nothing I Wanted, He Gave Me Everything I Needed.
OCPJP6
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41045
    
  43
Start here: http://compsci.ca/v3/viewtopic.php?t=13193


Ping & DNS - my free Android networking tools app
Fidel Edwards
Ranch Hand

Joined: Mar 19, 2008
Posts: 231
Ulf Dittmer wrote:Start here: http://compsci.ca/v3/viewtopic.php?t=13193


Thanks Ulf !

This is what I was looking for .


Thanks a lot once again.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41045
    
  43
You're welcome. I found it by googling for "biginteger tutorial".
Fidel Edwards
Ranch Hand

Joined: Mar 19, 2008
Posts: 231
Ulf Dittmer wrote:You're welcome. I found it by googling for "biginteger tutorial".


I also tried it in Google from there I came I know about BigInteger. But everything lost once I gone through with the BigInteger doumentation.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mutiplying two long digits
 
Similar Threads
What Java constant means? Give to me any exemple please...
Best option for 2 rows data
String Q
String > Integer
string extraction by giving position as first argument in command prompt