Conversion Between Different Units of Length

Category:
Dates and Math
Type:
Modules
Difficulty:
Beginning
Author:
Jay

Version Compatibility: Visual Basic 5

More information:
This module allows you to convert between various units of length or distance and is very useful for science or technical programming. It handle conversions between the following units of length:
  • A = Angstroms (10 billionth of a meter)
  • nm = Nanometers
  • um = Micrometers (Sometimes called microns)
  • mm = Millimeters
  • cm = Centimeters
  • in = Inches
  • ft = Feet
  • yd = Yards
  • m = Meters
  • km = Kilometers
  • mi = Miles (statute)
  • nmi = Nautical Miles
  • AU = Astronomical Units (as defined by the IAU)
  • LY = Light Years (Julian Years)
  • psc = Parsecs
A readme file, included with the package, contains more information about usage.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download leng_conv.zip