Thread: binary to decimal

  1. #1
    Registered User
    Join Date
    Mar 2005
    Posts
    36

    Question binary to decimal

    Can anybody please tell me how i can convert a binary number to decimal.
    And, if its at all possible, how to do it without knowing how many digits are in the binary number

    Thanks

  2. #2
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    Google is king: http://www.google.com/search?q=conve...utf-8&oe=utf-8

    I would tell you myself, but there are plenty of sites that do it better.

  3. #3
    Registered User
    Join Date
    Mar 2005
    Posts
    36
    thanx that helped

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. I need help with decimal to binary Algorithm
    By webznz in forum C Programming
    Replies: 4
    Last Post: 03-13-2008, 03:52 AM
  2. Confused by expression.
    By Hulag in forum C Programming
    Replies: 3
    Last Post: 04-07-2005, 07:52 AM
  3. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  4. binary to decimal
    By miryellis in forum C Programming
    Replies: 7
    Last Post: 03-14-2004, 08:35 PM
  5. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM