• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Converting binary to decimal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting binary to decimal


  • Subject: Re: Converting binary to decimal
  • From: Bernardo Hoehl <email@hidden>
  • Date: Tue, 4 Jan 2005 10:21:59 -0200

Hi Jon, Gnarlie, Michelle, Emmanuel and jj.

Thanks you all for posting.

Your approaches to the problem have helped me very much in my self-education.

Just in case you wonder:

I have this eletronic circuit that senses temperature and is returning me a string of pulses (ones and zeros) meaning that 12 "ones" is 1023.75 ºC, and 12 "zeros" is 0ºC. The rest that lies in between that is pure maths.

Please allow me to correct you:

It is "Sim" and "Não" in portuguese language.

(please note the cedil on top of the "a". That cedil forces you to pronounce it "naooom")

Greetings from Brazil,

Bernardo

===============================


On 04 Jan, 2005, at 2:53 AM, Gnarlodious wrote:

Entity Bernardo Hoehl spoke thus:

Hi List.

Has anyone ever written a handler to convert binary to decimal?

Is there any built function in applescript to do it?

set binString to "11111111" do shell script "echo \"2 10 o i " & binString & " p\" | dc"

-- Gnarlie

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Converting binary to decimal
      • From: jj <email@hidden>
References: 
 >Re: Converting binary to decimal (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: Converting binary to decimal
  • Next by Date: Re: Converting binary to decimal
  • Previous by thread: Re: Converting binary to decimal
  • Next by thread: Re: Converting binary to decimal
  • Index(es):
    • Date
    • Thread