You can convert a decimal number to its binary equivalent as follows:

 

1.  Divide the given number by 2 as long as you get 0 as quotient.

2.  Form a number using remainders (0 or 1) after each division in step 1.

3.  Reverse the number formed in step 2.

 

Here's an example:

 

The binary equivalent of 26 is calculated as follows:

 

1.  Divide 26 by 2 as long as we get a 0 quotient. This is shown in the
following table.

 


Number to Divide by 2

Quotient

Remainder


26

13

0


13

6

1


6

3

0


3

1

1


1

0

1

 

 

2.  Now, form a number by picking up digits in the Remainder column. The
number is 01011.

3.  Reverse the number. So, we get 11010.

 

Hence the binary equivalent of 26 is 11010.

 

Hth.

 

Best Regards,

Zujar...

 

An optimist laughs to forget, whereas a pessimist forgets to laugh!

 

 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Mukesh Sharma
Sent: Friday, June 11, 2010 6:09 PM
To: [email protected]
Subject: Re: [AI] Bianary language.

 

Open calculator, go to view menu and select Scientific. Now type any number

and to see it's binary value press f8 and to switch back to decimal press f6

 

You can use copy command to copy result.

 

 

-----Original Message-----

From: [email protected]

[mailto:[email protected]] On Behalf Of Mohammad

Parvesh

Sent: Friday, June 11, 2010 3:42 PM

To: accessindia

Subject: [AI] Bianary language.

 

Hi all,

Can any one describe how can we write different figures in bianary language.

 

--

Thanks and regards

 

Voice your thoughts in the blog to discuss the Rights of persons with

disability bill at:

http://www.accessindia.org.in/harish/blog.htm

 

To unsubscribe send a message to [email protected] with

the subject unsubscribe.

 

To change your subscription to digest mode or make any other changes, please

visit the list home page at

  http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in

 

 

Voice your thoughts in the blog to discuss the Rights of persons with
disability bill at:

http://www.accessindia.org.in/harish/blog.htm

 

To unsubscribe send a message to [email protected] with
the subject unsubscribe.

 

To change your subscription to digest mode or make any other changes, please
visit the list home page at

  http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in

No virus found in this incoming message.

Checked by AVG - www.avg.com 

Version: 9.0.829 / Virus Database: 271.1.1/2931 - Release Date: 06/11/10
12:05:00

Voice your thoughts in the blog to discuss the Rights of persons with 
disability bill at:
http://www.accessindia.org.in/harish/blog.htm

To unsubscribe send a message to [email protected] with 
the subject unsubscribe.

To change your subscription to digest mode or make any other changes, please 
visit the list home page at
  http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in

Reply via email to