CONVERT_UNITS
Unit Conversion
CONVERT_UNITS is a FORTRAN90 library,
using double precision arithmetic,
which computes the conversion
factors required in going between various measurement units for angles,
area, length, pressure, temperature, time, volume, and weight.
Related Data and Programs:
CONVERTER
is a FORTRAN90 program which
can convert units interactively.
Source Code:
Examples and Tests:
List of Routines:
-
CH_CAP capitalizes a single character.
-
CHRDB2 replaces consecutive blanks by one blank.
-
CONVERT converts a given quantity to a new set of units.
-
ANGLE_CONVERT converts an angular measurement to another system.
-
ANGLE_DATA returns an angle conversion factor.
-
ANGLE_TABLE prints an angle measurement conversion table.
-
AREA_CONVERT converts an area measurement to another system.
-
AREA_DATA returns an area conversion factor.
-
AREA_TABLE prints an area measurement conversion table.
-
LBEGI compares two strings, ignoring blanks and case.
-
LENGTH_CONVERT converts a length measurement to another system.
-
LENGTH_DATA returns a length conversion factor.
-
LENGTH_TABLE prints a length measurement conversion table.
-
PRESS_CONVERT converts a pressure measurement into another system.
-
PRESS_DATA returns a pressure conversion factor.
-
PRESS_TABLE prints a pressure measurement conversion table.
-
S_EQI is a case insensitive comparison of two strings for equality.
-
TEMP_CONVERT converts a temperature measurement into another system.
-
TEMP_DATA returns a temperature conversion factor and base.
-
TEMP_TABLE prints a temperature measurement conversion table.
-
TIME_CONVERT converts a time measurment into another system.
-
TIME_DATA returns a time conversion factor.
-
TIME_TABLE prints a time measurement conversion table.
-
UNIT1_TYPE determines the type of measurement represented by a unit.
-
UNIT2_TYPE determines the type of measurement represented by two units.
-
VOLUME_CONVERT converts a volume measurement into another system.
-
VOLUME_DATA returns a volume conversion factor.
-
VOLUME_TABLE prints a volume measurement conversion table.
-
WEIGHT_CONVERT converts a weight measurement into another system.
-
WEIGHT_DATA returns a weight conversion factor.
-
WEIGHT_TABLE prints a weight measurement conversion table.
You can go up one level to
the FORTRAN90 source codes.
Last revised on 16 November 2006.