Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

big number issue  RSS feed

 
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!
 
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
 
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.
 
Now I am super curious what sports would be like if we allowed drugs and tiny ads.
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!