devxlogo

CelsiusToFahrenheit, FahrenheitToCelsius – Convert temperature values

CelsiusToFahrenheit, FahrenheitToCelsius – Convert temperature values

' convert from Celsius to Fahrenheit degreesFunction CelsiusToFahrenheit(ByVal value As Single) As Single    CelsiusToFahrenheit = value * 1.8 + 32End Function' convert from Fahrenheit to Celsius degreesFunction FahrenheitToCelsius(ByVal value As Single) As Single    FahrenheitToCelsius = (value - 32) / 1.8End Function

devx-admin

Share the Post: