Factor Conversion Tool -- fct.exe
by Isaac MCN
26 November 2001
www : http://www.oocities.org/f4ier
email: f4ier@hotmail.com
0. Introduction
Quite frankly, I'm too lazy to convert one unit of
measurement to another. For most of us, it is enough
that we know both what is each measurement unit and
the process of converting one to another. Here is a
handy little tool that I have written to handle the
time consuming conversions between measurement units,
I hope you find it useful as well.
1. Program Description
As the name implies, fct.exe converts one unit of
measurement to another. The program starts converting
units upon pressing the ENTER key.
2. Available Measurement Units
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 ( ? )
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 or km^2)
- square miles ( sq.? )
- acres ( ? )
Length
- meters ( m )
- centimeters ( cm )
- feet ( ft )
- inches ( in )
- kilometers ( km )
- nautical miles ( ? )
- statute miles ( ? )
- yards ( ? )
Mass
- kilograms ( kg )
- grams ( g )
- pounds ( lbs )
- dynes ( ? )
- ounces ( oz )
Temperature
- celsius ( °C )
- fahrenheit ( °F )
- kelvin ( K )
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 per square centimeter ( g/sq.m )
3. Notes
I had intended for the program to convert
measurement units in real-time, however thiscreates 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. Others
Suggestions, questions and corrections are always
welcome.
|