Results 1 to 3 of 3
  1. #1
    athar is offline Member
    Join Date
    Feb 2013
    Posts
    9
    Rep Power
    0

    Default How to capture big int?

    Hi
    I have amount as 33333333333333333.00 when i capture this in decimal it is showing me scientific value as xxxxE5. I am calculating sum of all the amount. Which is the best way to hold this value?
    Thanks

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: How to capture big int?

    If all values and their calculation results will be whole numbers, then BigInteger is the way to go. However if you may need to use or return floating point values, then consider using BigDecimal.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,455
    Rep Power
    20

    Default Re: How to capture big int?

    What, exactly, do you mean by capture?

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. JMF! (Capture Device in use.
    By Mr777 in forum Advanced Java
    Replies: 1
    Last Post: 11-24-2011, 10:29 AM
  2. Capture
    By PhQ in forum New To Java
    Replies: 7
    Last Post: 10-17-2010, 06:26 PM
  3. DVB-T capture
    By krato in forum Advanced Java
    Replies: 0
    Last Post: 08-04-2010, 12:46 AM
  4. Pixel capture
    By Maiquelnet in forum Advanced Java
    Replies: 1
    Last Post: 11-16-2009, 09:28 PM
  5. How to capture IP packets
    By Hasan in forum Networking
    Replies: 1
    Last Post: 05-31-2007, 06:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •