Results 1 to 2 of 2

Thread: Binary to decimal (Perl)

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2001
    Location
    Earth
    Posts
    27

    Binary to decimal (Perl)

    How I turn a binary number into its decemial equivlant in perl.

    Code:
    $bin = "1000";
    
    ???????
    None of the examples i have seen seem to help.

  2. #2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width