Decimal To different Base[2-9] Conversion

This program converts decimal number into different base number system.

Supports Binary (base2) to base9 conversion

Sample Output

For Input 15

  • decimal-base2 for number 15 is 1111
  • decimal-base3 for number 15 is 120
  • decimal-base4 for number 15 is 33
  • decimal-base5 for number 15 is 30
  • decimal-base6 for number 15 is 23
  • decimal-base7 for number 15 is 21
  • decimal-base8 for number 15 is 17

For Input  12345678900000

  • decimal-base2 for number 12345678900000 is 10110011101001110011110011100010101100100000
  • decimal-base3 for number 12345678900000 is 1121201020100120220200022200
  • decimal-base4 for number 12345678900000 is 2303221303303202230200
  • decimal-base5 for number 12345678900000 is 3104232422244300000
  • decimal-base6 for number 12345678900000 is 42131305424333200
  • decimal-base7 for number 12345678900000 is 2412642301124415
  • decimal-base8 for number 12345678900000 is 263516363425440
Advertisements

About Lekshmana Perumal M

Proud be an Indian, passion to teaching & learn, love mathematics, enjoy with family & friends, job to code. Care about child education, Indian culture
This entry was posted in maths, Program, technology, Techonlogy, Uncategorized and tagged , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s