Temperature Converter That Includes Kelvins

Category:
Dates and Math
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
The following function not only does a standard conversion of fahrenheit to celsius, but includes the option to convert between any of fahrenheit, celsius and kelvins. Just include three textbox controls for the temperature, a from unit, a to unit and a command button control to execute.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: