answersLogoWhite

0


Best Answer

In order to convert decimal to gray code use an array of int containing either a one or a zero at each position. A BitArray could also be used and might be a better choice.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you convert decimal to gray code?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you convert excess-3 to gray code?

help PLA use convert excess-3 to gray code


What is the gray code of decimal 7?

0100


How do you convert character to decimal integer?

In Excel it is the "code" function. For example, Code("A") = 65


Program to convert bcd to gray code using 8051 microcontroller.?

66666


BCD to Gray Code Converter?

BCD refers to Binary Code Decimal there are no diagrams it is just a numbers system GRAY code is a means to make one reliable state to change at a time eliminating false coding because of transitions in counters and such


How do you convert n-bits binary to gray code?

The best way is with a lookup table.


How do you convert 3.5 into a decimal?

You cannot convert a decimal into a decimal!


How do you convert to a decimal 0.2?

0.2 already is a decimal. There is nothing to convert.0.2 already is a decimal. There is nothing to convert.0.2 already is a decimal. There is nothing to convert.0.2 already is a decimal. There is nothing to convert.


What is 97 in binary code?

You can easily convert decimal to binary in the scientific calculator - for example, the scientific calculator found in Windows. In this case, type the number in decimal, then click on "binary" to convert to binary.


How do you convert 29.53 to a decimal?

Convert 29.53 to decimal


What are the disadvantages of Gray code?

Gray Code is Reflective Binary code. One of the main disadvantages of Gray code is that it is very difficult to come up with an arithmetic logic unit to support Gray code.


How do you convert in to a decimal number?

The answer will depend on what you want to convert into a decimal number.