## Binary Numbers – The Easy way to Calculate!

The table below explains everything!

0 |
1 |
0 |
0 |
1 |
0 |
0 |
1 |

2^{7} |
2^{6} |
2^{5} |
2^{4} |
2^{3} |
2^{2} |
2^{1} |
2^{0} |

Simply add the 2^{x} when that specific place has ‘1’ instead of ‘0’

Therefore, the example above will be **01001001** = **2 ^{6}+2^{3}+2^{0}**= 64+8+1 =

**73**

Simple and easy way to calculate binary numbers :)

OR you can simply use my Binary Swift v2 :P

## [C#] Binary Swift v2

Download url on the bottom

This is kinda my 1st C# program xD

Simply input any integer into one of the boxes, the value for others will chage too :D

Code for ‘Form 1.cs’

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Windows.Forms;

namespace WindowsFormsApplication1

{

(more…)

## [C++] Binary Swift v1

NOTE (Added 13/2/14) : Back then, I thought binary = 2bin, decimal = 10bin, hexadecimal = 16 etc. Therefore, there are mistakes in this post!!

simple version! :D

only input 10and 8bin,

Error occurs if u input 16 ir ASCII

/*

Created by Max

Bermuda’s Unscapable Triangle

https://imnotbermuda.wordpress.com/

version 1

*/ (more…)

## 2bit, 8bit, 10bit, 16bit

**What is 2bit, 8bit, 10bit, 16bit?**

2 bit (binary) means that only 2 digits are used to express numbers.

it goes same for 8,10,16.

8 bit (octect) uses 8 digits to express numbers,

10 bit (decimal) uses 10 digits to express numbers and same goes for 16(hexadecimal).

## Latest Comments