Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mutiplying two long digits

 
Fidel Edwards
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 !
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start here: http://compsci.ca/v3/viewtopic.php?t=13193
 
Fidel Edwards
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're welcome. I found it by googling for "biginteger tutorial".
 
Fidel Edwards
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic