Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

big number issue

 
sarah Marsh
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

How JSP handle the big number? What I except is 10000000, but I got 1 on the page; What I except is 20000000, but I only got 2 on the page.

Thanks a lot!
 
Shailesh Kini
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry

Not clear what are you trying to do. Could you explain more... like give out a code snippet or something to look at.

cheers
skini
 
Kalai Selvan
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I don't think, i understood the question properly. But anywayz you can use java.math.BigInteger to handle such big numbers.

Bye,
Kalai S.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic