R/unitconversion.gallon.to.liter.R

Defines functions unitconversion.gallon.to.liter

Documented in unitconversion.gallon.to.liter

#' Unit Conversion - Liquid Volume -  Gallon to Liter
#' 
#' Performs a conversion of volumes from gallons to liters. 
#'
#' @param x Vector - Values in units of gallons
#'
#' @return x, but converted to liters 
#'
#' @references
#' NIST. Handbook 133 - Checking the Net Contents of Packaged Goods - Appendix E -  General Tables of Units of Measurement. 2020.  
#' https://www.nist.gov/system/files/documents/2019/12/03/00-20-h133-apdxE_final-17.pdf 
unitconversion.gallon.to.liter <- function(
  x = 1
) {
  x * 3.785411784
}

#' @rdname unitconversion.gallon.to.liter
unitconversion.gal.to.L <- unitconversion.gallon.to.liter
burrm/lolcat documentation built on Sept. 15, 2023, 11:35 a.m.