You can use DecimalFormat, but like I keep saying, that's not going to work for arbitrarily large numbers. If I was an instructor grading this program, I promise I would use Double.MAX_VALUE as a...
Type: Posts; User: KevinWorkman
You can use DecimalFormat, but like I keep saying, that's not going to work for arbitrarily large numbers. If I was an instructor grading this program, I promise I would use Double.MAX_VALUE as a...
Doubles might seem to work, but if there really is no limit on how many characters your digits can have, double won't cover all cases.
If you don't believe me, check out Double.MAX_VALUE. What...
I'm only guessing because I don't have your requirements in front of me, but this is a pretty common homework assignment. You won't be able to multiply arbitrary-sized numbers by using a standard...
You could probably use BigInteger, but I would guess you're supposed to write code that computes the answer manually. How do you multiply large numbers without a computer?