HOW TO CONVERT FRACTION DECIMAL TO BNINARY?

5 views (last 30 days)
vivek k
vivek k on 26 Feb 2013
If I have a Number, 0.98485077, how can I convert it to binary form? [SHOUTING and grammar fixed -ED]
  2 Comments
Jan
Jan on 26 Feb 2013
Writing in uppercase means shouting in internet forums. I ask you to calm down.
Which binary formn do you need? Remember that all double numbers are stored in the binary form specified by IEEE754, because the computer itself does neither contain decimal nor analog values.
Walter Roberson
Walter Roberson on 26 Feb 2013
There is no standard representation for fixed-point binary fractions. There are many different representations in use. You need to be specific about the encoding.

Sign in to comment.

Answers (0)

Categories

Find more on Data Type Conversion in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!