The Algorithms logo
The Algorithms
AboutDonate

Liters To US Gallons

P
/**
 * 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