devxlogo

Convert from US gallons to liters, and vice versa

Convert from US gallons to liters, and vice versa

' Convert from US gallons to liters, and vice versaFunction USGallonsToLiters(ByVal gallons As Double) As Double    Return gallons * 3.785End FunctionFunction LitersToUSGallons(ByVal liters As Double) As Double    Return liters / 3.785End Function

devx-admin

Share the Post: