UNPKG

@putridparrot/conversion-units

Version:
1,272 lines (1,271 loc) 44.2 kB
"use strict"; // <auto-generated> // This code was generated by the UnitCodeGenerator tool // // Changes to this file will be lost if the code is regenerated // </auto-generated> Object.defineProperty(exports, "__esModule", { value: true }); exports.Volume = void 0; var Volume; (function (Volume) { var CubicFeet = /** @class */ (function () { function CubicFeet() { } CubicFeet.toMillilitres = function (value) { return value * 28316.8; }; CubicFeet.toLitres = function (value) { return value * 28.3168; }; CubicFeet.toKilolitres = function (value) { return value / 35.3147; }; CubicFeet.toTeaspoons = function (value) { return value * 4783.74; }; CubicFeet.toTablespoons = function (value) { return value * 1594.58; }; CubicFeet.toQuarts = function (value) { return value * 24.9153; }; CubicFeet.toPints = function (value) { return value * 49.8307; }; CubicFeet.toGallons = function (value) { return value * 6.22884; }; CubicFeet.toFluidOunces = function (value) { return value * 996.614; }; CubicFeet.toUSTeaspoons = function (value) { return value * 5745.04; }; CubicFeet.toUSTablespoons = function (value) { return value * 1915.01; }; CubicFeet.toUSQuarts = function (value) { return value * 29.9221; }; CubicFeet.toUSPints = function (value) { return value * 59.8442; }; CubicFeet.toUSGallons = function (value) { return value * 7.48052; }; CubicFeet.toUSFluidOunces = function (value) { return value * 957.506; }; CubicFeet.toUSCups = function (value) { return value * 117.987; }; CubicFeet.toCubicMetres = function (value) { return value / 35.3147; }; CubicFeet.toCubicInches = function (value) { return value * 1728.0; }; CubicFeet.toOilBarrels = function (value) { return value / 5.61458; }; return CubicFeet; }()); Volume.CubicFeet = CubicFeet; var CubicInches = /** @class */ (function () { function CubicInches() { } CubicInches.toMillilitres = function (value) { return value * 16.3871; }; CubicInches.toLitres = function (value) { return value / 61.0237; }; CubicInches.toKilolitres = function (value) { return value / 61023.7; }; CubicInches.toTeaspoons = function (value) { return value * 2.76837; }; CubicInches.toTablespoons = function (value) { return value / 1.08367; }; CubicInches.toQuarts = function (value) { return value / 69.3549; }; CubicInches.toPints = function (value) { return value / 34.6774; }; CubicInches.toGallons = function (value) { return value / 277.419; }; CubicInches.toFluidOunces = function (value) { return value / 1.73387; }; CubicInches.toUSTeaspoons = function (value) { return value * 3.32468; }; CubicInches.toUSTablespoons = function (value) { return value * 1.10823; }; CubicInches.toUSQuarts = function (value) { return value / 57.75; }; CubicInches.toUSPints = function (value) { return value / 28.875; }; CubicInches.toUSGallons = function (value) { return value / 231.0; }; CubicInches.toUSFluidOunces = function (value) { return value / 1.80469; }; CubicInches.toUSCups = function (value) { return value / 14.6457; }; CubicInches.toCubicMetres = function (value) { return value / 61023.7; }; CubicInches.toCubicFeet = function (value) { return value / 1728.0; }; CubicInches.toOilBarrels = function (value) { return value / 9702.0; }; return CubicInches; }()); Volume.CubicInches = CubicInches; var CubicMetres = /** @class */ (function () { function CubicMetres() { } CubicMetres.toMillilitres = function (value) { return value * 1000000.0; }; CubicMetres.toLitres = function (value) { return value * 1000.0; }; CubicMetres.toKilolitres = function (value) { return value * 1.0; }; CubicMetres.toTeaspoons = function (value) { return value * 168936.0; }; CubicMetres.toTablespoons = function (value) { return value * 56312.1; }; CubicMetres.toQuarts = function (value) { return value * 879.877; }; CubicMetres.toPints = function (value) { return value * 1759.75; }; CubicMetres.toGallons = function (value) { return value * 219.969; }; CubicMetres.toFluidOunces = function (value) { return value * 35195.1; }; CubicMetres.toUSTeaspoons = function (value) { return value * 202884.0; }; CubicMetres.toUSTablespoons = function (value) { return value * 67628.0; }; CubicMetres.toUSQuarts = function (value) { return value * 1056.69; }; CubicMetres.toUSPints = function (value) { return value * 2113.38; }; CubicMetres.toUSGallons = function (value) { return value * 264.172; }; CubicMetres.toUSFluidOunces = function (value) { return value * 33814.0; }; CubicMetres.toUSCups = function (value) { return value * 4166.67; }; CubicMetres.toCubicFeet = function (value) { return value * 35.3147; }; CubicMetres.toCubicInches = function (value) { return value * 61023.7; }; CubicMetres.toOilBarrels = function (value) { return value * 6.28981; }; return CubicMetres; }()); Volume.CubicMetres = CubicMetres; var FluidOunces = /** @class */ (function () { function FluidOunces() { } FluidOunces.toMillilitres = function (value) { return value * 28.413074243749994496; }; FluidOunces.toLitres = function (value) { return value * 0.028413074243749994496; }; FluidOunces.toKilolitres = function (value) { return value * 0.000028413074243749994; }; FluidOunces.toTeaspoons = function (value) { return value * 4.8; }; FluidOunces.toTablespoons = function (value) { return value * 1.6; }; FluidOunces.toQuarts = function (value) { return value / 40.0; }; FluidOunces.toPints = function (value) { return value / 20.0; }; FluidOunces.toGallons = function (value) { return value / 160.0; }; FluidOunces.toUSTeaspoons = function (value) { return value / 0.1734737167638313984; }; FluidOunces.toUSTablespoons = function (value) { return value / 0.52042115029149417472; }; FluidOunces.toUSQuarts = function (value) { return value / 33.306953618655629312; }; FluidOunces.toUSPints = function (value) { return value / 16.653476809327814656; }; FluidOunces.toUSGallons = function (value) { return value / 133.22781447462252544; }; FluidOunces.toUSFluidOunces = function (value) { return value / 1.0408423005829883904; }; FluidOunces.toUSCups = function (value) { return value / 8.3267384046639071232; }; FluidOunces.toCubicMetres = function (value) { return value / 35195.1; }; FluidOunces.toCubicFeet = function (value) { return value / 996.614; }; FluidOunces.toCubicInches = function (value) { return value * 1.73387; }; FluidOunces.toOilBarrels = function (value) { return value / 5595.57; }; return FluidOunces; }()); Volume.FluidOunces = FluidOunces; var Gallons = /** @class */ (function () { function Gallons() { } Gallons.toMillilitres = function (value) { return value * 4546.091879; }; Gallons.toLitres = function (value) { return value * 4.546091879; }; Gallons.toKilolitres = function (value) { return value * 0.0045460918799; }; Gallons.toTeaspoons = function (value) { return value * 768.0; }; Gallons.toTablespoons = function (value) { return value * 256.0; }; Gallons.toQuarts = function (value) { return value * 4.0; }; Gallons.toPints = function (value) { return value * 8.0; }; Gallons.toFluidOunces = function (value) { return value * 160.0; }; Gallons.toUSTeaspoons = function (value) { return value / 0.00108421072977394606; }; Gallons.toUSTablespoons = function (value) { return value / 0.003252632189321838592; }; Gallons.toUSQuarts = function (value) { return value / 0.20816846011659767808; }; Gallons.toUSPints = function (value) { return value / 0.10408423005829883904; }; Gallons.toUSGallons = function (value) { return value / 0.83267384046639071232; }; Gallons.toUSFluidOunces = function (value) { return value / 0.006505264378643677184; }; Gallons.toUSCups = function (value) { return value / 0.052042115029149417472; }; Gallons.toCubicMetres = function (value) { return value / 219.969; }; Gallons.toCubicFeet = function (value) { return value / 6.22884; }; Gallons.toCubicInches = function (value) { return value * 277.419; }; Gallons.toOilBarrels = function (value) { return value / 34.9723; }; return Gallons; }()); Volume.Gallons = Gallons; var Kilolitres = /** @class */ (function () { function Kilolitres() { } Kilolitres.toMillilitres = function (value) { return value * 1000000.0; }; Kilolitres.toLitres = function (value) { return value * 1000.0; }; Kilolitres.toTeaspoons = function (value) { return value / 0.000005919390467447916; }; Kilolitres.toTablespoons = function (value) { return value / 0.000017758171402343747; }; Kilolitres.toQuarts = function (value) { return value / 0.00113652296975; }; Kilolitres.toPints = function (value) { return value / 0.000568261484874999889; }; Kilolitres.toGallons = function (value) { return value / 0.0045460918799; }; Kilolitres.toFluidOunces = function (value) { return value / 0.0000284130742437499946; }; Kilolitres.toUSTeaspoons = function (value) { return value / 0.000004928921593749999; }; Kilolitres.toUSTablespoons = function (value) { return value / 0.000014786764781249998; }; Kilolitres.toUSQuarts = function (value) { return value / 0.000946352945999999959; }; Kilolitres.toUSPints = function (value) { return value / 0.000473176472999999979; }; Kilolitres.toUSGallons = function (value) { return value / 0.003785411784; }; Kilolitres.toUSFluidOunces = function (value) { return value / 0.0000295735296; }; Kilolitres.toUSCups = function (value) { return value / 0.000236588236499999989; }; Kilolitres.toCubicMetres = function (value) { return value * 1.0; }; Kilolitres.toCubicFeet = function (value) { return value * 35.3147; }; Kilolitres.toCubicInches = function (value) { return value * 61023.7; }; Kilolitres.toOilBarrels = function (value) { return value * 6.28981; }; return Kilolitres; }()); Volume.Kilolitres = Kilolitres; var Litres = /** @class */ (function () { function Litres() { } Litres.toMillilitres = function (value) { return value * 1000.0; }; Litres.toKilolitres = function (value) { return value / 1000.0; }; Litres.toTeaspoons = function (value) { return value / 0.005919390467447916134; }; Litres.toTablespoons = function (value) { return value / 0.017758171402343747584; }; Litres.toQuarts = function (value) { return value / 1.13652296975; }; Litres.toPints = function (value) { return value / 0.56826148487499988992; }; Litres.toGallons = function (value) { return value / 4.546091879; }; Litres.toFluidOunces = function (value) { return value / 0.028413074243749994496; }; Litres.toUSTeaspoons = function (value) { return value / 0.004928921593749999616; }; Litres.toUSTablespoons = function (value) { return value / 0.014786764781249998848; }; Litres.toUSQuarts = function (value) { return value / 0.94635294599999995904; }; Litres.toUSPints = function (value) { return value / 0.47317647299999997952; }; Litres.toUSGallons = function (value) { return value / 3.785411784; }; Litres.toUSFluidOunces = function (value) { return value / 0.029573529562499997696; }; Litres.toUSCups = function (value) { return value / 0.23658823649999998976; }; Litres.toCubicMetres = function (value) { return value / 1000.0; }; Litres.toCubicFeet = function (value) { return value / 28.3168; }; Litres.toCubicInches = function (value) { return value * 61.0237; }; Litres.toOilBarrels = function (value) { return value / 158.987; }; return Litres; }()); Volume.Litres = Litres; var Millilitres = /** @class */ (function () { function Millilitres() { } Millilitres.toLitres = function (value) { return value / 1000.0; }; Millilitres.toKilolitres = function (value) { return value / 1000000.0; }; Millilitres.toTeaspoons = function (value) { return value / 5.9193904674479161344; }; Millilitres.toTablespoons = function (value) { return value / 17.758171402343747584; }; Millilitres.toQuarts = function (value) { return value / 1136.52296975; }; Millilitres.toPints = function (value) { return value / 568.26148487499988992; }; Millilitres.toGallons = function (value) { return value / 4546.091879; }; Millilitres.toFluidOunces = function (value) { return value / 28.413074243749994496; }; Millilitres.toUSTeaspoons = function (value) { return value / 4.928921593749999616; }; Millilitres.toUSTablespoons = function (value) { return value / 14.786764781249998848; }; Millilitres.toUSQuarts = function (value) { return value / 946.35294599999995904; }; Millilitres.toUSPints = function (value) { return value / 473.17647299999997952; }; Millilitres.toUSGallons = function (value) { return value / 3785.411784; }; Millilitres.toUSFluidOunces = function (value) { return value / 29.573529562499997696; }; Millilitres.toUSCups = function (value) { return value / 236.58823649999998976; }; Millilitres.toCubicMetres = function (value) { return value / 1000000.0; }; Millilitres.toCubicFeet = function (value) { return value / 28316.8; }; Millilitres.toCubicInches = function (value) { return value / 16.3871; }; Millilitres.toOilBarrels = function (value) { return value / 158987.0; }; return Millilitres; }()); Volume.Millilitres = Millilitres; var OilBarrels = /** @class */ (function () { function OilBarrels() { } OilBarrels.toMillilitres = function (value) { return value * 158987.0; }; OilBarrels.toLitres = function (value) { return value * 158.987; }; OilBarrels.toKilolitres = function (value) { return value / 6.28981; }; OilBarrels.toTeaspoons = function (value) { return value * 26858.7; }; OilBarrels.toTablespoons = function (value) { return value * 8952.91; }; OilBarrels.toQuarts = function (value) { return value * 139.889; }; OilBarrels.toPints = function (value) { return value * 279.779; }; OilBarrels.toGallons = function (value) { return value * 34.9723; }; OilBarrels.toFluidOunces = function (value) { return value * 5595.57; }; OilBarrels.toUSTeaspoons = function (value) { return value * 32256.0; }; OilBarrels.toUSTablespoons = function (value) { return value * 10752.0; }; OilBarrels.toUSQuarts = function (value) { return value * 168.0; }; OilBarrels.toUSPints = function (value) { return value * 336.0; }; OilBarrels.toUSGallons = function (value) { return value * 42.0; }; OilBarrels.toUSFluidOunces = function (value) { return value * 5376.0; }; OilBarrels.toUSCups = function (value) { return value * 662.447; }; OilBarrels.toCubicMetres = function (value) { return value / 6.28981; }; OilBarrels.toCubicFeet = function (value) { return value * 5.61458; }; OilBarrels.toCubicInches = function (value) { return value * 9702.0; }; return OilBarrels; }()); Volume.OilBarrels = OilBarrels; var Pints = /** @class */ (function () { function Pints() { } Pints.toMillilitres = function (value) { return value * 568.26148487499988992; }; Pints.toLitres = function (value) { return value * 0.56826148487499988992; }; Pints.toKilolitres = function (value) { return value * 0.000568261484874999889; }; Pints.toTeaspoons = function (value) { return value * 96.0; }; Pints.toTablespoons = function (value) { return value * 32.0; }; Pints.toQuarts = function (value) { return value / 2.0; }; Pints.toGallons = function (value) { return value / 8.0; }; Pints.toFluidOunces = function (value) { return value * 20.0; }; Pints.toUSTeaspoons = function (value) { return value / 0.008673685838191568486; }; Pints.toUSTablespoons = function (value) { return value / 0.026021057514574708736; }; Pints.toUSQuarts = function (value) { return value / 1.6653476809327814656; }; Pints.toUSPints = function (value) { return value / 0.83267384046639071232; }; Pints.toUSGallons = function (value) { return value / 6.6613907237311258624; }; Pints.toUSFluidOunces = function (value) { return value / 0.052042115029149417472; }; Pints.toUSCups = function (value) { return value / 0.41633692023319535616; }; Pints.toCubicMetres = function (value) { return value / 1759.75; }; Pints.toCubicFeet = function (value) { return value / 49.8307; }; Pints.toCubicInches = function (value) { return value * 34.6774; }; Pints.toOilBarrels = function (value) { return value / 279.779; }; return Pints; }()); Volume.Pints = Pints; var Quarts = /** @class */ (function () { function Quarts() { } Quarts.toMillilitres = function (value) { return value * 1136.52296975; }; Quarts.toLitres = function (value) { return value * 1.13652296975; }; Quarts.toKilolitres = function (value) { return value * 0.00113652296975; }; Quarts.toTeaspoons = function (value) { return value * 192.0; }; Quarts.toTablespoons = function (value) { return value * 64.0; }; Quarts.toPints = function (value) { return value * 2.0; }; Quarts.toGallons = function (value) { return value / 4.0; }; Quarts.toFluidOunces = function (value) { return value * 40.0; }; Quarts.toUSTeaspoons = function (value) { return value / 0.004336842919095784243; }; Quarts.toUSTablespoons = function (value) { return value / 0.013010528757287354368; }; Quarts.toUSQuarts = function (value) { return value / 0.83267384046639071232; }; Quarts.toUSPints = function (value) { return value / 0.41633692023319535616; }; Quarts.toUSGallons = function (value) { return value / 3.3306953618655629312; }; Quarts.toUSFluidOunces = function (value) { return value / 0.026021057514574708736; }; Quarts.toUSCups = function (value) { return value / 0.20816846011659767808; }; Quarts.toCubicMetres = function (value) { return value / 879.877; }; Quarts.toCubicFeet = function (value) { return value / 24.9153; }; Quarts.toCubicInches = function (value) { return value * 69.3549; }; Quarts.toOilBarrels = function (value) { return value / 139.889; }; return Quarts; }()); Volume.Quarts = Quarts; var Tablespoons = /** @class */ (function () { function Tablespoons() { } Tablespoons.toMillilitres = function (value) { return value * 17.758171402343747584; }; Tablespoons.toLitres = function (value) { return value * 0.017758171402343747584; }; Tablespoons.toKilolitres = function (value) { return value * 0.000017758171402343747; }; Tablespoons.toTeaspoons = function (value) { return value * 3.0; }; Tablespoons.toQuarts = function (value) { return value / 64.0; }; Tablespoons.toPints = function (value) { return value / 32.0; }; Tablespoons.toGallons = function (value) { return value / 256.0; }; Tablespoons.toFluidOunces = function (value) { return value / 1.6; }; Tablespoons.toUSTeaspoons = function (value) { return value / 0.27755794682213023744; }; Tablespoons.toUSTablespoons = function (value) { return value / 0.83267384046639071232; }; Tablespoons.toUSQuarts = function (value) { return value / 53.291125789849001984; }; Tablespoons.toUSPints = function (value) { return value / 26.645562894924500992; }; Tablespoons.toUSGallons = function (value) { return value / 213.16450315939602432; }; Tablespoons.toUSFluidOunces = function (value) { return value / 1.6653476809327814656; }; Tablespoons.toUSCups = function (value) { return value / 13.322781447462250496; }; Tablespoons.toCubicMetres = function (value) { return value / 56312.1; }; Tablespoons.toCubicFeet = function (value) { return value / 1594.58; }; Tablespoons.toCubicInches = function (value) { return value * 1.08367; }; Tablespoons.toOilBarrels = function (value) { return value / 8952.91; }; return Tablespoons; }()); Volume.Tablespoons = Tablespoons; var Teaspoons = /** @class */ (function () { function Teaspoons() { } Teaspoons.toMillilitres = function (value) { return value * 5.9193904674479161344; }; Teaspoons.toLitres = function (value) { return value * 0.005919390467447916134; }; Teaspoons.toKilolitres = function (value) { return value * 0.000005919390467447916; }; Teaspoons.toTablespoons = function (value) { return value / 3.0; }; Teaspoons.toQuarts = function (value) { return value / 192.0; }; Teaspoons.toPints = function (value) { return value / 96.0; }; Teaspoons.toGallons = function (value) { return value / 768.0; }; Teaspoons.toFluidOunces = function (value) { return value / 4.8; }; Teaspoons.toUSTeaspoons = function (value) { return value / 0.83267384046639071232; }; Teaspoons.toUSTablespoons = function (value) { return value / 2.4980215213991718912; }; Teaspoons.toUSQuarts = function (value) { return value / 159.87337736954701824; }; Teaspoons.toUSPints = function (value) { return value / 79.936688684773507072; }; Teaspoons.toUSGallons = function (value) { return value / 639.49350947818807296; }; Teaspoons.toUSFluidOunces = function (value) { return value / 4.9960430427983437824; }; Teaspoons.toUSCups = function (value) { return value / 39.968344342386753536; }; Teaspoons.toCubicMetres = function (value) { return value / 168936.0; }; Teaspoons.toCubicFeet = function (value) { return value / 4783.74; }; Teaspoons.toCubicInches = function (value) { return value / 2.76837; }; Teaspoons.toOilBarrels = function (value) { return value / 26858.7; }; return Teaspoons; }()); Volume.Teaspoons = Teaspoons; var USCups = /** @class */ (function () { function USCups() { } USCups.toMillilitres = function (value) { return value * 236.58823649999998976; }; USCups.toLitres = function (value) { return value * 0.23658823649999998976; }; USCups.toKilolitres = function (value) { return value * 0.000236588236499999989; }; USCups.toTeaspoons = function (value) { return value * 39.968344342386753536; }; USCups.toTablespoons = function (value) { return value * 13.322781447462250496; }; USCups.toQuarts = function (value) { return value * 0.20816846011659767808; }; USCups.toPints = function (value) { return value * 0.41633692023319535616; }; USCups.toGallons = function (value) { return value * 0.052042115029149417472; }; USCups.toFluidOunces = function (value) { return value * 8.3267384046639071232; }; USCups.toUSTeaspoons = function (value) { return value * 48.0; }; USCups.toUSTablespoons = function (value) { return value * 16.0; }; USCups.toUSQuarts = function (value) { return value / 4.0; }; USCups.toUSPints = function (value) { return value / 2.0; }; USCups.toUSGallons = function (value) { return value / 16.0; }; USCups.toUSFluidOunces = function (value) { return value * 8.0; }; USCups.toCubicMetres = function (value) { return value / 4166.67; }; USCups.toCubicFeet = function (value) { return value / 117.987; }; USCups.toCubicInches = function (value) { return value * 14.6457; }; USCups.toOilBarrels = function (value) { return value / 662.447; }; return USCups; }()); Volume.USCups = USCups; var USFluidOunces = /** @class */ (function () { function USFluidOunces() { } USFluidOunces.toMillilitres = function (value) { return value * 29.573529562499997696; }; USFluidOunces.toLitres = function (value) { return value * 0.029573529562499997696; }; USFluidOunces.toKilolitres = function (value) { return value * 0.0000295735296; }; USFluidOunces.toTeaspoons = function (value) { return value * 4.9960430427983437824; }; USFluidOunces.toTablespoons = function (value) { return value * 1.6653476809327814656; }; USFluidOunces.toQuarts = function (value) { return value * 0.026021057514574708736; }; USFluidOunces.toPints = function (value) { return value * 0.052042115029149417472; }; USFluidOunces.toGallons = function (value) { return value * 0.006505264378643677184; }; USFluidOunces.toFluidOunces = function (value) { return value * 1.0408423005829883904; }; USFluidOunces.toUSTeaspoons = function (value) { return value * 6.0; }; USFluidOunces.toUSTablespoons = function (value) { return value * 2.0; }; USFluidOunces.toUSQuarts = function (value) { return value / 32.0; }; USFluidOunces.toUSPints = function (value) { return value / 16.0; }; USFluidOunces.toUSGallons = function (value) { return value / 128.0; }; USFluidOunces.toUSCups = function (value) { return value / 8.0; }; USFluidOunces.toCubicMetres = function (value) { return value / 33814.0; }; USFluidOunces.toCubicFeet = function (value) { return value / 957.506; }; USFluidOunces.toCubicInches = function (value) { return value * 1.80469; }; USFluidOunces.toOilBarrels = function (value) { return value / 5376.0; }; return USFluidOunces; }()); Volume.USFluidOunces = USFluidOunces; var USGallons = /** @class */ (function () { function USGallons() { } USGallons.toMillilitres = function (value) { return value * 3785.411784; }; USGallons.toLitres = function (value) { return value * 3.785411784; }; USGallons.toKilolitres = function (value) { return value * 0.003785411784; }; USGallons.toTeaspoons = function (value) { return value * 639.49350947818807296; }; USGallons.toTablespoons = function (value) { return value * 213.16450315939602432; }; USGallons.toQuarts = function (value) { return value * 3.3306953618655629312; }; USGallons.toPints = function (value) { return value * 6.6613907237311258624; }; USGallons.toGallons = function (value) { return value * 0.83267384046639071232; }; USGallons.toFluidOunces = function (value) { return value * 133.22781447462252544; }; USGallons.toUSTeaspoons = function (value) { return value * 768.0; }; USGallons.toUSTablespoons = function (value) { return value * 256.0; }; USGallons.toUSQuarts = function (value) { return value * 4.0; }; USGallons.toUSPints = function (value) { return value * 8.0; }; USGallons.toUSFluidOunces = function (value) { return value * 128.0; }; USGallons.toUSCups = function (value) { return value * 16.0; }; USGallons.toCubicMetres = function (value) { return value / 264.172; }; USGallons.toCubicFeet = function (value) { return value / 7.48052; }; USGallons.toCubicInches = function (value) { return value * 231.0; }; USGallons.toOilBarrels = function (value) { return value / 42.0; }; return USGallons; }()); Volume.USGallons = USGallons; var USPints = /** @class */ (function () { function USPints() { } USPints.toMillilitres = function (value) { return value * 473.17647299999997952; }; USPints.toLitres = function (value) { return value * 0.47317647299999997952; }; USPints.toKilolitres = function (value) { return value * 0.000473176472999999979; }; USPints.toTeaspoons = function (value) { return value * 79.936688684773507072; }; USPints.toTablespoons = function (value) { return value * 26.645562894924500992; }; USPints.toQuarts = function (value) { return value * 0.41633692023319535616; }; USPints.toPints = function (value) { return value * 0.83267384046639071232; }; USPints.toGallons = function (value) { return value * 0.10408423005829883904; }; USPints.toFluidOunces = function (value) { return value * 16.653476809327814656; }; USPints.toUSTeaspoons = function (value) { return value * 96.0; }; USPints.toUSTablespoons = function (value) { return value * 32.0; }; USPints.toUSQuarts = function (value) { return value / 2.0; }; USPints.toUSGallons = function (value) { return value / 8.0; }; USPints.toUSFluidOunces = function (value) { return value * 16.0; }; USPints.toUSCups = function (value) { return value * 2.0; }; USPints.toCubicMetres = function (value) { return value / 2113.38; }; USPints.toCubicFeet = function (value) { return value / 59.8442; }; USPints.toCubicInches = function (value) { return value * 28.875; }; USPints.toOilBarrels = function (value) { return value / 336.0; }; return USPints; }()); Volume.USPints = USPints; var USQuarts = /** @class */ (function () { function USQuarts() { } USQuarts.toMillilitres = function (value) { return value * 946.35294599999995904; }; USQuarts.toLitres = function (value) { return value * 0.94635294599999995904; }; USQuarts.toKilolitres = function (value) { return value * 0.000946352945999999959; }; USQuarts.toTeaspoons = function (value) { return value * 159.87337736954701824; }; USQuarts.toTablespoons = function (value) { return value * 53.291125789849001984; }; USQuarts.toQuarts = function (value) { return value * 0.83267384046639071232; }; USQuarts.toPints = function (value) { return value * 1.6653476809327814656; }; USQuarts.toGallons = function (value) { return value * 0.20816846011659767808; }; USQuarts.toFluidOunces = function (value) { return value * 33.306953618655629312; }; USQuarts.toUSTeaspoons = function (value) { return value * 192.0; }; USQuarts.toUSTablespoons = function (value) { return value * 64.0; }; USQuarts.toUSPints = function (value) { return value * 2.0; }; USQuarts.toUSGallons = function (value) { return value / 4.0; }; USQuarts.toUSFluidOunces = function (value) { return value * 32.0; }; USQuarts.toUSCups = function (value) { return value * 4.0; }; USQuarts.toCubicMetres = function (value) { return value / 1056.69; }; USQuarts.toCubicFeet = function (value) { return value / 29.9221; }; USQuarts.toCubicInches = function (value) { return value * 57.75; }; USQuarts.toOilBarrels = function (value) { return value / 168.0; }; return USQuarts; }()); Volume.USQuarts = USQuarts; var USTablespoons = /** @class */ (function () { function USTablespoons() { } USTablespoons.toMillilitres = function (value) { return value * 14.786764781249998848; }; USTablespoons.toLitres = function (value) { return value * 0.014786764781249998848; }; USTablespoons.toKilolitres = function (value) { return value * 0.000014786764781249998; }; USTablespoons.toTeaspoons = function (value) { return value * 2.4980215213991718912; }; USTablespoons.toTablespoons = function (value) { return value * 0.83267384046639071232; }; USTablespoons.toQuarts = function (value) { return value * 0.013010528757287354368; }; USTablespoons.toPints = function (value) { return value * 0.026021057514574708736; }; USTablespoons.toGallons = function (value) { return value * 0.003252632189321838592; }; USTablespoons.toFluidOunces = function (value) { return value * 0.52042115029149417472; }; USTablespoons.toUSTeaspoons = function (value) { return value * 3.0; }; USTablespoons.toUSQuarts = function (value) { return value / 64.0; }; USTablespoons.toUSPints = function (value) { return value / 32.0; }; USTablespoons.toUSGallons = function (value) { return value / 256.0; }; USTablespoons.toUSFluidOunces = function (value) { return value / 2.0; }; USTablespoons.toUSCups = function (value) { return value / 16.0; }; USTablespoons.toCubicMetres = function (value) { return value / 67628.0; }; USTablespoons.toCubicFeet = function (value) { return value / 1915.01; }; USTablespoons.toCubicInches = function (value) { return value / 1.10823; }; USTablespoons.toOilBarrels = function (value) { return value / 10752.0; }; return USTablespoons; }()); Volume.USTablespoons = USTablespoons; var USTeaspoons = /** @class */ (function () { function USTeaspoons() { } USTeaspoons.toMillilitres = function (value) { return value * 4.928921593749999616; }; USTeaspoons.toLitres = function (value) { return value * 0.004928921593749999616; }; USTeaspoons.toKilolitres = function (value) { return value * 0.000004928921593749999; }; USTeaspoons.toTeaspoons = function (value) { return value * 0.83267384046639071232; }; USTeaspoons.toTablespoons = function (value) { return value * 0.27755794682213023744; }; USTeaspoons.toQuarts = function (value) { return value * 0.004336842919095784243; }; USTeaspoons.toPints = function (value) { return value * 0.008673685838191568486; }; USTeaspoons.toGallons = function (value) { return value * 0.00108421072977394606; }; USTeaspoons.toFluidOunces = function (value) { return value * 0.1734737167638313984; }; USTeaspoons.toUSTablespoons = function (value) { return value / 3.0; }; USTeaspoons.toUSQuarts = function (value) { return value / 192.0; }; USTeaspoons.toUSPints = function (value) { return value / 96.0; }; USTeaspoons.toUSGallons = function (value) { return value / 768.0; }; USTeaspoons.toUSFluidOunces = function (value) { return value / 6.0; }; USTeaspoons.toUSCups = function (value) { return value / 48.0; }; USTeaspoons.toCubicMetres = function (value) { return value / 202884.0; }; USTeaspoons.toCubicFeet = function (value) { return value / 5745.04; }; USTeaspoons.toCubicInches = function (value) { return value / 3.32468; }; USTeaspoons.toOilBarrels = function (value) { return value / 32256.0; }; return USTeaspoons; }()); Volume.USTeaspoons = USTeaspoons; })(Volume = exports.Volume || (exports.Volume = {}));