devxlogo

Convert from ounces to grams, and vice versa

Convert from ounces to grams, and vice versa

' Convert from ounces to grams, and vice versaFunction OuncesToGrams(ByVal ounces As Double) As Double    Return ounces * 28.349End FunctionFunction GramsToOunces(ByVal grams As Double) As Double    Return grams / 28.349End Function

devx-admin

Share the Post: