C-F functie
- f = c * 9 / 5 + 32 wordt als functie:
Function fahrenheit (byVal celsius As Single) As Single
fahrenheit = celsius * 9 / 5 + 32
End Function
- c = (f - 32) * 5 / 9 wordt als functie:
Function celsius(byVal fahrenheit As Single) As Single
celsius = (fahrenheit - 32) * 5 / 9
End Function
[VB Web] - [hlrnet] - [copyright]