Announcement

Collapse
No announcement yet.

Common Data Types

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Common Data Types

    I am reading beginning ASP.NET in VB 2005 - and I am currently on Common Data Types, page 24. there are a few data types I don't understand.

    Int64 = An integer from -9.2e18 to 9.2e18;
    Single = -3.4e38 to 3.4e38;
    Double = -1.8e308 to 1.8e308

    The thing I don't understand is what the letters inside the integer for? Any help will be greatly appreciated.

    Cheers.

  • #2
    e = exponential. Its a mathmatical term.

    For example, Int 64 = -9.2e18 to 9.2e18 is the same as saying -9.2 * 10^18 to 9.2 * 10^18.

    (^ means to the power of by the way).

    Also, for example 9*10e2 would be the same as 9*100.

    This is done as numbers like 10^18 are really long (1000000000000000000) and much harder to read than e18. They are also a lot more easier to understand while doing calculations and reading books.

    You'll do it in GCSE Maths, and if not definitely at A Level.

    Hope that helps .
    David Smith
    Managing Director
    DPS Computing Limited

    - Massive update! (September 2011) - It's now not neglected!!
    - New Site (10/2009)

    Comment

    Working...
    X