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

    Default How to capture big int?

    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?

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power

    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
    Madgaon, Goa, India
    Rep Power

    Default Re: How to capture big int?

    What, exactly, do you mean by capture?

    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, 09:29 AM
  2. Capture
    By PhQ in forum New To Java
    Replies: 7
    Last Post: 10-17-2010, 05:26 PM
  3. DVB-T capture
    By krato in forum Advanced Java
    Replies: 0
    Last Post: 08-03-2010, 11:46 PM
  4. Pixel capture
    By Maiquelnet in forum Advanced Java
    Replies: 1
    Last Post: 11-16-2009, 08:28 PM
  5. How to capture IP packets
    By Hasan in forum Networking
    Replies: 1
    Last Post: 05-31-2007, 05: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