The Algorithms logo
The Algorithms
À proposFaire un don

Liters To US Gallons

H
/**
 * This function converts liters to US gallons
 * https://en.wikipedia.org/wiki/Gallon
 * @constructor
 * @param {number} liters - Amount of liters to convert to gallons
 */
const litersToUSGallons = (liters) => {
  return liters / 3.785411784
}

export default litersToUSGallons