devxlogo

Convert from imperial gallons to liters, and vice versa

Convert from imperial gallons to liters, and vice versa

' Convert from imperial gallons to liters, and vice versaFunction UKGallonsToLiters(ByVal gallons As Double) As Double    Return gallons * 4.546End FunctionFunction LitersToUKGallons(ByVal liters As Double) As Double    Return liters / 4.546End Function

devx-admin

Share the Post: