Page 1 of 1

Another problem w/ variables

Posted: Sat Jun 21, 2003 3:25 pm
by Trinity
OK Guys!

Now I`m having this problem...

I`m trying to save the resoult of a factorial in a variable, but the answer in a long variable appear weird.
EX.
30!
Answer: -8764578968847253504
Which has nothing to do w/ the real answer...
What does tha `-` mean?

Then I tried to used double, but in the answer appear a `E`...
Ex.
30!
Answer: 2.652628598121911E32
I needed all the digits of the answer to solve my problem...
How can I get it?

Thanx
Trinty

Posted: Sat Jun 21, 2003 5:24 pm
by Trinity
Forget about that...

I was really happy `cause I solved the problem, and then I found out that I can not use BigIntegers...

What can I use ?!


Trinity