Factor Conversion Tool

by Isaac MCN
f4ier@hotmail.com
26 November, 2001


0.  Introduction

There are many tools out there similar to this one, but most of the good ones are overkill for my hobby of loudspeaker simulation, design and construction.  Here is a handy little tool that I have written to handle the time consuming conversions between measurement units.  I hope you find the utility useful as well.

 

1.  Program Description

As the name implies, the utility converts one unit of measurement to another. The program starts converting units upon pressing the ENTER key.

 

2.  Available Measurement Units

2.0.  Volume

- cubic meters ( cu.m or m^3 )
- cubic centimeters ( cu.cm or cm^3 )
- cubic feet ( cu.ft or ft^3 )
- cubic inches ( cu.in or in^3 )
- liters ( l )
- gallons ( ? )
- pints ( ? )

2.1.  Area

- square meters ( sq.m or m^2 )
- square centimeters ( sq.cm or cm^2 )
- square feet ( sq.ft or ft^2 )
- square inches ( sq.in or in^2 )
- square kilometers ( sq.km )
- square miles ( ? )
- acres ( ? )

2.2.  Length

- meters ( m )
- centimeters ( cm )
- feet ( ft )
- inches ( in )
- kilometers ( km )
- nautical miles ( ? )
- statute miles ( ? )
- yards ( ? )

2.3.  Mass

- kilograms ( kg )
- grams ( g )
- pounds ( lbs )
- dynes ( ? )
- ounces ( oz )

2.4.  Temperature

- celsius ( °C )
- fahrenheit ( °F )
- kelvin ( K )

2.5.  Pressure

- atmospheres ( Pa )
- millimeters mercury ( mm-Hg )
- kilograms per square meter ( kg/sq.m )
- pounds per square inch ( lbs/sq.in )
- pounds per square foot ( lbs/sq.ft )
- grams ( q/sq.m )

 

3. Notes

I had intended for the program to convert measurement units in real-time, however this creates a problem which causes the program to be unstable. For example, while the user is changing a value in any edit box, the values in the relevant edit boxes are consequently changed as well. Now, since those edit boxes are now modified, the program will now try to calculate the rest of the edit box values with respect to the new values in each edit boxes and so on... Making the program work this way will almost certainly put the program in an infinite loop, which may or may not hang your computer. The current program setting is far more stable and is still quite "fast" when doing conversions.


3.1 Corrections

24 March 2002 -- corrected conversion to/from miles

 

4. Download Details

The ZIP file (155kB) contains the program itself and a file, "fct notes.txt" containing this page without the images.



Back to main page...