DegreeC2K

Convert a Celsius temperature to a Kelvin temperature.
To convert Fahrenheit temperatures to Kelvin, use DegreeF2C, then use this one DegreeC2K

Function DegreeC2K(CDegree)
 DegreeC2K= CelsiusToKelvin(CDegree)
End Function

Function CelsiusToKelvin(DegVal)
 CelsiusToKelvin= cdbl(cdbl(DegVal) + 273.15)
End Function

Parameters

CDegree

Views 138 Downloads 64

Perm link