AutoHotkey Community

It is currently May 27th, 2012, 10:42 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: January 29th, 2008, 10:59 am 
Offline

Joined: April 19th, 2005, 10:26 am
Posts: 2250
Location: switzerland
thanx [VxE] , example sounds good, beep command exist also for the old calculator, soundcard is ok :)
I have formula from a book, hope it's ok
Code:
;------- formula used in gwbasic above -----
B:=20.3
F:=9/5*B+32
msgbox,20.3C is %F% Fahrenheit  (68.54)
B:=68.54
C:=(5/9)*(B-32)
msgbox,F68.54 is %C% Celsius  (20.3)
;--------------------------------------------


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 11th, 2008, 8:19 pm 
Just take a simple calculator and

To Convert Centigrade to Fahrenheit – 1.8 multiplied by the Centigrade figure and then add 32 to it

To Convert Fahrenheit to Centigrade – Minus 32 from the Fahrenheit figure and then divide by 1.8

Much ado about nothing…


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 11th, 2008, 11:06 pm 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
Popat wrote:
Much ado about nothing…
You did not get it. Not the formula is interesting (see my first post here) but the ability to include the function in a script without looking up the algorithm. Your script can pop-up an input box or, when a temperature value is selected in your document, it can convert it and write it back at a press of a hotkey. Starting a calculator is far too slow, and you need to remember the formula.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 14 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group