Fahrenheit To Celcius Converter Function In VB


The VB codes below represents a Fahrenheit to Celcius converter function that you can use in your VB.NET or VB6 project.


Public Function FahrenheitToCelcius(ByVal Fahrenheit As Double) As Double

Dim Celcius As Double

Celcius = (Fahrenheit -32) * (5/9)

Return(Celcius)

End Function



Just copy the simple Fahrenheit To Celcius Converter Function above and paste it into your VB code to start converting.


See Also Celcius To Fahrenheit Converter

0 comments