#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2013
    Posts
    30
    Rep Power
    2

    ASCII code and Decimal Values Difference


    Hex Binary Dec Value
    A 1010 10
    -----------------------------------------
    Letter Binary ASCII Code
    A 01000001 65

    What are their differences?
  2. #2
  3. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    13,988
    Rep Power
    9397
    Apples and oranges. The first one is just a number written in three different bases, the second is the character 'A' which can be represented in computers using the decimal number 65 (or binary 1000001 or hex 41). The two "A"s there are completely different things.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2013
    Posts
    26
    Rep Power
    0
    [Quote=Yazz]bro... in computers processors can accept only two levels of input one and zero.so for a computer to understand the hex A it should be inputted as 1010 in binary form.its actual decimal value is 10.but ascii values are different from normal hex dec and bin representations.ascii is the input given by the keys of keyboard.these things are completely different

IMN logo majestic logo threadwatch logo seochat tools logo