Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: algoritm of Convert hex to floating point

  1. #1
    Junior Member mr.dp's Avatar
    Join Date
    Aug 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question algoritm of Convert hex to floating point

    Hello guys.

    I wanna write a program that take an Hexadecimal and convert it to floating-point .
    what should I do ?

    I search in Forums and I don't find any Solved question about it !


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: algoritm of Convert hex to floating point

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

    Give an example of a Hex number converted to floating point. Can you do it on paper?

  3. #3
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: algoritm of Convert hex to floating point

    what should I do ?
    Search the internet, search the java API (for instance: Double (Java Platform SE 7 ) ), and make an attempt. This forum is not a substitute for doing your own research, but is useful if you get stuck provided one explains the problem in the form of an example.

  4. #4
    Junior Member mr.dp's Avatar
    Join Date
    Aug 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: algoritm of Convert hex to floating point

    I mean that I need help for make an algorithm for it . first . that's it

    OK , excuse me
    There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors

  5. #5
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: algoritm of Convert hex to floating point

    That's not how it works. Refer to copeg's post.

Similar Threads

  1. cannot enter a floating point number
    By Tedstriker in forum What's Wrong With My Code?
    Replies: 3
    Last Post: July 5th, 2013, 06:37 PM
  2. Replies: 1
    Last Post: May 13th, 2013, 05:09 PM
  3. regarding floating point
    By deependeroracle in forum Java Theory & Questions
    Replies: 3
    Last Post: January 10th, 2012, 11:18 AM

Tags for this Thread