### Unit Conversion (Weight, Temperature, etc.)

Posted:

**Fri Jan 22, 2010 5:04 am**I was looking through the documentation and found a great tip on the Calculator page on how to set up Search Templates for use with the calculator.

One of the examples given is converting temperature from Celsius to Fahrenheit, and vice versa.

I decided to make a couple search templates for converting weight between pounds and kilograms. I also found slightly more accurate formulae for the temperature conversions while I was searching for the formulas for weight conversion, so I thought I'd share those as well.

Now, without further ado…

Of course, there's no need to stop here, but these are the ones that I use on a regular basis.

One of the examples given is converting temperature from Celsius to Fahrenheit, and vice versa.

I decided to make a couple search templates for converting weight between pounds and kilograms. I also found slightly more accurate formulae for the temperature conversions while I was searching for the formulas for weight conversion, so I thought I'd share those as well.

Now, without further ado…

Code: Select all

`Name: Convert Pounds to Kilograms`

URL: x-launchbar:calculate?argument=*&expression=@*0.4536&title=@%20lbs%20=&result=@%20kg

Encoding: UTF-8

Code: Select all

`Name: Convert Kilograms to Pounds`

URL: x-launchbar:calculate?argument=*&expression=@*2.205&title=@%20kg%20=&result=@%20lbs

Encoding: UTF-8

Code: Select all

`Name: Convert Fahrenheit to Celsius`

URL: x-launchbar:calculate?argument=*&expression=(@-32)*5/9&title=@%c2%b0F%20=&result=@%c2%b0C

Encoding: UTF-8

Code: Select all

`Name: Convert Celsius to Fahrenheit`

URL: x-launchbar:calculate?argument=*&expression=(@*9/5)+32&title=@%c2%b0C%20=&result=@%c2%b0F

Encoding: UTF-8

Of course, there's no need to stop here, but these are the ones that I use on a regular basis.