advertisement

Find Code  Advanced Search   

browse free vb code
Submit Code
ASP,  HTML, and XML
Database
Dates  and Math
Files  and Directories
Forms  and Controls
Lists,  Collections, and Arrays
Miscellaneous
Multimedia/Games
Office/VBA
Network/Internet
Registry
Screen/Graphics
String  Manipulation
System/API
Windows  2000/XP
VB.NET/ASP.NET



advertisement
Conversion Between Different Units of Length

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

Version Compatibility:  Visual Basic 5   Visual Basic 6

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.

This code has been viewed 54157 times.

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.

code/leng_conv.zip

Sponsored Links


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers