devxlogo

Convert from grains to grams, and vice versa

Convert from grains to grams, and vice versa

' Convert from grains to grams, and vice versaFunction GrainsToGrams(ByVal grains As Double) As Double    Return grains * 0.0648End FunctionFunction GramsToGrains(ByVal grams As Double) As Double    Return grams / 0.0648End Function

devx-admin

Share the Post: