Celcius To Fahrenheit Converter Function In VB


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



Public Function CelciusToFahrenheit(ByVal Celcius As Double) As Double

Dim Fahrenheit As Double

Fahrenheit = (Celcius * 9/5) +32

Return(Fahrenheit)

End Function


Copy and paste the simple Celcius To Fahrenheit Converter Function above into your Visual Basic code and start converting.


See Also Fahrenheit To Celcius Converter

0 comments