Results 1 to 2 of 2
  1. #1
    JavaJimme is offline Member
    Join Date
    Nov 2012
    Rep Power

    Default datatype: double

    Now I'm building a calculator for school but I can only go till 8 numbers if I go more then that I get this E9 etc. behind it why is that? I use the datatype double and the windows calculator can go much further then just 8 numbers.. I also want to be able to do that. On google they say I need to do something with the decimal but I can't really figure out what they mean.. What does E9 stand of anyway??

    Thanks in advance, Jimme

    datatype: double-calculator.png

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Voorschoten, the Netherlands
    Blog Entries
    Rep Power

    Default Re: datatype: double

    The 'E' stands for 'times 10 raised to the power', so your number reads ... times 10 raised to the power 9. It's 'scientific notation'.

    kind regards,

    The only person who got everything done by Friday was Robinson Crusoe.

Similar Threads

  1. JList raw datatype ...?
    By hreodbeohrt in forum New To Java
    Replies: 3
    Last Post: 11-05-2011, 05:25 AM
  2. Datatype of a class?
    By Skipito in forum NetBeans
    Replies: 5
    Last Post: 10-12-2011, 07:04 PM
  3. Replies: 2
    Last Post: 12-14-2010, 09:01 PM
  4. Replies: 6
    Last Post: 11-02-2010, 05:14 PM
  5. char datatype
    By frejon26 in forum New To Java
    Replies: 5
    Last Post: 05-04-2010, 11:21 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