The Algorithms logo
The Algorithms
Acerca deDonar

Liters To Imperial Gallons

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

export default litersToImperialGallons