diff --git a/Common/UnitDefinitions/Acceleration.json b/Common/UnitDefinitions/Acceleration.json
index 8fc62f841e..506c7935ac 100644
--- a/Common/UnitDefinitions/Acceleration.json
+++ b/Common/UnitDefinitions/Acceleration.json
@@ -75,14 +75,14 @@
"L": "NauticalMile",
"T": "Second"
},
- "FromUnitToBaseFunc": "{x} * 0.5144444444444",
- "FromBaseToUnitFunc": "{x} / 0.5144444444444",
+ "FromUnitToBaseFunc": "{x} * (1852.0 / 3600.0)",
+ "FromBaseToUnitFunc": "{x} / (1852.0 / 3600.0)",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "kn/s" ]
},
- {
+ {
"Culture": "ru-RU",
"Abbreviations": [ "узел/с" ]
}
@@ -95,14 +95,16 @@
"L": "NauticalMile",
"T": "Minute"
},
- "FromUnitToBaseFunc": "{x} * 0.5144444444444 / 60",
- "FromBaseToUnitFunc": "{x} / 0.5144444444444 * 60",
+ "XmlDocSummary": "The knot (/nɒt/) is a unit of speed equal to one nautical mile per hour, exactly 1.852 km/h (approximately 1.151 mph or 0.514 m/s).",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Knot_(unit)",
+ "FromUnitToBaseFunc": "{x} * (1852.0 / 3600.0) / 60",
+ "FromBaseToUnitFunc": "{x} * 60 / (1852.0 / 3600.0)",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "kn/min" ]
},
- {
+ {
"Culture": "ru-RU",
"Abbreviations": [ "узел/мин" ]
}
@@ -115,14 +117,16 @@
"L": "NauticalMile",
"T": "Hour"
},
- "FromUnitToBaseFunc": "{x} * 0.5144444444444 / 3600",
- "FromBaseToUnitFunc": "{x} / 0.5144444444444 * 3600",
+ "XmlDocSummary": "The knot (/nɒt/) is a unit of speed equal to one nautical mile per hour, exactly 1.852 km/h (approximately 1.151 mph or 0.514 m/s).",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Knot_(unit)",
+ "FromUnitToBaseFunc": "{x} * (1852.0 / 3600.0) / 3600",
+ "FromBaseToUnitFunc": "{x} * 3600 / (1852.0 / 3600.0)",
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "kn/h" ]
},
- {
+ {
"Culture": "ru-RU",
"Abbreviations": [ "узел/час" ]
}
diff --git a/Common/UnitDefinitions/AreaMomentOfInertia.json b/Common/UnitDefinitions/AreaMomentOfInertia.json
index 29dd2f5530..e5017da3d3 100644
--- a/Common/UnitDefinitions/AreaMomentOfInertia.json
+++ b/Common/UnitDefinitions/AreaMomentOfInertia.json
@@ -72,8 +72,8 @@
"BaseUnits": {
"L": "Foot"
},
- "FromUnitToBaseFunc": "{x} * Math.Pow(0.3048, 4)",
- "FromBaseToUnitFunc": "{x} / Math.Pow(0.3048, 4)",
+ "FromUnitToBaseFunc": "{x} * 0.0086309748412416",
+ "FromBaseToUnitFunc": "{x} / 0.0086309748412416",
"Localization": [
{
"Culture": "en-US",
@@ -87,8 +87,8 @@
"BaseUnits": {
"L": "Inch"
},
- "FromUnitToBaseFunc": "{x} * Math.Pow(2.54e-2, 4)",
- "FromBaseToUnitFunc": "{x} / Math.Pow(2.54e-2, 4)",
+ "FromUnitToBaseFunc": "{x} * 0.0000004162314256",
+ "FromBaseToUnitFunc": "{x} / 0.0000004162314256",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/BrakeSpecificFuelConsumption.json b/Common/UnitDefinitions/BrakeSpecificFuelConsumption.json
index ff498144da..29ce75aa60 100644
--- a/Common/UnitDefinitions/BrakeSpecificFuelConsumption.json
+++ b/Common/UnitDefinitions/BrakeSpecificFuelConsumption.json
@@ -34,8 +34,8 @@
{
"SingularName": "PoundPerMechanicalHorsepowerHour",
"PluralName": "PoundsPerMechanicalHorsepowerHour",
- "FromUnitToBaseFunc": "{x} * 1.689659410672e-7",
- "FromBaseToUnitFunc": "{x} / 1.689659410672e-7",
+ "FromUnitToBaseFunc": "{x} * (0.45359237 / (76.0402249 * 9.80665))/3600",
+ "FromBaseToUnitFunc": "{x} * 3600 / (0.45359237 / (76.0402249 * 9.80665))",
"XmlDocSummary": "The pound per horse power hour uses mechanical horse power and the imperial pound",
"Localization": [
{
diff --git a/Common/UnitDefinitions/Density.json b/Common/UnitDefinitions/Density.json
index 997c3c05a5..ed7823ba0e 100644
--- a/Common/UnitDefinitions/Density.json
+++ b/Common/UnitDefinitions/Density.json
@@ -70,8 +70,8 @@
"L": "Inch",
"M": "Pound"
},
- "FromUnitToBaseFunc": "{x} / 3.6127298147753e-5",
- "FromBaseToUnitFunc": "{x} * 3.6127298147753e-5",
+ "FromUnitToBaseFunc": "{x} * 0.45359237 / 1.6387064e-5",
+ "FromBaseToUnitFunc": "{x} * 1.6387064e-5 / 0.45359237",
"Prefixes": [ "Kilo" ],
"Localization": [
{
@@ -88,8 +88,8 @@
"L": "Foot",
"M": "Pound"
},
- "FromUnitToBaseFunc": "{x} / 0.062427961",
- "FromBaseToUnitFunc": "{x} * 0.062427961",
+ "FromUnitToBaseFunc": "{x} * 0.45359237 / 0.028316846592",
+ "FromBaseToUnitFunc": "{x} * 0.028316846592 / 0.45359237",
"Prefixes": [ "Kilo" ],
"Localization": [
{
@@ -102,13 +102,13 @@
{
"SingularName": "PoundPerCubicYard",
"PluralName": "PoundsPerCubicYard",
- "XmlDocSummary": "Calculated from the definition of pound and yard compared to metric kilogram and meter.",
+ "XmlDocSummary": "Calculated from the definition of pound and Cubic yard compared to metric kilogram and meter.",
"BaseUnits": {
"L": "Yard",
"M": "Pound"
},
- "FromUnitToBaseFunc": "{x} * (0.45359237 / 0.9144 / 0.9144 / 0.9144)",
- "FromBaseToUnitFunc": "{x} / (0.45359237 / 0.9144 / 0.9144 / 0.9144)",
+ "FromUnitToBaseFunc": "{x} * 0.45359237 / 0.764554857984",
+ "FromBaseToUnitFunc": "{x} * 0.764554857984 / 0.45359237",
"Prefixes": [ "Kilo" ],
"Localization": [
{
@@ -173,8 +173,8 @@
"L": "Foot",
"M": "Slug"
},
- "FromUnitToBaseFunc": "{x} * 515.378818",
- "FromBaseToUnitFunc": "{x} * 0.00194032033",
+ "FromUnitToBaseFunc": "{x} * 14.59390 / 0.028316846592",
+ "FromBaseToUnitFunc": "{x} * 0.028316846592 / 14.59390",
"Localization": [
{
"Culture": "en-US",
@@ -224,8 +224,8 @@
{
"SingularName": "PoundPerUSGallon",
"PluralName": "PoundsPerUSGallon",
- "FromUnitToBaseFunc": "{x} * 1.19826427e2",
- "FromBaseToUnitFunc": "{x} / 1.19826427e2",
+ "FromUnitToBaseFunc": "{x} * 0.45359237 / 0.003785411784",
+ "FromBaseToUnitFunc": "{x} * 0.003785411784 / 0.45359237",
"Localization": [
{
"Culture": "en-US",
@@ -236,8 +236,8 @@
{
"SingularName": "PoundPerImperialGallon",
"PluralName": "PoundsPerImperialGallon",
- "FromUnitToBaseFunc": "{x} * 9.9776398e1",
- "FromBaseToUnitFunc": "{x} / 9.9776398e1",
+ "FromUnitToBaseFunc": "{x} * 0.45359237 / 0.00454609",
+ "FromBaseToUnitFunc": "{x} * 0.00454609 / 0.45359237",
"Localization": [
{
"Culture": "en-US",
@@ -268,8 +268,8 @@
"L": "Foot",
"M": "Tonne"
},
- "FromUnitToBaseFunc": "{x} * 3.53146667214886e4",
- "FromBaseToUnitFunc": "{x} / 3.53146667214886e4",
+ "FromUnitToBaseFunc": "{x} * 1000 / 0.028316846592",
+ "FromBaseToUnitFunc": "{x} * 0.028316846592 / 1000",
"Localization": [
{
"Culture": "en-US",
@@ -284,8 +284,8 @@
"L": "Inch",
"M": "Tonne"
},
- "FromUnitToBaseFunc": "{x} * 6.10237440947323e7",
- "FromBaseToUnitFunc": "{x} / 6.10237440947323e7",
+ "FromUnitToBaseFunc": "{x} * 1000 / 1.6387064e-5",
+ "FromBaseToUnitFunc": "{x} * 1.6387064e-5 / 1000",
"Localization": [
{
"Culture": "en-US",
@@ -300,8 +300,8 @@
"L": "Foot",
"M": "Gram"
},
- "FromUnitToBaseFunc": "{x} * 0.0353146667214886",
- "FromBaseToUnitFunc": "{x} / 0.0353146667214886",
+ "FromUnitToBaseFunc": "{x} * 0.001 / 0.028316846592",
+ "FromBaseToUnitFunc": "{x} * 0.028316846592 / 0.001",
"Localization": [
{
"Culture": "en-US",
@@ -316,8 +316,8 @@
"L": "Inch",
"M": "Gram"
},
- "FromUnitToBaseFunc": "{x} * 61.0237440947323",
- "FromBaseToUnitFunc": "{x} / 61.0237440947323",
+ "FromUnitToBaseFunc": "{x} * 0.001 / 1.6387064e-5",
+ "FromBaseToUnitFunc": "{x} * 1.6387064e-5 / 0.001",
"Localization": [
{
"Culture": "en-US",
@@ -332,8 +332,8 @@
"L": "Meter",
"M": "Pound"
},
- "FromUnitToBaseFunc": "{x} / 2.204622621848775",
- "FromBaseToUnitFunc": "{x} * 2.204622621848775",
+ "FromUnitToBaseFunc": "{x} * 0.45359237",
+ "FromBaseToUnitFunc": "{x} / 0.45359237",
"Localization": [
{
"Culture": "en-US",
@@ -348,8 +348,8 @@
"L": "Centimeter",
"M": "Pound"
},
- "FromUnitToBaseFunc": "{x} / 2.204622621848775e-6",
- "FromBaseToUnitFunc": "{x} * 2.204622621848775e-6",
+ "FromUnitToBaseFunc": "{x} * 0.45359237e6",
+ "FromBaseToUnitFunc": "{x} / 0.45359237e6",
"Localization": [
{
"Culture": "en-US",
@@ -364,8 +364,8 @@
"L": "Millimeter",
"M": "Pound"
},
- "FromUnitToBaseFunc": "{x} / 2.204622621848775e-9",
- "FromBaseToUnitFunc": "{x} * 2.204622621848775e-9",
+ "FromUnitToBaseFunc": "{x} * 0.45359237e9",
+ "FromBaseToUnitFunc": "{x} / 0.45359237e9",
"Localization": [
{
"Culture": "en-US",
@@ -380,8 +380,8 @@
"L": "Meter",
"M": "Slug"
},
- "FromUnitToBaseFunc": "{x} * 14.5939",
- "FromBaseToUnitFunc": "{x} / 14.5939",
+ "FromUnitToBaseFunc": "{x} * (32.17405 * 0.45359237)",
+ "FromBaseToUnitFunc": "{x} / (32.17405 * 0.45359237)",
"Localization": [
{
"Culture": "en-US",
@@ -396,8 +396,8 @@
"L": "Centimeter",
"M": "Slug"
},
- "FromUnitToBaseFunc": "{x} * 14593903",
- "FromBaseToUnitFunc": "{x} / 14593903",
+ "FromUnitToBaseFunc": "{x} * (32.17405 * 0.45359237e6)",
+ "FromBaseToUnitFunc": "{x} / (32.17405 * 0.45359237e6)",
"Localization": [
{
"Culture": "en-US",
@@ -412,8 +412,8 @@
"L": "Millimeter",
"M": "Slug"
},
- "FromUnitToBaseFunc": "{x} * 14593903000",
- "FromBaseToUnitFunc": "{x} / 14593903000",
+ "FromUnitToBaseFunc": "{x} * (32.17405 * 0.45359237e9)",
+ "FromBaseToUnitFunc": "{x} / (32.17405 * 0.45359237e9)",
"Localization": [
{
"Culture": "en-US",
@@ -428,8 +428,8 @@
"L": "Inch",
"M": "Slug"
},
- "FromUnitToBaseFunc": "{x} * 890574.60201535",
- "FromBaseToUnitFunc": "{x} / 890574.60201535",
+ "FromUnitToBaseFunc": "{x} * (32.17405 * 0.45359237 / 1.6387064e-5)",
+ "FromBaseToUnitFunc": "{x} / (32.17405 * 0.45359237 / 1.6387064e-5)",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/DynamicViscosity.json b/Common/UnitDefinitions/DynamicViscosity.json
index d42da56383..910d88d762 100644
--- a/Common/UnitDefinitions/DynamicViscosity.json
+++ b/Common/UnitDefinitions/DynamicViscosity.json
@@ -50,8 +50,8 @@
{
"SingularName": "Reyn",
"PluralName": "Reyns",
- "FromUnitToBaseFunc": "{x} * 6.8947572931683613e3",
- "FromBaseToUnitFunc": "{x} / 6.8947572931683613e3",
+ "FromUnitToBaseFunc": "{x} * 4.4482216152605 / 0.00064516",
+ "FromBaseToUnitFunc": "{x} * 0.00064516 / 4.4482216152605",
"Localization": [
{
"Culture": "en-US",
@@ -62,8 +62,8 @@
{
"SingularName": "PoundForceSecondPerSquareInch",
"PluralName": "PoundsForceSecondPerSquareInch",
- "FromUnitToBaseFunc": "{x} * 6.8947572931683613e3",
- "FromBaseToUnitFunc": "{x} / 6.8947572931683613e3",
+ "FromUnitToBaseFunc": "{x} * 4.4482216152605 / 0.00064516",
+ "FromBaseToUnitFunc": "{x} * 0.00064516 / 4.4482216152605",
"Localization": [
{
"Culture": "en-US",
@@ -74,8 +74,8 @@
{
"SingularName": "PoundForceSecondPerSquareFoot",
"PluralName": "PoundsForceSecondPerSquareFoot",
- "FromUnitToBaseFunc": "{x} * 4.7880258980335843e1",
- "FromBaseToUnitFunc": "{x} / 4.7880258980335843e1",
+ "FromUnitToBaseFunc": "{x} * 4.4482216152605 / 9.290304e-2",
+ "FromBaseToUnitFunc": "{x} * 9.290304e-2 / 4.4482216152605",
"Localization": [
{
"Culture": "en-US",
@@ -86,8 +86,8 @@
{
"SingularName": "PoundPerFootSecond",
"PluralName": "PoundsPerFootSecond",
- "FromUnitToBaseFunc": "{x} * 1.4881639",
- "FromBaseToUnitFunc": "{x} / 1.4881639",
+ "FromUnitToBaseFunc": "{x} * 0.45359237 / 0.3048",
+ "FromBaseToUnitFunc": "{x} * 0.3048 / 0.45359237",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/ElectricCharge.json b/Common/UnitDefinitions/ElectricCharge.json
index 1488af22db..1b8f2a9252 100644
--- a/Common/UnitDefinitions/ElectricCharge.json
+++ b/Common/UnitDefinitions/ElectricCharge.json
@@ -24,8 +24,8 @@
{
"SingularName": "AmpereHour",
"PluralName": "AmpereHours",
- "FromUnitToBaseFunc": "{x} / 2.77777777777e-4",
- "FromBaseToUnitFunc": "{x} * 2.77777777777e-4",
+ "FromUnitToBaseFunc": "{x} * 3600",
+ "FromBaseToUnitFunc": "{x} / 3600",
"Prefixes": [ "Milli", "Kilo", "Mega" ],
"Localization": [
{
diff --git a/Common/UnitDefinitions/ElectricConductivity.json b/Common/UnitDefinitions/ElectricConductivity.json
index 2bd4a0033b..c6a143678d 100644
--- a/Common/UnitDefinitions/ElectricConductivity.json
+++ b/Common/UnitDefinitions/ElectricConductivity.json
@@ -31,8 +31,8 @@
{
"SingularName": "SiemensPerInch",
"PluralName": "SiemensPerInch",
- "FromUnitToBaseFunc": "{x} * 3.937007874015748e1",
- "FromBaseToUnitFunc": "{x} / 3.937007874015748e1",
+ "FromUnitToBaseFunc": "{x} / 2.54e-2",
+ "FromBaseToUnitFunc": "{x} * 2.54e-2",
"Localization": [
{
"Culture": "en-US",
@@ -43,8 +43,8 @@
{
"SingularName": "SiemensPerFoot",
"PluralName": "SiemensPerFoot",
- "FromUnitToBaseFunc": "{x} * 3.2808398950131234",
- "FromBaseToUnitFunc": "{x} / 3.2808398950131234",
+ "FromUnitToBaseFunc": "{x} / 0.3048",
+ "FromBaseToUnitFunc": "{x} * 0.3048",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/ElectricCurrentDensity.json b/Common/UnitDefinitions/ElectricCurrentDensity.json
index d59571b095..62a5c10735 100644
--- a/Common/UnitDefinitions/ElectricCurrentDensity.json
+++ b/Common/UnitDefinitions/ElectricCurrentDensity.json
@@ -31,8 +31,8 @@
"L": "Inch",
"I": "Ampere"
},
- "FromUnitToBaseFunc": "{x} * 1.5500031000062000e3",
- "FromBaseToUnitFunc": "{x} / 1.5500031000062000e3",
+ "FromUnitToBaseFunc": "{x} / 0.00064516",
+ "FromBaseToUnitFunc": "{x} * 0.00064516",
"Localization": [
{
"Culture": "en-US",
@@ -47,8 +47,8 @@
"L": "Foot",
"I": "Ampere"
},
- "FromUnitToBaseFunc": "{x} * 1.0763910416709722e1",
- "FromBaseToUnitFunc": "{x} / 1.0763910416709722e1",
+ "FromUnitToBaseFunc": "{x} / 9.290304e-2",
+ "FromBaseToUnitFunc": "{x} * 9.290304e-2",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/ElectricSurfaceChargeDensity.json b/Common/UnitDefinitions/ElectricSurfaceChargeDensity.json
index 471a6f828a..41091cb4c8 100644
--- a/Common/UnitDefinitions/ElectricSurfaceChargeDensity.json
+++ b/Common/UnitDefinitions/ElectricSurfaceChargeDensity.json
@@ -51,8 +51,8 @@
"T": "Second",
"I": "Ampere"
},
- "FromUnitToBaseFunc": "{x} * 1.5500031000062000e3",
- "FromBaseToUnitFunc": "{x} / 1.5500031000062000e3",
+ "FromUnitToBaseFunc": "{x} / 0.00064516",
+ "FromBaseToUnitFunc": "{x} * 0.00064516",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/Energy.json b/Common/UnitDefinitions/Energy.json
index 7e48f0bdf2..c12d3a934f 100644
--- a/Common/UnitDefinitions/Energy.json
+++ b/Common/UnitDefinitions/Energy.json
@@ -55,8 +55,10 @@
{
"SingularName": "ElectronVolt",
"PluralName": "ElectronVolts",
- "FromUnitToBaseFunc": "{x} * 1.602176565e-19",
- "FromBaseToUnitFunc": "{x} / 1.602176565e-19",
+ "XmlDocSummary": "In physics, an electronvolt (symbol eV, also written electron-volt and electron volt) is the measure of an amount of kinetic energy gained by a single electron accelerating from rest through an electric potential difference of one volt in vacuum. When used as a unit of energy, the numerical value of 1 eV in joules (symbol J) is equivalent to the numerical value of the charge of an electron in coulombs (symbol C). Under the 2019 redefinition of the SI base units, this sets 1 eV equal to the exact value 1.602176634×10−19 J.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Electronvolt",
+ "FromUnitToBaseFunc": "{x} * 1.602176634e-19",
+ "FromBaseToUnitFunc": "{x} / 1.602176634e-19",
"Prefixes": [
"Kilo",
"Mega",
@@ -77,8 +79,10 @@
{
"SingularName": "FootPound",
"PluralName": "FootPounds",
- "FromUnitToBaseFunc": "{x} * 1.355817948",
- "FromBaseToUnitFunc": "{x} / 1.355817948",
+ "XmlDocSummary": "A pound-foot (lb⋅ft), abbreviated from pound-force foot (lbf · ft), is a unit of torque representing one pound of force acting at a perpendicular distance of one foot from a pivot point. Conversely one foot pound-force (ft · lbf) is the moment about an axis that applies one pound-force at a radius of one foot.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Pound-foot_(torque)",
+ "FromUnitToBaseFunc": "{x} * 1.3558179483314004",
+ "FromBaseToUnitFunc": "{x} / 1.3558179483314004",
"Localization": [
{
"Culture": "en-US",
@@ -89,6 +93,8 @@
{
"SingularName": "Erg",
"PluralName": "Ergs",
+ "XmlDocSummary": "The erg is a unit of energy equal to 10−7 joules (100 nJ). It originated in the Centimetre–gram–second system of units (CGS). It has the symbol erg. The erg is not an SI unit. Its name is derived from ergon (ἔργον), a Greek word meaning 'work' or 'task'.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Erg",
"FromUnitToBaseFunc": "{x} * 1e-7",
"FromBaseToUnitFunc": "{x} / 1e-7",
"Localization": [
@@ -135,6 +141,8 @@
{
"SingularName": "ThermEc",
"PluralName": "ThermsEc",
+ "XmlDocSummary": "The therm (symbol, thm) is a non-SI unit of heat energy equal to 100,000 British thermal units (BTU), and approximately 105 megajoules, 29.3 kilowatt-hours, 25,200 kilocalories and 25.2 thermies. One therm is the energy content of approximately 100 cubic feet (2.83 cubic metres) of natural gas at standard temperature and pressure. However, the BTU is not standardised worldwide, with slightly different values in the EU, UK, and United States, meaning that the energy content of the therm also varies by territory.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Therm",
"FromUnitToBaseFunc": "{x} * 1.05505585262e8",
"FromBaseToUnitFunc": "{x} / 1.05505585262e8",
"Prefixes": [ "Deca" ],
@@ -154,6 +162,8 @@
{
"SingularName": "ThermUs",
"PluralName": "ThermsUs",
+ "XmlDocSummary": "The therm (symbol, thm) is a non-SI unit of heat energy equal to 100,000 British thermal units (BTU), and approximately 105 megajoules, 29.3 kilowatt-hours, 25,200 kilocalories and 25.2 thermies. One therm is the energy content of approximately 100 cubic feet (2.83 cubic metres) of natural gas at standard temperature and pressure. However, the BTU is not standardised worldwide, with slightly different values in the EU, UK, and United States, meaning that the energy content of the therm also varies by territory.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Therm",
"FromUnitToBaseFunc": "{x} * 1.054804e8",
"FromBaseToUnitFunc": "{x} / 1.054804e8",
"Prefixes": [ "Deca" ],
@@ -173,6 +183,8 @@
{
"SingularName": "ThermImperial",
"PluralName": "ThermsImperial",
+ "XmlDocSummary": "The therm (symbol, thm) is a non-SI unit of heat energy equal to 100,000 British thermal units (BTU), and approximately 105 megajoules, 29.3 kilowatt-hours, 25,200 kilocalories and 25.2 thermies. One therm is the energy content of approximately 100 cubic feet (2.83 cubic metres) of natural gas at standard temperature and pressure. However, the BTU is not standardised worldwide, with slightly different values in the EU, UK, and United States, meaning that the energy content of the therm also varies by territory.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Therm",
"FromUnitToBaseFunc": "{x} * 1.05505585257348e8",
"FromBaseToUnitFunc": "{x} / 1.05505585257348e8",
"Prefixes": [ "Deca" ],
@@ -192,8 +204,10 @@
{
"SingularName": "HorsepowerHour",
"PluralName": "HorsepowerHours",
- "FromUnitToBaseFunc": "{x} * 2.6845195377e6",
- "FromBaseToUnitFunc": "{x} / 2.6845195377e6",
+ "XmlDocSummary": "A horsepower-hour (symbol: hp⋅h) is an outdated unit of energy, not used in the International System of Units. The unit represents an amount of work a horse is supposed capable of delivering during an hour (1 horsepower integrated over a time interval of an hour).",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Horsepower-hour",
+ "FromUnitToBaseFunc": "{x} * 76.0402249 * 9.80665 * 3600",
+ "FromBaseToUnitFunc": "{x} / (76.0402249 * 9.80665 * 3600)",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/ForceChangeRate.json b/Common/UnitDefinitions/ForceChangeRate.json
index 08bb0d754f..2caf599e8c 100644
--- a/Common/UnitDefinitions/ForceChangeRate.json
+++ b/Common/UnitDefinitions/ForceChangeRate.json
@@ -37,8 +37,8 @@
{
"SingularName": "PoundForcePerMinute",
"PluralName": "PoundsForcePerMinute",
- "FromUnitToBaseFunc": "{x} * 4.4482216152605095551842641431421 / 60",
- "FromBaseToUnitFunc": "{x} / 4.4482216152605095551842641431421 * 60",
+ "FromUnitToBaseFunc": "{x} * 4.4482216152605 / 60",
+ "FromBaseToUnitFunc": "{x} / 4.4482216152605 * 60",
"Prefixes": [ "Kilo" ],
"Localization": [
{
@@ -51,8 +51,8 @@
{
"SingularName": "PoundForcePerSecond",
"PluralName": "PoundsForcePerSecond",
- "FromUnitToBaseFunc": "{x} * 4.4482216152605095551842641431421",
- "FromBaseToUnitFunc": "{x} / 4.4482216152605095551842641431421",
+ "FromUnitToBaseFunc": "{x} * 4.4482216152605",
+ "FromBaseToUnitFunc": "{x} / 4.4482216152605",
"Prefixes": [ "Kilo" ],
"Localization": [
{
diff --git a/Common/UnitDefinitions/ForcePerLength.json b/Common/UnitDefinitions/ForcePerLength.json
index c5fdb2533a..7beaf55228 100644
--- a/Common/UnitDefinitions/ForcePerLength.json
+++ b/Common/UnitDefinitions/ForcePerLength.json
@@ -49,8 +49,8 @@
{
"SingularName": "KilogramForcePerMeter",
"PluralName": "KilogramsForcePerMeter",
- "FromUnitToBaseFunc": "{x} * 9.80665002864",
- "FromBaseToUnitFunc": "{x} / 9.80665002864",
+ "FromUnitToBaseFunc": "{x} * 9.80665",
+ "FromBaseToUnitFunc": "{x} / 9.80665",
"Localization": [
{
"Culture": "en-US",
@@ -65,8 +65,8 @@
{
"SingularName": "KilogramForcePerCentimeter",
"PluralName": "KilogramsForcePerCentimeter",
- "FromUnitToBaseFunc": "{x} * 980.665002864",
- "FromBaseToUnitFunc": "{x} / 980.665002864",
+ "FromUnitToBaseFunc": "{x} * 980.665",
+ "FromBaseToUnitFunc": "{x} / 980.665",
"Localization": [
{
"Culture": "en-US",
@@ -81,8 +81,8 @@
{
"SingularName": "KilogramForcePerMillimeter",
"PluralName": "KilogramsForcePerMillimeter",
- "FromUnitToBaseFunc": "{x} * 9.80665002864e3",
- "FromBaseToUnitFunc": "{x} / 9.80665002864e3",
+ "FromUnitToBaseFunc": "{x} * 9.80665e3",
+ "FromBaseToUnitFunc": "{x} / 9.80665e3",
"Localization": [
{
"Culture": "en-US",
@@ -97,8 +97,8 @@
{
"SingularName": "TonneForcePerMeter",
"PluralName": "TonnesForcePerMeter",
- "FromUnitToBaseFunc": "{x} * 9.80665002864e3",
- "FromBaseToUnitFunc": "{x} / 9.80665002864e3",
+ "FromUnitToBaseFunc": "{x} * 9.80665e3",
+ "FromBaseToUnitFunc": "{x} / 9.80665e3",
"Localization": [
{
"Culture": "en-US",
@@ -113,8 +113,8 @@
{
"SingularName": "TonneForcePerCentimeter",
"PluralName": "TonnesForcePerCentimeter",
- "FromUnitToBaseFunc": "{x} * 9.80665002864e5",
- "FromBaseToUnitFunc": "{x} / 9.80665002864e5",
+ "FromUnitToBaseFunc": "{x} * 9.80665e5",
+ "FromBaseToUnitFunc": "{x} / 9.80665e5",
"Localization": [
{
"Culture": "en-US",
@@ -129,8 +129,8 @@
{
"SingularName": "TonneForcePerMillimeter",
"PluralName": "TonnesForcePerMillimeter",
- "FromUnitToBaseFunc": "{x} * 9.80665002864e6",
- "FromBaseToUnitFunc": "{x} / 9.80665002864e6",
+ "FromUnitToBaseFunc": "{x} * 9.80665e6",
+ "FromBaseToUnitFunc": "{x} / 9.80665e6",
"Localization": [
{
"Culture": "en-US",
@@ -145,8 +145,8 @@
{
"SingularName": "PoundForcePerFoot",
"PluralName": "PoundsForcePerFoot",
- "FromUnitToBaseFunc": "{x} * 14.59390292",
- "FromBaseToUnitFunc": "{x} / 14.59390292",
+ "FromUnitToBaseFunc": "{x} * 4.4482216152605 / 0.3048",
+ "FromBaseToUnitFunc": "{x} * 0.3048 / 4.4482216152605",
"Localization": [
{
"Culture": "en-US",
@@ -157,8 +157,8 @@
{
"SingularName": "PoundForcePerInch",
"PluralName": "PoundsForcePerInch",
- "FromUnitToBaseFunc": "{x} * 1.75126835e2",
- "FromBaseToUnitFunc": "{x} / 1.75126835e2",
+ "FromUnitToBaseFunc": "{x} * 4.4482216152605 / 2.54e-2",
+ "FromBaseToUnitFunc": "{x} * 2.54e-2 / 4.4482216152605",
"Localization": [
{
"Culture": "en-US",
@@ -169,8 +169,8 @@
{
"SingularName": "PoundForcePerYard",
"PluralName": "PoundsForcePerYard",
- "FromUnitToBaseFunc": "{x} * 4.864634307",
- "FromBaseToUnitFunc": "{x} / 4.864634307",
+ "FromUnitToBaseFunc": "{x} * 4.4482216152605 / 0.9144",
+ "FromBaseToUnitFunc": "{x} * 0.9144 / 4.4482216152605",
"Localization": [
{
"Culture": "en-US",
@@ -181,8 +181,8 @@
{
"SingularName": "KilopoundForcePerFoot",
"PluralName": "KilopoundsForcePerFoot",
- "FromUnitToBaseFunc": "{x} * 14593.90292",
- "FromBaseToUnitFunc": "{x} / 14593.90292",
+ "FromUnitToBaseFunc": "{x} * 4.4482216152605 / 0.3048e-3",
+ "FromBaseToUnitFunc": "{x} * 0.3048e-3 / 4.4482216152605",
"Localization": [
{
"Culture": "en-US",
@@ -190,11 +190,11 @@
}
]
},
- {
+ {
"SingularName": "KilopoundForcePerInch",
"PluralName": "KilopoundsForcePerInch",
- "FromUnitToBaseFunc": "{x} * 1.75126835e5",
- "FromBaseToUnitFunc": "{x} / 1.75126835e5",
+ "FromUnitToBaseFunc": "{x} * 4.4482216152605 / 2.54e-5",
+ "FromBaseToUnitFunc": "{x} * 2.54e-5 / 4.4482216152605",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/Frequency.json b/Common/UnitDefinitions/Frequency.json
index 8bbf4f1862..cf038c2cfd 100644
--- a/Common/UnitDefinitions/Frequency.json
+++ b/Common/UnitDefinitions/Frequency.json
@@ -26,8 +26,10 @@
{
"SingularName": "RadianPerSecond",
"PluralName": "RadiansPerSecond",
- "FromUnitToBaseFunc": "{x} / 6.2831853072",
- "FromBaseToUnitFunc": "{x} * 6.2831853072",
+ "XmlDocSummary": "In SI units, angular frequency is normally presented with the unit radian per second, and need not express a rotational value. The unit hertz (Hz) is dimensionally equivalent, but by convention it is only used for frequency f, never for angular frequency ω. This convention is used to help avoid the confusion that arises when dealing with quantities such as frequency and angular quantities because the units of measure (such as cycle or radian) are considered to be one and hence may be omitted when expressing quantities in terms of SI units.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Angular_frequency",
+ "FromUnitToBaseFunc": "{x} / (2 * Math.PI)",
+ "FromBaseToUnitFunc": "{x} * (2 * Math.PI)",
"OmitExtensionMethod": true,
"Localization": [
{
diff --git a/Common/UnitDefinitions/FuelEfficiency.json b/Common/UnitDefinitions/FuelEfficiency.json
index d0a27ce366..2246de0c89 100644
--- a/Common/UnitDefinitions/FuelEfficiency.json
+++ b/Common/UnitDefinitions/FuelEfficiency.json
@@ -30,8 +30,8 @@
{
"SingularName": "MilePerUkGallon",
"PluralName": "MilesPerUkGallon",
- "FromUnitToBaseFunc": "(100 * 4.54609188) / (1.609344 * {x})",
- "FromBaseToUnitFunc": "(100 * 4.54609188) / (1.609344 * {x})",
+ "FromUnitToBaseFunc": "(100 * 4.54609) / (1.609344 * {x})",
+ "FromBaseToUnitFunc": "(100 * 4.54609) / (1.609344 * {x})",
"Localization": [{
"Culture": "en-US",
"Abbreviations": [
diff --git a/Common/UnitDefinitions/HeatFlux.json b/Common/UnitDefinitions/HeatFlux.json
index 2fd41d7dc7..aba8c73b23 100644
--- a/Common/UnitDefinitions/HeatFlux.json
+++ b/Common/UnitDefinitions/HeatFlux.json
@@ -27,8 +27,8 @@
{
"SingularName": "WattPerSquareInch",
"PluralName": "WattsPerSquareInch",
- "FromUnitToBaseFunc": "{x} * 1.5500031e3",
- "FromBaseToUnitFunc": "{x} / 1.5500031e3",
+ "FromUnitToBaseFunc": "{x} / (2.54e-2 * 2.54e-2)",
+ "FromBaseToUnitFunc": "{x} * (2.54e-2 * 2.54e-2)",
"Localization": [
{
"Culture": "en-US",
@@ -39,8 +39,8 @@
{
"SingularName": "WattPerSquareFoot",
"PluralName": "WattsPerSquareFoot",
- "FromUnitToBaseFunc": "{x} * 1.07639e1",
- "FromBaseToUnitFunc": "{x} / 1.07639e1",
+ "FromUnitToBaseFunc": "{x} / (0.3048 * 0.3048)",
+ "FromBaseToUnitFunc": "{x} * (0.3048 * 0.3048)",
"Localization": [
{
"Culture": "en-US",
@@ -51,8 +51,8 @@
{
"SingularName": "BtuPerSecondSquareInch",
"PluralName": "BtusPerSecondSquareInch",
- "FromUnitToBaseFunc": "{x} * 1.63533984e6",
- "FromBaseToUnitFunc": "{x} / 1.63533984e6",
+ "FromUnitToBaseFunc": "{x} * 1055.05585262 / (2.54e-2 * 2.54e-2)",
+ "FromBaseToUnitFunc": "{x} * (2.54e-2 * 2.54e-2) / 1055.05585262",
"Localization": [
{
"Culture": "en-US",
@@ -63,8 +63,8 @@
{
"SingularName": "BtuPerSecondSquareFoot",
"PluralName": "BtusPerSecondSquareFoot",
- "FromUnitToBaseFunc": "{x} * 1.13565267e4",
- "FromBaseToUnitFunc": "{x} / 1.13565267e4",
+ "FromUnitToBaseFunc": "{x} * 1055.05585262 / (0.3048 * 0.3048)",
+ "FromBaseToUnitFunc": "{x} * (0.3048 * 0.3048) / 1055.05585262",
"Localization": [
{
"Culture": "en-US",
@@ -75,8 +75,8 @@
{
"SingularName": "BtuPerMinuteSquareFoot",
"PluralName": "BtusPerMinuteSquareFoot",
- "FromUnitToBaseFunc": "{x} * 1.89275445e2",
- "FromBaseToUnitFunc": "{x} / 1.89275445e2",
+ "FromUnitToBaseFunc": "{x} * 1055.05585262 / (0.3048 * 0.3048 * 60)",
+ "FromBaseToUnitFunc": "{x} * (0.3048 * 0.3048 * 60) / 1055.05585262",
"Localization": [
{
"Culture": "en-US",
@@ -87,8 +87,8 @@
{
"SingularName": "BtuPerHourSquareFoot",
"PluralName": "BtusPerHourSquareFoot",
- "FromUnitToBaseFunc": "{x} * 3.15459075",
- "FromBaseToUnitFunc": "{x} / 3.15459075",
+ "FromUnitToBaseFunc": "{x} * 1055.05585262 / (0.3048 * 0.3048 * 3600)",
+ "FromBaseToUnitFunc": "{x} * (0.3048 * 0.3048 * 3600) / 1055.05585262",
"Localization": [
{
"Culture": "en-US",
@@ -99,8 +99,8 @@
{
"SingularName": "CaloriePerSecondSquareCentimeter",
"PluralName": "CaloriesPerSecondSquareCentimeter",
- "FromUnitToBaseFunc": "{x} * 4.1868e4",
- "FromBaseToUnitFunc": "{x} / 4.1868e4",
+ "FromUnitToBaseFunc": "{x} * 4.184e4",
+ "FromBaseToUnitFunc": "{x} / 4.184e4",
"Prefixes": [ "Kilo" ],
"Localization": [
{
@@ -112,8 +112,8 @@
{
"SingularName": "KilocaloriePerHourSquareMeter",
"PluralName": "KilocaloriesPerHourSquareMeter",
- "FromUnitToBaseFunc": "{x} * 1.163",
- "FromBaseToUnitFunc": "{x} / 1.163",
+ "FromUnitToBaseFunc": "{x} * 4.184e3 / 3600",
+ "FromBaseToUnitFunc": "{x} * 3600 / 4.184e3",
"Localization": [
{
"Culture": "en-US",
@@ -124,8 +124,8 @@
{
"SingularName": "PoundForcePerFootSecond",
"PluralName": "PoundsForcePerFootSecond",
- "FromUnitToBaseFunc": "{x} * 1.459390293720636e1",
- "FromBaseToUnitFunc": "{x} / 1.459390293720636e1",
+ "FromUnitToBaseFunc": "{x} * 1.3558179483314004 / 9.290304e-2",
+ "FromBaseToUnitFunc": "{x} * 9.290304e-2 / 1.3558179483314004",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/HeatTransferCoefficient.json b/Common/UnitDefinitions/HeatTransferCoefficient.json
index 75db786ba7..7a15fc903f 100644
--- a/Common/UnitDefinitions/HeatTransferCoefficient.json
+++ b/Common/UnitDefinitions/HeatTransferCoefficient.json
@@ -36,8 +36,8 @@
"SingularName": "BtuPerSquareFootDegreeFahrenheit",
"PluralName": "BtusPerSquareFootDegreeFahrenheit",
"ObsoleteText": "The name of this definition incorrectly omitted time as divisor, please use BtuPerHourSquareFootDegreeFahrenheit instead",
- "FromUnitToBaseFunc": "{x} * 5.6782633411134878",
- "FromBaseToUnitFunc": "{x} / 5.6782633411134878",
+ "FromUnitToBaseFunc": "{x} * ((1055.05585262 / (0.3048 * 0.3048 * 3600)) * 1.8)",
+ "FromBaseToUnitFunc": "{x} / ((1055.05585262 / (0.3048 * 0.3048 * 3600)) * 1.8)",
"Localization": [
{
"Culture": "en-US",
@@ -48,8 +48,8 @@
{
"SingularName": "BtuPerHourSquareFootDegreeFahrenheit",
"PluralName": "BtusPerHourSquareFootDegreeFahrenheit",
- "FromUnitToBaseFunc": "{x} * 5.6782633411134878",
- "FromBaseToUnitFunc": "{x} / 5.6782633411134878",
+ "FromUnitToBaseFunc": "{x} * ((1055.05585262 / (0.3048 * 0.3048 * 3600)) * 1.8)",
+ "FromBaseToUnitFunc": "{x} / ((1055.05585262 / (0.3048 * 0.3048 * 3600)) * 1.8)",
"Localization": [
{
"Culture": "en-US",
@@ -61,8 +61,8 @@
"SingularName": "CaloriePerHourSquareMeterDegreeCelsius",
"PluralName": "CaloriesPerHourSquareMeterDegreeCelsius",
"Prefixes": [ "Kilo" ],
- "FromUnitToBaseFunc": "({x} * 4.1868) / 3600",
- "FromBaseToUnitFunc": "({x} / 4.1868) * 3600",
+ "FromUnitToBaseFunc": "({x} * 4.184) / 3600",
+ "FromBaseToUnitFunc": "({x} / 4.184) * 3600",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/Impulse.json b/Common/UnitDefinitions/Impulse.json
index bc111e0103..f64969d812 100644
--- a/Common/UnitDefinitions/Impulse.json
+++ b/Common/UnitDefinitions/Impulse.json
@@ -36,8 +36,8 @@
{
"SingularName": "PoundFootPerSecond",
"PluralName": "PoundFeetPerSecond",
- "FromUnitToBaseFunc": "{x} / 7.230657989877",
- "FromBaseToUnitFunc": "{x} * 7.230657989877",
+ "FromUnitToBaseFunc": "{x} * (0.45359237 * 0.3048)",
+ "FromBaseToUnitFunc": "{x} / (0.45359237 * 0.3048)",
"Localization": [
{
"Culture": "en-US",
@@ -48,8 +48,8 @@
{
"SingularName": "PoundForceSecond",
"PluralName": "PoundForceSeconds",
- "FromUnitToBaseFunc": "{x} / 0.2248089430997",
- "FromBaseToUnitFunc": "{x} * 0.2248089430997",
+ "FromUnitToBaseFunc": "{x} * 4.4482216152605",
+ "FromBaseToUnitFunc": "{x} / 4.4482216152605",
"Localization": [
{
"Culture": "en-US",
@@ -60,8 +60,8 @@
{
"SingularName": "SlugFootPerSecond",
"PluralName": "SlugFeetPerSecond",
- "FromUnitToBaseFunc": "{x} / 0.224735720691",
- "FromBaseToUnitFunc": "{x} * 0.224735720691",
+ "FromUnitToBaseFunc": "{x} * (32.17405 * 0.45359237 * 0.3048)",
+ "FromBaseToUnitFunc": "{x} / (32.17405 * 0.45359237 * 0.3048)",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/Irradiation.json b/Common/UnitDefinitions/Irradiation.json
index 3689cd0db4..2dd885bf80 100644
--- a/Common/UnitDefinitions/Irradiation.json
+++ b/Common/UnitDefinitions/Irradiation.json
@@ -62,8 +62,8 @@
{
"SingularName": "BtuPerSquareFoot",
"PluralName": "BtusPerSquareFoot",
- "FromUnitToBaseFunc": "{x} * (52752792631d / 4645152d)",
- "FromBaseToUnitFunc": "{x} / (52752792631d / 4645152d)",
+ "FromUnitToBaseFunc": "{x} * 1055.05585262 / 9.290304e-2",
+ "FromBaseToUnitFunc": "{x} * 9.290304e-2 / 1055.05585262",
"Prefixes": [ "Kilo" ],
"Localization": [
{
diff --git a/Common/UnitDefinitions/KinematicViscosity.json b/Common/UnitDefinitions/KinematicViscosity.json
index 5de0e4c458..55119f6fe2 100644
--- a/Common/UnitDefinitions/KinematicViscosity.json
+++ b/Common/UnitDefinitions/KinematicViscosity.json
@@ -44,8 +44,8 @@
{
"SingularName": "SquareFootPerSecond",
"PluralName": "SquareFeetPerSecond",
- "FromUnitToBaseFunc": "{x} / 10.7639",
- "FromBaseToUnitFunc": "{x} * 10.7639",
+ "FromUnitToBaseFunc": "{x} * 9.290304e-2",
+ "FromBaseToUnitFunc": "{x} / 9.290304e-2",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/Length.json b/Common/UnitDefinitions/Length.json
index 890f55f948..3a2046b388 100644
--- a/Common/UnitDefinitions/Length.json
+++ b/Common/UnitDefinitions/Length.json
@@ -90,6 +90,8 @@
"FromUnitToBaseFunc": "{x} * 0.3048",
"FromBaseToUnitFunc": "{x} / 0.3048",
"Prefixes": [ "Kilo" ],
+ "XmlDocSummary": "The foot (pl. feet; standard symbol: ft) is a unit of length in the British imperial and United States customary systems of measurement. The prime symbol, ′, is commonly used to represent the foot. In both customary and imperial units, one foot comprises 12 inches, and one yard comprises three feet. Since an international agreement in 1959, the foot is defined as equal to exactly 0.3048 meters.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Foot_(unit)",
"Localization": [
{
"Culture": "en-US",
@@ -130,6 +132,8 @@
},
"FromUnitToBaseFunc": "{x} * 2.54e-2",
"FromBaseToUnitFunc": "{x} / 2.54e-2",
+ "XmlDocSummary": "The inch (symbol: in or ″) is a unit of length in the British Imperial and the United States customary systems of measurement. It is equal to 1/36 yard or 1/12 of a foot. Derived from the Roman uncia (\"twelfth\"), the word inch is also sometimes used to translate similar units in other measurement systems, usually understood as deriving from the width of the human thumb.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Inch",
"Localization": [
{
"Culture": "en-US",
@@ -250,8 +254,10 @@
"BaseUnits": {
"L": "PrinterPoint"
},
- "FromUnitToBaseFunc": "({x} / 72.27) * 2.54e-2",
- "FromBaseToUnitFunc": "({x} / 2.54e-2) * 72.27",
+ "XmlDocSummary": "In typography, the point is the smallest unit of measure. It is used for measuring font size, leading, and other items on a printed page. In modern times this size of the point has been approximated as exactly 1⁄72.27 (0.01383700013837) of the inch by Donald Knuth for the default unit of his TeX computer typesetting system and is thus sometimes known as the TeX point.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Point_(typography)",
+ "FromUnitToBaseFunc": "{x} * 2.54e-2 / 72.27 ",
+ "FromBaseToUnitFunc": "{x} * 72.27 / 2.54e-2",
"Localization": [
{
"Culture": "en-US",
@@ -265,8 +271,10 @@
"BaseUnits": {
"L": "DtpPoint"
},
- "FromUnitToBaseFunc": "({x} / 72) * 2.54e-2",
- "FromBaseToUnitFunc": "({x} / 2.54e-2) * 72",
+ "XmlDocSummary": "The desktop publishing point (DTP) is defined as 1⁄72 of an inch (1/72 × 25.4 mm ≈ 0.353 mm) and, as with earlier American point sizes, is considered to be 1⁄12 of a pica.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Point_(typography)",
+ "FromUnitToBaseFunc": "{x} * 2.54e-2 / 72",
+ "FromBaseToUnitFunc": "{x} * 72 / 2.54e-2",
"Localization": [
{
"Culture": "en-US",
@@ -280,8 +288,10 @@
"BaseUnits": {
"L": "PrinterPica"
},
- "FromUnitToBaseFunc": "{x} / 237.106301584",
- "FromBaseToUnitFunc": "{x} * 237.106301584",
+ "XmlDocSummary": "The American pica of 0.16604 inches (~4.217 mm) was established by the United States Type Founders' Association in 1886. In TeX one pica is 400⁄2409 of an inch.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Pica_(typography)",
+ "FromUnitToBaseFunc": "{x} * 2.54e-2 * 400 / 2409",
+ "FromBaseToUnitFunc": "{x} / (2.54e-2 * 400 / 2409)",
"Localization": [
{
"Culture": "en-US",
@@ -295,8 +305,10 @@
"BaseUnits": {
"L": "DtpPica"
},
- "FromUnitToBaseFunc": "{x} / 236.220472441",
- "FromBaseToUnitFunc": "{x} * 236.220472441",
+ "XmlDocSummary": "The pica is a typographic unit of measure corresponding to approximately 1⁄6 of an inch, or from 1⁄68 to 1⁄73 of a foot. One pica is further divided into 12 points.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Pica_(typography)",
+ "FromUnitToBaseFunc": "{x} * 2.54e-2 / 6",
+ "FromBaseToUnitFunc": "{x} * 6 / 2.54e-2",
"Localization": [
{
"Culture": "en-US",
@@ -310,8 +322,10 @@
"BaseUnits": {
"L": "Twip"
},
- "FromUnitToBaseFunc": "{x} / 56692.913385826",
- "FromBaseToUnitFunc": "{x} * 56692.913385826",
+ "XmlDocSummary": "A twip (abbreviating \"twentieth of a point\" or \"twentieth of an inch point\") is a typographical measurement, defined as 1⁄20 of a typographical point. One twip is 1⁄1440 inch, or ~17.64 μm.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Twip",
+ "FromUnitToBaseFunc": "{x} * 2.54e-2 / 1440",
+ "FromBaseToUnitFunc": "{x} * 1440 / 2.54e-2",
"Localization": [
{
"Culture": "en-US",
@@ -325,6 +339,8 @@
"BaseUnits": {
"L": "Hand"
},
+ "XmlDocSummary": "The hand is a non-SI unit of measurement of length standardized to 4 in (101.6 mm). It is used to measure the height of horses in many English-speaking countries, including Australia, Canada, Ireland, the United Kingdom, and the United States. It was originally based on the breadth of a human hand.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Hand_(unit)",
"FromUnitToBaseFunc": "{x} * 1.016e-1",
"FromBaseToUnitFunc": "{x} / 1.016e-1",
"Localization": [
@@ -398,6 +414,8 @@
"BaseUnits": {
"L": "Chain"
},
+ "XmlDocSummary": "The chain (abbreviated ch) is a unit of length equal to 66 feet (22 yards), used in both the US customary and Imperial unit systems. It is subdivided into 100 links. There are 10 chains in a furlong, and 80 chains in one statute mile. In metric terms, it is 20.1168 m long.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Chain_(unit)",
"FromUnitToBaseFunc": "{x} * 20.1168",
"FromBaseToUnitFunc": "{x} / 20.1168",
"Localization": [
diff --git a/Common/UnitDefinitions/LinearDensity.json b/Common/UnitDefinitions/LinearDensity.json
index ac64bafda7..adb7f0c2e6 100644
--- a/Common/UnitDefinitions/LinearDensity.json
+++ b/Common/UnitDefinitions/LinearDensity.json
@@ -50,8 +50,8 @@
{
"SingularName": "PoundPerInch",
"PluralName": "PoundsPerInch",
- "FromUnitToBaseFunc": "{x} / 5.5997415e-2",
- "FromBaseToUnitFunc": "{x} * 5.5997415e-2",
+ "FromUnitToBaseFunc": "{x} * 0.45359237 / 2.54e-2",
+ "FromBaseToUnitFunc": "{x} * 2.54e-2 / 0.45359237",
"Localization": [
{
"Culture": "en-US",
@@ -62,8 +62,8 @@
{
"SingularName": "PoundPerFoot",
"PluralName": "PoundsPerFoot",
- "FromUnitToBaseFunc": "{x} * 1.48816394",
- "FromBaseToUnitFunc": "{x} / 1.48816394",
+ "FromUnitToBaseFunc": "{x} * 0.45359237 / 0.3048",
+ "FromBaseToUnitFunc": "{x} * 0.3048 / 0.45359237",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/LinearPowerDensity.json b/Common/UnitDefinitions/LinearPowerDensity.json
index 2802ee7aa1..a1675e0f3d 100644
--- a/Common/UnitDefinitions/LinearPowerDensity.json
+++ b/Common/UnitDefinitions/LinearPowerDensity.json
@@ -51,9 +51,9 @@
{
"SingularName": "WattPerInch",
"PluralName": "WattsPerInch",
- "FromUnitToBaseFunc": "{x} * 39.37007874",
- "FromBaseToUnitFunc": "{x} / 39.37007874",
- "Prefixes": [ "Milli", "Kilo", "Mega", "Giga" ],
+ "FromUnitToBaseFunc": "{x} / 2.54e-2",
+ "FromBaseToUnitFunc": "{x} * 2.54e-2",
+ "Prefixes": [ "Milli", "Kilo", "Mega", "Giga" ],
"Localization": [
{
"Culture": "en-US",
@@ -64,9 +64,9 @@
{
"SingularName": "WattPerFoot",
"PluralName": "WattsPerFoot",
- "FromUnitToBaseFunc": "{x} * 3.280839895",
- "FromBaseToUnitFunc": "{x} / 3.280839895",
- "Prefixes": [ "Milli", "Kilo", "Mega", "Giga" ],
+ "FromUnitToBaseFunc": "{x} / 0.3048",
+ "FromBaseToUnitFunc": "{x} * 0.3048",
+ "Prefixes": [ "Milli", "Kilo", "Mega", "Giga" ],
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/Luminance.json b/Common/UnitDefinitions/Luminance.json
index adda90e9ff..0784d0047c 100644
--- a/Common/UnitDefinitions/Luminance.json
+++ b/Common/UnitDefinitions/Luminance.json
@@ -26,11 +26,11 @@
}
]
},
- {
+ {
"SingularName": "CandelaPerSquareFoot",
"PluralName": "CandelasPerSquareFoot",
- "FromUnitToBaseFunc": "{x}* 1.07639e1",
- "FromBaseToUnitFunc": "{x}/ 1.07639e1",
+ "FromUnitToBaseFunc": "{x} / 9.290304e-2",
+ "FromBaseToUnitFunc": "{x} * 9.290304e-2",
"Localization": [
{
"Culture": "en-US",
@@ -38,11 +38,11 @@
}
]
},
- {
+ {
"SingularName": "CandelaPerSquareInch",
"PluralName": "CandelasPerSquareInch",
- "FromUnitToBaseFunc": "{x}* 1.5500031e3",
- "FromBaseToUnitFunc": "{x}/ 1.5500031e3",
+ "FromUnitToBaseFunc": "{x} / 0.00064516",
+ "FromBaseToUnitFunc": "{x} * 0.00064516",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/Luminosity.json b/Common/UnitDefinitions/Luminosity.json
index e0caa0eab7..5be9c30ae9 100644
--- a/Common/UnitDefinitions/Luminosity.json
+++ b/Common/UnitDefinitions/Luminosity.json
@@ -25,9 +25,10 @@
{
"SingularName": "SolarLuminosity",
"PluralName": "SolarLuminosities",
- "FromUnitToBaseFunc": "{x} * 3.846e26",
- "FromBaseToUnitFunc": "{x} / 3.846e26",
- "XmlDocRemarks": "https://www.britannica.com/science/luminosity",
+ "XmlDocSummary": "The IAU has defined a nominal solar luminosity of 3.828×10^26 W to promote publication of consistent and comparable values in units of the solar luminosity.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Luminosity#Measurement",
+ "FromUnitToBaseFunc": "{x} * 3.828e26",
+ "FromBaseToUnitFunc": "{x} / 3.828e26",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/Mass.json b/Common/UnitDefinitions/Mass.json
index 1c2cfff129..7dac76029e 100644
--- a/Common/UnitDefinitions/Mass.json
+++ b/Common/UnitDefinitions/Mass.json
@@ -36,6 +36,8 @@
"BaseUnits": {
"M": "Tonne"
},
+ "XmlDocSummary": "The tonne is a unit of mass equal to 1,000 kilograms. It is a non-SI unit accepted for use with SI. It is also referred to as a metric ton in the United States to distinguish it from the non-metric units of the short ton (United States customary units) and the long ton (British imperial units). It is equivalent to approximately 2,204.6 pounds, 1.102 short tons, and 0.984 long tons.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Tonne",
"FromUnitToBaseFunc": "{x} * 1e3",
"FromBaseToUnitFunc": "{x} / 1e3",
"Prefixes": [ "Kilo", "Mega" ],
@@ -60,10 +62,10 @@
"BaseUnits": {
"M": "ShortTon"
},
- "FromUnitToBaseFunc": "{x} * 9.0718474e2",
- "FromBaseToUnitFunc": "{x} / 9.0718474e2",
"XmlDocSummary": "The short ton is a unit of mass equal to 2,000 pounds (907.18474 kg), that is most commonly used in the United States – known there simply as the ton.",
"XmlDocRemarks": "http://en.wikipedia.org/wiki/Short_ton",
+ "FromUnitToBaseFunc": "{x} * 907.18474",
+ "FromBaseToUnitFunc": "{x} / 907.18474",
"Localization": [
{
"Culture": "en-US",
@@ -85,10 +87,10 @@
"BaseUnits": {
"M": "LongTon"
},
- "FromUnitToBaseFunc": "{x} * 1.0160469088e3",
- "FromBaseToUnitFunc": "{x} / 1.0160469088e3",
"XmlDocSummary": "Long ton (weight ton or Imperial ton) is a unit of mass equal to 2,240 pounds (1,016 kg) and is the name for the unit called the \"ton\" in the avoirdupois or Imperial system of measurements that was used in the United Kingdom and several other Commonwealth countries before metrication.",
"XmlDocRemarks": "http://en.wikipedia.org/wiki/Long_ton",
+ "FromUnitToBaseFunc": "{x} * 1016.0469088",
+ "FromBaseToUnitFunc": "{x} / 1016.0469088",
"Localization": [
{
"Culture": "en-US",
@@ -110,10 +112,10 @@
"BaseUnits": {
"M": "Pound"
},
- "FromUnitToBaseFunc": "{x} * 0.45359237",
- "FromBaseToUnitFunc": "{x} / 0.45359237",
"XmlDocSummary": "The pound or pound-mass (abbreviations: lb, lbm) is a unit of mass used in the imperial, United States customary and other systems of measurement. A number of different definitions have been used, the most common today being the international avoirdupois pound which is legally defined as exactly 0.45359237 kilograms, and which is divided into 16 avoirdupois ounces.",
"XmlDocRemarks": "https://en.wikipedia.org/wiki/Pound_(mass)",
+ "FromUnitToBaseFunc": "{x} * 0.45359237",
+ "FromBaseToUnitFunc": "{x} / 0.45359237",
"Prefixes": [ "Kilo", "Mega" ],
"Localization": [
{
@@ -136,10 +138,10 @@
"BaseUnits": {
"M": "Ounce"
},
- "FromUnitToBaseFunc": "{x} * 0.028349523125",
- "FromBaseToUnitFunc": "{x} / 0.028349523125",
"XmlDocSummary": "The international avoirdupois ounce (abbreviated oz) is defined as exactly 28.349523125 g under the international yard and pound agreement of 1959, signed by the United States and countries of the Commonwealth of Nations. 16 oz make up an avoirdupois pound.",
"XmlDocRemarks": "https://en.wikipedia.org/wiki/Ounce",
+ "FromUnitToBaseFunc": "{x} * 0.028349523125",
+ "FromBaseToUnitFunc": "{x} / 0.028349523125",
"Localization": [
{
"Culture": "en-US",
@@ -157,10 +159,10 @@
"BaseUnits": {
"M": "Slug"
},
- "FromUnitToBaseFunc": "{x} / 6.852176556196105e-2",
- "FromBaseToUnitFunc": "{x} * 6.852176556196105e-2",
"XmlDocSummary": "The slug (abbreviation slug) is a unit of mass that is accelerated by 1 ft/s² when a force of one pound (lbf) is exerted on it.",
"XmlDocRemarks": "http://en.wikipedia.org/wiki/Slug_(unit)",
+ "FromUnitToBaseFunc": "{x} * (32.17405 * 0.45359237)",
+ "FromBaseToUnitFunc": "{x} / (32.17405 * 0.45359237)",
"Localization": [
{
"Culture": "en-US",
@@ -174,10 +176,10 @@
"BaseUnits": {
"M": "Stone"
},
- "FromUnitToBaseFunc": "{x} / 0.1574731728702698",
- "FromBaseToUnitFunc": "{x} * 0.1574731728702698",
"XmlDocSummary": "The stone (abbreviation st) is a unit of mass equal to 14 pounds avoirdupois (about 6.35 kilograms) used in Great Britain and Ireland for measuring human body weight.",
"XmlDocRemarks": "http://en.wikipedia.org/wiki/Stone_(unit)",
+ "FromUnitToBaseFunc": "{x} * 6.35029318",
+ "FromBaseToUnitFunc": "{x} / 6.35029318",
"Localization": [
{
"Culture": "en-US",
@@ -191,10 +193,10 @@
"BaseUnits": {
"M": "ShortHundredweight"
},
- "FromUnitToBaseFunc": "{x} / 0.022046226218487758",
- "FromBaseToUnitFunc": "{x} * 0.022046226218487758",
"XmlDocSummary": "The short hundredweight (abbreviation cwt) is a unit of mass equal to 100 pounds in US and Canada. In British English, the short hundredweight is referred to as the \"cental\".",
"XmlDocRemarks": "https://en.wikipedia.org/wiki/Hundredweight",
+ "FromUnitToBaseFunc": "{x} * 45.359237",
+ "FromBaseToUnitFunc": "{x} / 45.359237",
"Localization": [
{
"Culture": "en-US",
@@ -208,10 +210,10 @@
"BaseUnits": {
"M": "LongHundredweight"
},
- "FromUnitToBaseFunc": "{x} / 0.01968413055222121",
- "FromBaseToUnitFunc": "{x} * 0.01968413055222121",
"XmlDocSummary": "The long or imperial hundredweight (abbreviation cwt) is a unit of mass equal to 112 pounds in US and Canada.",
"XmlDocRemarks": "https://en.wikipedia.org/wiki/Hundredweight",
+ "FromUnitToBaseFunc": "{x} * 50.80234544",
+ "FromBaseToUnitFunc": "{x} / 50.80234544",
"Localization": [
{
"Culture": "en-US",
@@ -225,10 +227,10 @@
"BaseUnits": {
"M": "Grain"
},
- "FromUnitToBaseFunc": "{x} / 15432.358352941431",
- "FromBaseToUnitFunc": "{x} * 15432.358352941431",
"XmlDocSummary": "A grain is a unit of measurement of mass, and in the troy weight, avoirdupois, and Apothecaries' system, equal to exactly 64.79891 milligrams.",
"XmlDocRemarks": "https://en.wikipedia.org/wiki/Grain_(unit)",
+ "FromUnitToBaseFunc": "{x} * 64.79891e-6",
+ "FromBaseToUnitFunc": "{x} / 64.79891e-6",
"Localization": [
{
"Culture": "en-US",
@@ -242,10 +244,10 @@
"BaseUnits": {
"M": "SolarMass"
},
- "FromUnitToBaseFunc": "{x} * 1.98947e30",
- "FromBaseToUnitFunc": "{x} / 1.98947e30",
"XmlDocSummary": "Solar mass is a ratio unit to the mass of the solar system star, the sun.",
"XmlDocRemarks": "https://en.wikipedia.org/wiki/Solar_mass",
+ "FromUnitToBaseFunc": "{x} * 1.98947e30",
+ "FromBaseToUnitFunc": "{x} / 1.98947e30",
"Localization": [
{
"Culture": "en-US",
@@ -259,10 +261,10 @@
"BaseUnits": {
"M": "EarthMass"
},
- "FromUnitToBaseFunc": "{x} * 5.9722E+24",
- "FromBaseToUnitFunc": "{x} / 5.9722E+24",
"XmlDocSummary": "Earth mass is a ratio unit to the mass of planet Earth.",
"XmlDocRemarks": "https://en.wikipedia.org/wiki/Earth_mass",
+ "FromUnitToBaseFunc": "{x} * 5.9722E+24",
+ "FromBaseToUnitFunc": "{x} / 5.9722E+24",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/MassConcentration.json b/Common/UnitDefinitions/MassConcentration.json
index a8f7d6097c..f90ba684c6 100644
--- a/Common/UnitDefinitions/MassConcentration.json
+++ b/Common/UnitDefinitions/MassConcentration.json
@@ -182,8 +182,8 @@
"M": "Pound",
"L": "Inch"
},
- "FromUnitToBaseFunc": "{x} / 3.6127298147753e-5",
- "FromBaseToUnitFunc": "{x} * 3.6127298147753e-5",
+ "FromUnitToBaseFunc": "{x} * 0.45359237 / 1.6387064e-5",
+ "FromBaseToUnitFunc": "{x} * 1.6387064e-5 / 0.45359237",
"Prefixes": [ "Kilo" ],
"Localization": [
{
@@ -200,8 +200,8 @@
"M": "Pound",
"L": "Foot"
},
- "FromUnitToBaseFunc": "{x} / 0.062427961",
- "FromBaseToUnitFunc": "{x} * 0.062427961",
+ "FromUnitToBaseFunc": "{x} * 0.45359237 / 0.028316846592",
+ "FromBaseToUnitFunc": "{x} * 0.028316846592 / 0.45359237",
"Prefixes": [ "Kilo" ],
"Localization": [
{
@@ -218,8 +218,8 @@
"M": "Slug",
"L": "Foot"
},
- "FromUnitToBaseFunc": "{x} * 515.378818",
- "FromBaseToUnitFunc": "{x} * 0.00194032033",
+ "FromUnitToBaseFunc": "{x} * (32.17405 * 0.45359237) / 0.028316846592",
+ "FromBaseToUnitFunc": "{x} * 0.028316846592 / (32.17405 * 0.45359237)",
"Localization": [
{
"Culture": "en-US",
@@ -230,8 +230,8 @@
{
"SingularName": "PoundPerUSGallon",
"PluralName": "PoundsPerUSGallon",
- "FromUnitToBaseFunc": "{x} * 1.19826427e2",
- "FromBaseToUnitFunc": "{x} / 1.19826427e2",
+ "FromUnitToBaseFunc": "{x} * 0.45359237 / 0.003785411784",
+ "FromBaseToUnitFunc": "{x} * 0.003785411784 / 0.45359237",
"Localization": [
{
"Culture": "en-US",
@@ -239,11 +239,11 @@
}
]
},
- {
+ {
"SingularName": "OuncePerUSGallon",
"PluralName": "OuncesPerUSGallon",
- "FromUnitToBaseFunc": " {x} / 0.1335264711843",
- "FromBaseToUnitFunc": "{x} * 0.1335264711843",
+ "FromUnitToBaseFunc": "{x} * 0.028349523125 / 0.003785411784",
+ "FromBaseToUnitFunc": "{x} * 0.003785411784 / 0.028349523125",
"Localization": [
{
"Culture": "en-US",
@@ -251,11 +251,11 @@
}
]
},
- {
+ {
"SingularName": "OuncePerImperialGallon",
"PluralName": "OuncesPerImperialGallon",
- "FromUnitToBaseFunc": " {x} / 0.1603586720609",
- "FromBaseToUnitFunc": "{x} * 0.1603586720609",
+ "FromUnitToBaseFunc": "{x} * 0.028349523125 / 0.00454609",
+ "FromBaseToUnitFunc": "{x} * 0.00454609 / 0.028349523125",
"Localization": [
{
"Culture": "en-US",
@@ -266,8 +266,8 @@
{
"SingularName": "PoundPerImperialGallon",
"PluralName": "PoundsPerImperialGallon",
- "FromUnitToBaseFunc": "{x} * 9.9776398e1",
- "FromBaseToUnitFunc": "{x} / 9.9776398e1",
+ "FromUnitToBaseFunc": "{x} * 0.45359237 / 0.00454609",
+ "FromBaseToUnitFunc": "{x} * 0.00454609 / 0.45359237",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/MassFlow.json b/Common/UnitDefinitions/MassFlow.json
index 509abd6a53..9205e42865 100644
--- a/Common/UnitDefinitions/MassFlow.json
+++ b/Common/UnitDefinitions/MassFlow.json
@@ -80,7 +80,7 @@
{
"SingularName": "TonnePerHour",
"PluralName": "TonnesPerHour",
- "FromUnitToBaseFunc": "1000 * {x} / 3.6",
+ "FromUnitToBaseFunc": "{x} * 1000 / 3.6",
"FromBaseToUnitFunc": "{x} * 3.6 / 1000",
"Localization": [
{
@@ -92,8 +92,8 @@
{
"SingularName": "PoundPerDay",
"PluralName": "PoundsPerDay",
- "FromUnitToBaseFunc": "{x} / 190.47936",
- "FromBaseToUnitFunc": "{x} * 190.47936",
+ "FromUnitToBaseFunc": "{x} * 453.59237 / 86400",
+ "FromBaseToUnitFunc": "{x} * 86400 / 453.59237",
"Prefixes": [ "Mega" ],
"Localization": [
{
@@ -105,8 +105,8 @@
{
"SingularName": "PoundPerHour",
"PluralName": "PoundsPerHour",
- "FromUnitToBaseFunc": "{x} / 7.93664",
- "FromBaseToUnitFunc": "{x} * 7.93664",
+ "FromUnitToBaseFunc": "{x} * 453.59237 / 3600",
+ "FromBaseToUnitFunc": "{x} * 3600 / 453.59237",
"Prefixes": [ "Mega" ],
"Localization": [
{
@@ -118,8 +118,8 @@
{
"SingularName": "PoundPerMinute",
"PluralName": "PoundsPerMinute",
- "FromUnitToBaseFunc": "{x} / 0.132277",
- "FromBaseToUnitFunc": "{x} * 0.132277",
+ "FromUnitToBaseFunc": "{x} * 453.59237 / 60",
+ "FromBaseToUnitFunc": "{x} * 60 / 453.59237",
"Prefixes": [ "Mega" ],
"Localization": [
{
@@ -156,8 +156,8 @@
{
"SingularName": "ShortTonPerHour",
"PluralName": "ShortTonsPerHour",
- "FromUnitToBaseFunc": "{x} * 251.9957611",
- "FromBaseToUnitFunc": "{x} / 251.9957611",
+ "FromUnitToBaseFunc": "{x} * 907.18474 / 3.6",
+ "FromBaseToUnitFunc": "{x} * 3.6 / 907.18474",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/MassMomentOfInertia.json b/Common/UnitDefinitions/MassMomentOfInertia.json
index 87f7a4ee11..b0b60b4d7b 100644
--- a/Common/UnitDefinitions/MassMomentOfInertia.json
+++ b/Common/UnitDefinitions/MassMomentOfInertia.json
@@ -114,8 +114,8 @@
{
"SingularName": "PoundSquareFoot",
"PluralName": "PoundSquareFeet",
- "FromUnitToBaseFunc": "{x} * 4.21401101e-2",
- "FromBaseToUnitFunc": "{x} / 4.21401101e-2",
+ "FromUnitToBaseFunc": "{x} * (0.45359237 * 9.290304e-2)",
+ "FromBaseToUnitFunc": "{x} / (0.45359237 * 9.290304e-2)",
"Localization": [
{
"Culture": "en-US",
@@ -126,8 +126,8 @@
{
"SingularName": "PoundSquareInch",
"PluralName": "PoundSquareInches",
- "FromUnitToBaseFunc": "{x} * 2.9263965e-4",
- "FromBaseToUnitFunc": "{x} / 2.9263965e-4",
+ "FromUnitToBaseFunc": "{x} * (0.45359237 * 0.00064516)",
+ "FromBaseToUnitFunc": "{x} / (0.45359237 * 0.00064516)",
"Localization": [
{
"Culture": "en-US",
@@ -138,8 +138,8 @@
{
"SingularName": "SlugSquareFoot",
"PluralName": "SlugSquareFeet",
- "FromUnitToBaseFunc": "{x} * 1.3558179619",
- "FromBaseToUnitFunc": "{x} / 1.3558179619",
+ "FromUnitToBaseFunc": "{x} * (32.17405 * 0.45359237 * 9.290304e-2)",
+ "FromBaseToUnitFunc": "{x} / (32.17405 * 0.45359237 * 9.290304e-2)",
"Localization": [
{
"Culture": "en-US",
@@ -150,8 +150,8 @@
{
"SingularName": "SlugSquareInch",
"PluralName": "SlugSquareInches",
- "FromUnitToBaseFunc": "{x} * 9.41540242e-3",
- "FromBaseToUnitFunc": "{x} / 9.41540242e-3",
+ "FromUnitToBaseFunc": "{x} * (32.17405 * 0.45359237 * 0.00064516)",
+ "FromBaseToUnitFunc": "{x} / (32.17405 * 0.45359237 * 0.00064516)",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/Molarity.json b/Common/UnitDefinitions/Molarity.json
index 81a0c605dc..af909bbb4f 100644
--- a/Common/UnitDefinitions/Molarity.json
+++ b/Common/UnitDefinitions/Molarity.json
@@ -49,8 +49,8 @@
"L": "Foot",
"N": "PoundMole"
},
- "FromUnitToBaseFunc": "{x} / 6.2427960576144611956325455827221e-5",
- "FromBaseToUnitFunc": "{x} * 6.2427960576144611956325455827221e-5",
+ "FromUnitToBaseFunc": "{x} * 1000 * 0.45359237 / 0.028316846592",
+ "FromBaseToUnitFunc": "{x} / (1000 * 0.45359237 / 0.028316846592)",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/PorousMediumPermeability.json b/Common/UnitDefinitions/PorousMediumPermeability.json
index 5f6a0f78ae..746e8805ab 100644
--- a/Common/UnitDefinitions/PorousMediumPermeability.json
+++ b/Common/UnitDefinitions/PorousMediumPermeability.json
@@ -10,6 +10,8 @@
{
"SingularName": "Darcy",
"PluralName": "Darcys",
+ "XmlDocSummary": "The darcy (or darcy unit) and millidarcy (md or mD) are units of permeability, named after Henry Darcy. They are not SI units, but they are widely used in petroleum engineering and geology.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Darcy_(unit)",
"FromUnitToBaseFunc": "{x} * 9.869233e-13",
"FromBaseToUnitFunc": "{x} / 9.869233e-13",
"Prefixes": [ "Micro", "Milli" ],
diff --git a/Common/UnitDefinitions/Power.json b/Common/UnitDefinitions/Power.json
index a6bf85e842..d3cb178e61 100644
--- a/Common/UnitDefinitions/Power.json
+++ b/Common/UnitDefinitions/Power.json
@@ -30,8 +30,10 @@
{
"SingularName": "MechanicalHorsepower",
"PluralName": "MechanicalHorsepower",
- "FromUnitToBaseFunc": "{x} * 745.69m",
- "FromBaseToUnitFunc": "{x} / 745.69m",
+ "XmlDocSummary": "Assuming the third CGPM (1901, CR 70) definition of standard gravity, gn = 9.80665 m/s2, is used to define the pound-force as well as the kilogram force, and the international avoirdupois pound (1959), one imperial horsepower is: 76.0402249 × 9.80665 kg⋅m2/s3",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Horsepower#Imperial_horsepower",
+ "FromUnitToBaseFunc": "{x} * 76.0402249m * 9.80665m",
+ "FromBaseToUnitFunc": "{x} / (76.0402249m * 9.80665m)",
"Localization": [
{
"Culture": "en-US",
@@ -42,6 +44,8 @@
{
"SingularName": "MetricHorsepower",
"PluralName": "MetricHorsepower",
+ "XmlDocSummary": "DIN 66036 defines one metric horsepower as the power to raise a mass of 75 kilograms against the Earth's gravitational force over a distance of one metre in one second:[18] 75 kg × 9.80665 m/s2 × 1 m / 1 s = 75 kgf⋅m/s = 1 PS. This is equivalent to 735.49875 W, or 98.6% of an imperial horsepower.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Horsepower#Metric_horsepower_(PS,_KM,_cv,_hk,_pk,_k,_ks,_ch)",
"FromUnitToBaseFunc": "{x} * 735.49875m",
"FromBaseToUnitFunc": "{x} / 735.49875m",
"Localization": [
@@ -54,6 +58,8 @@
{
"SingularName": "ElectricalHorsepower",
"PluralName": "ElectricalHorsepower",
+ "XmlDocSummary": "Nameplates on electrical motors show their power output, not the power input (the power delivered at the shaft, not the power consumed to drive the motor). This power output is ordinarily stated in watts or kilowatts. In the United States, the power output is stated in horsepower, which for this purpose is defined as exactly 746 W.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Horsepower#Electrical_horsepower",
"FromUnitToBaseFunc": "{x} * 746m",
"FromBaseToUnitFunc": "{x} / 746m",
"Localization": [
@@ -66,6 +72,8 @@
{
"SingularName": "BoilerHorsepower",
"PluralName": "BoilerHorsepower",
+ "XmlDocSummary": "Boiler horsepower is a boiler's capacity to deliver steam to a steam engine and is not the same unit of power as the 550 ft lb/s definition. One boiler horsepower is equal to the thermal energy rate required to evaporate 34.5 pounds (15.6 kg) of fresh water at 212 °F (100 °C) in one hour.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Horsepower#Boiler_horsepower",
"FromUnitToBaseFunc": "{x} * 9812.5m",
"FromBaseToUnitFunc": "{x} / 9812.5m",
"Localization": [
@@ -78,6 +86,8 @@
{
"SingularName": "HydraulicHorsepower",
"PluralName": "HydraulicHorsepower",
+ "XmlDocSummary": "Hydraulic horsepower can represent the power available within hydraulic machinery, power through the down-hole nozzle of a drilling rig, or can be used to estimate the mechanical power needed to generate a known hydraulic flow rate.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Horsepower#Hydraulic_horsepower",
"FromUnitToBaseFunc": "{x} * 745.69988145m",
"FromBaseToUnitFunc": "{x} / 745.69988145m",
"Localization": [
@@ -90,8 +100,8 @@
{
"SingularName": "BritishThermalUnitPerHour",
"PluralName": "BritishThermalUnitsPerHour",
- "FromUnitToBaseFunc": "{x} * 0.29307107017m",
- "FromBaseToUnitFunc": "{x} / 0.29307107017m",
+ "FromUnitToBaseFunc": "{x} * 1055.05585262m / 3600m",
+ "FromBaseToUnitFunc": "{x} * 3600m / 1055.05585262m",
"Prefixes": [ "Kilo", "Mega" ],
"Localization": [
{
diff --git a/Common/UnitDefinitions/PowerDensity.json b/Common/UnitDefinitions/PowerDensity.json
index 0318d9cd42..8a4d3fa962 100644
--- a/Common/UnitDefinitions/PowerDensity.json
+++ b/Common/UnitDefinitions/PowerDensity.json
@@ -29,8 +29,8 @@
{
"SingularName": "WattPerCubicInch",
"PluralName": "WattsPerCubicInch",
- "FromUnitToBaseFunc": "{x} * 6.102374409473228e4",
- "FromBaseToUnitFunc": "{x} / 6.102374409473228e4",
+ "FromUnitToBaseFunc": "{x} / 1.6387064e-5",
+ "FromBaseToUnitFunc": "{x} * 1.6387064e-5",
"Prefixes": [ "Pico", "Nano", "Micro", "Milli", "Deci", "Deca", "Kilo", "Mega", "Giga", "Tera" ],
"Localization": [
{
@@ -42,8 +42,8 @@
{
"SingularName": "WattPerCubicFoot",
"PluralName": "WattsPerCubicFoot",
- "FromUnitToBaseFunc": "{x} * 3.531466672148859e1",
- "FromBaseToUnitFunc": "{x} / 3.531466672148859e1",
+ "FromUnitToBaseFunc": "{x} / 0.028316846592",
+ "FromBaseToUnitFunc": "{x} * 0.028316846592",
"Prefixes": [ "Pico", "Nano", "Micro", "Milli", "Deci", "Deca", "Kilo", "Mega", "Giga", "Tera" ],
"Localization": [
{
diff --git a/Common/UnitDefinitions/Pressure.json b/Common/UnitDefinitions/Pressure.json
index 663b8007fe..f5af95964e 100644
--- a/Common/UnitDefinitions/Pressure.json
+++ b/Common/UnitDefinitions/Pressure.json
@@ -33,6 +33,8 @@
{
"SingularName": "Atmosphere",
"PluralName": "Atmospheres",
+ "XmlDocSummary": "The standard atmosphere (symbol: atm) is a unit of pressure defined as 101325 Pa. It is sometimes used as a reference pressure or standard pressure. It is approximately equal to Earth's average atmospheric pressure at sea level.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Standard_atmosphere_(unit)",
"FromUnitToBaseFunc": "{x} * 1.01325 * 1e5",
"FromBaseToUnitFunc": "{x} / (1.01325 * 1e5)",
"Localization": [
@@ -49,6 +51,8 @@
{
"SingularName": "Bar",
"PluralName": "Bars",
+ "XmlDocSummary": "The bar is a metric unit of pressure defined as 100,000 Pa (100 kPa), though not part of the International System of Units (SI). A pressure of 1 bar is slightly less than the current average atmospheric pressure on Earth at sea level (approximately 1.013 bar).",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Bar_(unit)",
"FromUnitToBaseFunc": "{x} * 1e5",
"FromBaseToUnitFunc": "{x} / 1e5",
"Prefixes": [ "Micro", "Milli", "Centi", "Deci", "Kilo", "Mega" ],
@@ -66,8 +70,8 @@
{
"SingularName": "KilogramForcePerSquareMeter",
"PluralName": "KilogramsForcePerSquareMeter",
- "FromUnitToBaseFunc": "{x} * 9.80665019960652",
- "FromBaseToUnitFunc": "{x} * 0.101971619222242",
+ "FromUnitToBaseFunc": "{x} * 9.80665",
+ "FromBaseToUnitFunc": "{x} / 9.80665",
"Localization": [
{
"Culture": "en-US",
@@ -87,6 +91,8 @@
"M": "Kilogram",
"T": "Second"
},
+ "XmlDocSummary": "A kilogram-force per centimetre square (kgf/cm2), often just kilogram per square centimetre (kg/cm2), or kilopond per centimetre square (kp/cm2) is a deprecated unit of pressure using metric units. It is not a part of the International System of Units (SI), the modern metric system. 1 kgf/cm2 equals 98.0665 kPa (kilopascals). It is also known as a technical atmosphere (symbol: at).",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Kilogram-force_per_square_centimetre",
"FromUnitToBaseFunc": "{x} * 9.80665e4",
"FromBaseToUnitFunc": "{x} / 9.80665e4",
"Localization": [
@@ -170,8 +176,10 @@
{
"SingularName": "TechnicalAtmosphere",
"PluralName": "TechnicalAtmospheres",
- "FromUnitToBaseFunc": "{x} * 9.80680592331 * 1e4",
- "FromBaseToUnitFunc": "{x} / (9.80680592331 * 1e4)",
+ "XmlDocSummary": "A kilogram-force per centimetre square (kgf/cm2), often just kilogram per square centimetre (kg/cm2), or kilopond per centimetre square (kp/cm2) is a deprecated unit of pressure using metric units. It is not a part of the International System of Units (SI), the modern metric system. 1 kgf/cm2 equals 98.0665 kPa (kilopascals). It is also known as a technical atmosphere (symbol: at).",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Kilogram-force_per_square_centimetre",
+ "FromUnitToBaseFunc": "{x} * 9.80665e4",
+ "FromBaseToUnitFunc": "{x} / 9.80665e4",
"Localization": [
{
"Culture": "en-US",
@@ -186,8 +194,10 @@
{
"SingularName": "Torr",
"PluralName": "Torrs",
- "FromUnitToBaseFunc": "{x} * 1.3332266752 * 1e2",
- "FromBaseToUnitFunc": "{x} / (1.3332266752 * 1e2)",
+ "XmlDocSummary": "The torr (symbol: Torr) is a unit of pressure based on an absolute scale, defined as exactly 1/760 of a standard atmosphere (101325 Pa). Thus one torr is exactly 101325/760 pascals (≈ 133.32 Pa).",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Torr",
+ "FromUnitToBaseFunc": "{x} * 101325 / 760",
+ "FromBaseToUnitFunc": "{x} * 760 / 101325",
"Localization": [
{
"Culture": "en-US",
@@ -207,8 +217,8 @@
"M": "Pound",
"T": "Second"
},
- "FromUnitToBaseFunc": "{x} * 6.894757293168361e3",
- "FromBaseToUnitFunc": "{x} / 6.894757293168361e3",
+ "FromUnitToBaseFunc": "{x} * 4.4482216152605 / 0.00064516",
+ "FromBaseToUnitFunc": "{x} * 0.00064516 / 4.4482216152605",
"Prefixes": [ "Kilo" ],
"Localization": [
{
@@ -231,8 +241,8 @@
"M": "Pound",
"T": "Second"
},
- "FromUnitToBaseFunc": "{x} * 6.894757293168361e9",
- "FromBaseToUnitFunc": "{x} / 6.894757293168361e9",
+ "FromUnitToBaseFunc": "{x} * 4.4482216152605 / (2.54e-5 * 2.54e-5)",
+ "FromBaseToUnitFunc": "{x} * (2.54e-5 * 2.54e-5) / 4.4482216152605",
"Prefixes": [ "Kilo" ],
"Localization": [
{
@@ -250,8 +260,8 @@
"M": "Pound",
"T": "Second"
},
- "FromUnitToBaseFunc": "{x} * 4.788025898033584e1",
- "FromBaseToUnitFunc": "{x} / 4.788025898033584e1",
+ "FromUnitToBaseFunc": "{x} * 4.4482216152605 / 9.290304e-2",
+ "FromBaseToUnitFunc": "{x} * 9.290304e-2 / 4.4482216152605",
"Prefixes": [ "Kilo" ],
"Localization": [
{
@@ -339,8 +349,10 @@
{
"SingularName": "MillimeterOfMercury",
"PluralName": "MillimetersOfMercury",
- "FromUnitToBaseFunc": "{x} / 7.50061561302643e-3",
- "FromBaseToUnitFunc": "{x} * 7.50061561302643e-3",
+ "XmlDocSummary": "A millimetre of mercury is a manometric unit of pressure, formerly defined as the extra pressure generated by a column of mercury one millimetre high, and currently defined as exactly 133.322387415 pascals.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Millimetre_of_mercury",
+ "FromUnitToBaseFunc": "{x} * 133.322387415",
+ "FromBaseToUnitFunc": "{x} / 133.322387415",
"Localization": [
{
"Culture": "en-US",
@@ -355,8 +367,10 @@
{
"SingularName": "InchOfMercury",
"PluralName": "InchesOfMercury",
- "FromUnitToBaseFunc": "{x} / 2.95299830714159e-4",
- "FromBaseToUnitFunc": "{x} * 2.95299830714159e-4",
+ "XmlDocSummary": "Inch of mercury (inHg and ″Hg) is a non-SI unit of measurement for pressure. It is used for barometric pressure in weather reports, refrigeration and aviation in the United States. It is the pressure exerted by a column of mercury 1 inch (25.4 mm) in height at the standard acceleration of gravity.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Inch_of_mercury",
+ "FromUnitToBaseFunc": "{x} * 2.54e1 * 133.322387415",
+ "FromBaseToUnitFunc": "{x} / (2.54e1 * 133.322387415)",
"Localization": [
{
"Culture": "en-US",
@@ -379,8 +393,8 @@
{
"SingularName": "PoundPerInchSecondSquared",
"PluralName": "PoundsPerInchSecondSquared",
- "FromUnitToBaseFunc": "{x} * 1.785796732283465e1",
- "FromBaseToUnitFunc": "{x} / 1.785796732283465e1",
+ "FromUnitToBaseFunc": "{x} * (4.4482216152605 / 0.00064516) / 386.0886",
+ "FromBaseToUnitFunc": "{x} * 386.0886 / (4.4482216152605 / 0.00064516)",
"Localization": [
{
"Culture": "en-US",
@@ -391,8 +405,10 @@
{
"SingularName": "MeterOfWaterColumn",
"PluralName": "MetersOfWaterColumn",
- "FromUnitToBaseFunc": "{x} * 9.806650000000272e3",
- "FromBaseToUnitFunc": "{x} / 9.806650000000272e3",
+ "XmlDocSummary": "A centimetre of water is defined as the pressure exerted by a column of water of 1 cm in height at 4 °C (temperature of maximum density) at the standard acceleration of gravity, so that 1 cmH2O (4°C) = 999.9720 kg/m3 × 9.80665 m/s2 × 1 cm = 98.063754138 Pa, but conventionally a nominal maximum water density of 1000 kg/m3 is used, giving 98.0665 Pa.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Centimetre_or_millimetre_of_water",
+ "FromUnitToBaseFunc": "{x} * 9.80665e3",
+ "FromBaseToUnitFunc": "{x} / 9.80665e3",
"Prefixes": [ "Milli", "Centi" ],
"Localization": [
{
@@ -404,8 +420,10 @@
{
"SingularName": "InchOfWaterColumn",
"PluralName": "InchesOfWaterColumn",
- "FromUnitToBaseFunc": "{x} * 249.08890833333",
- "FromBaseToUnitFunc": "{x} / 249.08890833333",
+ "XmlDocSummary": "Inches of water is a non-SI unit for pressure. It is defined as the pressure exerted by a column of water of 1 inch in height at defined conditions. At a temperature of 4 °C (39.2 °F) pure water has its highest density (1000 kg/m3). At that temperature and assuming the standard acceleration of gravity, 1 inAq is approximately 249.082 pascals (0.0361263 psi).",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Inch_of_water",
+ "FromUnitToBaseFunc": "{x} * 2.54e-2 * 9.80665e3",
+ "FromBaseToUnitFunc": "{x} / (2.54e-2 * 9.80665e3)",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/PressureChangeRate.json b/Common/UnitDefinitions/PressureChangeRate.json
index c10ba8f7fe..ae6108bf01 100644
--- a/Common/UnitDefinitions/PressureChangeRate.json
+++ b/Common/UnitDefinitions/PressureChangeRate.json
@@ -55,8 +55,8 @@
{
"SingularName": "MillimeterOfMercuryPerSecond",
"PluralName": "MillimetersOfMercuryPerSecond",
- "FromUnitToBaseFunc": "{x} * 133.322",
- "FromBaseToUnitFunc": "{x} / 133.322",
+ "FromUnitToBaseFunc": "{x} * 133.322387415",
+ "FromBaseToUnitFunc": "{x} / 133.322387415",
"Localization": [
{
"Culture": "en-US",
@@ -92,19 +92,19 @@
"M": "Pound",
"T": "Second"
},
- "FromUnitToBaseFunc": "{x} * 6.894757293168361e3",
- "FromBaseToUnitFunc": "{x} / 6.894757293168361e3",
+ "FromUnitToBaseFunc": "{x} * 4.4482216152605 / 0.00064516",
+ "FromBaseToUnitFunc": "{x} * 0.00064516 / 4.4482216152605",
"Prefixes": [ "Kilo", "Mega" ],
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "psi/s", "lb/in²/s" ],
- "AbbreviationsForPrefixes": { "Kilo": [ "ksi/s", "kipf/in²/s" ]}
+ "AbbreviationsForPrefixes": { "Kilo": [ "ksi/s", "kipf/in²/s" ] }
},
{
"Culture": "ru-RU",
"Abbreviations": [ "psi/с", "lb/in²/с" ],
- "AbbreviationsForPrefixes": { "Kilo": [ "ksi/с", "kipf/in²/с" ]}
+ "AbbreviationsForPrefixes": { "Kilo": [ "ksi/с", "kipf/in²/с" ] }
}
]
},
@@ -116,19 +116,19 @@
"M": "Pound",
"T": "Minute"
},
- "FromUnitToBaseFunc": "{x} * 6.894757293168361e3 / 60",
- "FromBaseToUnitFunc": "{x} / 6.894757293168361e3 * 60",
+ "FromUnitToBaseFunc": "{x} * (4.4482216152605 / 0.00064516) / 60",
+ "FromBaseToUnitFunc": "{x} * 60 / (4.4482216152605 / 0.00064516)",
"Prefixes": [ "Kilo", "Mega" ],
"Localization": [
{
"Culture": "en-US",
"Abbreviations": [ "psi/min", "lb/in²/min" ],
- "AbbreviationsForPrefixes": { "Kilo": [ "ksi/min", "kipf/in²/min" ]}
+ "AbbreviationsForPrefixes": { "Kilo": [ "ksi/min", "kipf/in²/min" ] }
},
{
"Culture": "ru-RU",
"Abbreviations": [ "psi/мин", "lb/in²/мин" ],
- "AbbreviationsForPrefixes": { "Kilo": [ "ksi/мин", "kipf/in²/мин" ]}
+ "AbbreviationsForPrefixes": { "Kilo": [ "ksi/мин", "kipf/in²/мин" ] }
}
]
},
diff --git a/Common/UnitDefinitions/ReciprocalArea.json b/Common/UnitDefinitions/ReciprocalArea.json
index 425302d1cd..43b37a3251 100644
--- a/Common/UnitDefinitions/ReciprocalArea.json
+++ b/Common/UnitDefinitions/ReciprocalArea.json
@@ -82,8 +82,8 @@
{
"SingularName": "InverseSquareMile",
"PluralName": "InverseSquareMiles",
- "FromUnitToBaseFunc": "{x} / 2.59e6",
- "FromBaseToUnitFunc": "{x} * 2.59e6",
+ "FromUnitToBaseFunc": "{x} / (1609.344 * 1609.344)",
+ "FromBaseToUnitFunc": "{x} * (1609.344 * 1609.344)",
"Localization": [
{
"Culture": "en-US",
@@ -94,8 +94,8 @@
{
"SingularName": "InverseSquareYard",
"PluralName": "InverseSquareYards",
- "FromUnitToBaseFunc": "{x} / 0.836127",
- "FromBaseToUnitFunc": "{x} * 0.836127",
+ "FromUnitToBaseFunc": "{x} / (0.9144 * 0.9144)",
+ "FromBaseToUnitFunc": "{x} * (0.9144 * 0.9144)",
"Localization": [
{
"Culture": "en-US",
@@ -106,8 +106,8 @@
{
"SingularName": "InverseSquareFoot",
"PluralName": "InverseSquareFeet",
- "FromUnitToBaseFunc": "{x} / 0.092903",
- "FromBaseToUnitFunc": "{x} * 0.092903",
+ "FromUnitToBaseFunc": "{x} / 9.290304e-2",
+ "FromBaseToUnitFunc": "{x} * 9.290304e-2",
"Localization": [
{
"Culture": "en-US",
@@ -118,8 +118,8 @@
{
"SingularName": "InverseUsSurveySquareFoot",
"PluralName": "InverseUsSurveySquareFeet",
- "FromUnitToBaseFunc": "{x} / 0.09290341161",
- "FromBaseToUnitFunc": "{x} * 0.09290341161",
+ "FromUnitToBaseFunc": "{x} / (1200.0 / 3937.0) / (1200.0 / 3937.0)",
+ "FromBaseToUnitFunc": "{x} * (1200.0 / 3937.0) * (1200.0 / 3937.0)",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/RotationalSpeed.json b/Common/UnitDefinitions/RotationalSpeed.json
index 0ee2d13ab0..4ab9fffc91 100644
--- a/Common/UnitDefinitions/RotationalSpeed.json
+++ b/Common/UnitDefinitions/RotationalSpeed.json
@@ -55,8 +55,8 @@
{
"SingularName": "RevolutionPerSecond",
"PluralName": "RevolutionsPerSecond",
- "FromUnitToBaseFunc": "{x} * 6.2831853072",
- "FromBaseToUnitFunc": "{x} / 6.2831853072",
+ "FromUnitToBaseFunc": "{x} * 2 * Math.PI",
+ "FromBaseToUnitFunc": "{x} / (2 * Math.PI)",
"Localization": [
{
"Culture": "en-US",
@@ -71,8 +71,8 @@
{
"SingularName": "RevolutionPerMinute",
"PluralName": "RevolutionsPerMinute",
- "FromUnitToBaseFunc": "({x} * 6.2831853072) / 60",
- "FromBaseToUnitFunc": "({x} / 6.2831853072) * 60",
+ "FromUnitToBaseFunc": "({x} * 2 * Math.PI) / 60",
+ "FromBaseToUnitFunc": "({x} / (2 * Math.PI)) * 60",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/RotationalStiffness.json b/Common/UnitDefinitions/RotationalStiffness.json
index eeadfe573d..379121bd33 100644
--- a/Common/UnitDefinitions/RotationalStiffness.json
+++ b/Common/UnitDefinitions/RotationalStiffness.json
@@ -24,8 +24,8 @@
{
"SingularName": "PoundForceFootPerDegrees",
"PluralName": "PoundForceFeetPerDegrees",
- "FromUnitToBaseFunc": "{x} * 77.6826",
- "FromBaseToUnitFunc": "{x} / 77.6826",
+ "FromUnitToBaseFunc": "{x} * (4.4482216152605 * 0.3048 * 180 / Math.PI)",
+ "FromBaseToUnitFunc": "{x} / (4.4482216152605 * 0.3048 * 180 / Math.PI)",
"Localization": [
{
"Culture": "en-US",
@@ -36,8 +36,8 @@
{
"SingularName": "KilopoundForceFootPerDegrees",
"PluralName": "KilopoundForceFeetPerDegrees",
- "FromUnitToBaseFunc": "{x} * 77682.6",
- "FromBaseToUnitFunc": "{x} / 77682.6",
+ "FromUnitToBaseFunc": "{x} * (4.4482216152605e3 * 0.3048 * 180 / Math.PI)",
+ "FromBaseToUnitFunc": "{x} / (4.4482216152605e3 * 0.3048 * 180 / Math.PI)",
"Localization": [
{
"Culture": "en-US",
@@ -87,8 +87,8 @@
{
"SingularName": "PoundForceFeetPerRadian",
"PluralName": "PoundForceFeetPerRadian",
- "FromUnitToBaseFunc": "{x} * 1.3558179483314",
- "FromBaseToUnitFunc": "{x} / 1.3558179483314",
+ "FromUnitToBaseFunc": "{x} * 4.4482216152605 * 0.3048",
+ "FromBaseToUnitFunc": "{x} / (4.4482216152605 * 0.3048)",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/RotationalStiffnessPerLength.json b/Common/UnitDefinitions/RotationalStiffnessPerLength.json
index 791ee833a1..e0c4258d81 100644
--- a/Common/UnitDefinitions/RotationalStiffnessPerLength.json
+++ b/Common/UnitDefinitions/RotationalStiffnessPerLength.json
@@ -24,8 +24,8 @@
{
"SingularName": "PoundForceFootPerDegreesPerFoot",
"PluralName": "PoundForceFeetPerDegreesPerFeet",
- "FromUnitToBaseFunc": "{x} * 254.864324570",
- "FromBaseToUnitFunc": "{x} / 254.864324570",
+ "FromUnitToBaseFunc": "{x} * (4.4482216152605 * 180 / Math.PI)",
+ "FromBaseToUnitFunc": "{x} / (4.4482216152605 * 180 / Math.PI)",
"Localization": [
{
"Culture": "en-US",
@@ -36,8 +36,8 @@
{
"SingularName": "KilopoundForceFootPerDegreesPerFoot",
"PluralName": "KilopoundForceFeetPerDegreesPerFeet",
- "FromUnitToBaseFunc": "{x} * 254864.324570",
- "FromBaseToUnitFunc": "{x} / 254864.324570",
+ "FromUnitToBaseFunc": "{x} * (4.4482216152605e3 * 180 / Math.PI)",
+ "FromBaseToUnitFunc": "{x} / (4.4482216152605e3 * 180 / Math.PI)",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/SpecificEnergy.json b/Common/UnitDefinitions/SpecificEnergy.json
index ad8ed862f2..2bd0937781 100644
--- a/Common/UnitDefinitions/SpecificEnergy.json
+++ b/Common/UnitDefinitions/SpecificEnergy.json
@@ -114,8 +114,8 @@
{
"SingularName": "BtuPerPound",
"PluralName": "BtuPerPound",
- "FromUnitToBaseFunc": "{x} * 2326.000075362",
- "FromBaseToUnitFunc": "{x} / 2326.000075362",
+ "FromUnitToBaseFunc": "{x} * 1055.05585262 / 0.45359237",
+ "FromBaseToUnitFunc": "{x} * 0.45359237 / 1055.05585262",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/SpecificFuelConsumption.json b/Common/UnitDefinitions/SpecificFuelConsumption.json
index 52516e863d..e447aa4aee 100644
--- a/Common/UnitDefinitions/SpecificFuelConsumption.json
+++ b/Common/UnitDefinitions/SpecificFuelConsumption.json
@@ -7,8 +7,8 @@
{
"SingularName": "PoundMassPerPoundForceHour",
"PluralName": "PoundsMassPerPoundForceHour",
- "FromUnitToBaseFunc": "{x} * 28.33",
- "FromBaseToUnitFunc": "{x} / 28.33",
+ "FromUnitToBaseFunc": "{x} * 453.59237 / (0.0044482216152605 * 3600)",
+ "FromBaseToUnitFunc": "{x} * (0.0044482216152605 * 3600) / 453.59237",
"Localization": [
{
"Culture": "en-US",
@@ -19,8 +19,8 @@
{
"SingularName": "KilogramPerKilogramForceHour",
"PluralName": "KilogramsPerKilogramForceHour",
- "FromUnitToBaseFunc": "{x} * 28.33",
- "FromBaseToUnitFunc": "{x} / 28.33",
+ "FromUnitToBaseFunc": "{x} * 453.59237 / (0.0044482216152605 * 3600)",
+ "FromBaseToUnitFunc": "{x} * (0.0044482216152605 * 3600) / 453.59237",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/SpecificVolume.json b/Common/UnitDefinitions/SpecificVolume.json
index a428f3355d..fa1e8f8ee5 100644
--- a/Common/UnitDefinitions/SpecificVolume.json
+++ b/Common/UnitDefinitions/SpecificVolume.json
@@ -23,8 +23,8 @@
{
"SingularName": "CubicFootPerPound",
"PluralName": "CubicFeetPerPound",
- "FromUnitToBaseFunc": "{x} / 16.01846353",
- "FromBaseToUnitFunc": "{x} * 16.01846353",
+ "FromUnitToBaseFunc": "{x} * 0.028316846592 / 0.45359237",
+ "FromBaseToUnitFunc": "{x} * 0.45359237 / 0.028316846592",
"Prefixes": [],
"Localization": [
{
diff --git a/Common/UnitDefinitions/SpecificWeight.json b/Common/UnitDefinitions/SpecificWeight.json
index 3ff8a8f11a..a3474fa434 100644
--- a/Common/UnitDefinitions/SpecificWeight.json
+++ b/Common/UnitDefinitions/SpecificWeight.json
@@ -87,8 +87,8 @@
{
"SingularName": "PoundForcePerCubicInch",
"PluralName": "PoundsForcePerCubicInch",
- "FromUnitToBaseFunc": "{x} * 2.714471375263134e5",
- "FromBaseToUnitFunc": "{x} / 2.714471375263134e5",
+ "FromUnitToBaseFunc": "{x} * 4.4482216152605 / 1.6387064e-5",
+ "FromBaseToUnitFunc": "{x} * 1.6387064e-5 / 4.4482216152605",
"Prefixes": [ "Kilo" ],
"Localization": [
{
@@ -101,8 +101,8 @@
{
"SingularName": "PoundForcePerCubicFoot",
"PluralName": "PoundsForcePerCubicFoot",
- "FromUnitToBaseFunc": "{x} * 1.570874638462462e2",
- "FromBaseToUnitFunc": "{x} / 1.570874638462462e2",
+ "FromUnitToBaseFunc": "{x} * 4.4482216152605 / 0.028316846592",
+ "FromBaseToUnitFunc": "{x} * 0.028316846592 / 4.4482216152605",
"Prefixes": [ "Kilo" ],
"Localization": [
{
diff --git a/Common/UnitDefinitions/StandardVolumeFlow.json b/Common/UnitDefinitions/StandardVolumeFlow.json
index bf731df37e..1f00f88fd7 100644
--- a/Common/UnitDefinitions/StandardVolumeFlow.json
+++ b/Common/UnitDefinitions/StandardVolumeFlow.json
@@ -82,8 +82,8 @@
{
"SingularName": "StandardCubicFootPerSecond",
"PluralName": "StandardCubicFeetPerSecond",
- "FromUnitToBaseFunc": "{x} / 35.314666721",
- "FromBaseToUnitFunc": "{x} * 35.314666721",
+ "FromUnitToBaseFunc": "{x} * 0.028316846592",
+ "FromBaseToUnitFunc": "{x} / 0.028316846592",
"Localization": [
{
"Culture": "en-US",
@@ -94,8 +94,8 @@
{
"SingularName": "StandardCubicFootPerMinute",
"PluralName": "StandardCubicFeetPerMinute",
- "FromUnitToBaseFunc": "{x} / 2118.88000326",
- "FromBaseToUnitFunc": "{x} * 2118.88000326",
+ "FromUnitToBaseFunc": "{x} * 0.028316846592 / 60",
+ "FromBaseToUnitFunc": "{x} / (0.028316846592 / 60)",
"Localization": [
{
"Culture": "en-US",
@@ -106,8 +106,8 @@
{
"SingularName": "StandardCubicFootPerHour",
"PluralName": "StandardCubicFeetPerHour",
- "FromUnitToBaseFunc": "{x} * 7.8657907199999087346816086183876e-6",
- "FromBaseToUnitFunc": "{x} / 7.8657907199999087346816086183876e-6",
+ "FromUnitToBaseFunc": "{x} * 0.028316846592 / 3600",
+ "FromBaseToUnitFunc": "{x} / (0.028316846592 / 3600)",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/ThermalConductivity.json b/Common/UnitDefinitions/ThermalConductivity.json
index 46f26a935e..965feb4e73 100644
--- a/Common/UnitDefinitions/ThermalConductivity.json
+++ b/Common/UnitDefinitions/ThermalConductivity.json
@@ -25,8 +25,8 @@
{
"SingularName": "BtuPerHourFootFahrenheit",
"PluralName": "BtusPerHourFootFahrenheit",
- "FromUnitToBaseFunc": "{x} * 1.73073467",
- "FromBaseToUnitFunc": "{x} / 1.73073467",
+ "FromUnitToBaseFunc": "{x} * ((1055.05585262 / (0.3048 * 3600)) * 1.8)",
+ "FromBaseToUnitFunc": "{x} / ((1055.05585262 / (0.3048 * 3600)) * 1.8)",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/ThermalResistance.json b/Common/UnitDefinitions/ThermalResistance.json
index 91da569fbc..7b0ae015f2 100644
--- a/Common/UnitDefinitions/ThermalResistance.json
+++ b/Common/UnitDefinitions/ThermalResistance.json
@@ -59,8 +59,8 @@
{
"SingularName": "SquareCentimeterHourDegreeCelsiusPerKilocalorie",
"PluralName": "SquareCentimeterHourDegreesCelsiusPerKilocalorie",
- "FromUnitToBaseFunc": "{x} * 0.0859779507590433",
- "FromBaseToUnitFunc": "{x} / 0.0859779507590433",
+ "FromUnitToBaseFunc": "{x} * (0.0001 * 3600) / 4.184",
+ "FromBaseToUnitFunc": "{x} * 4.184 / (0.0001 * 3600)",
"Localization": [
{
"Culture": "en-US",
@@ -71,8 +71,8 @@
{
"SingularName": "HourSquareFeetDegreeFahrenheitPerBtu",
"PluralName": "HourSquareFeetDegreesFahrenheitPerBtu",
- "FromUnitToBaseFunc": "{x} * 176.1121482159839",
- "FromBaseToUnitFunc": "{x} / 176.1121482159839",
+ "FromUnitToBaseFunc": "{x} * (1000 * 0.3048 * 0.3048 * 3600) / (1055.05585262 * 1.8)",
+ "FromBaseToUnitFunc": "{x} * (1055.05585262 * 1.8) / (1000 * 0.3048 * 0.3048 * 3600)",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/Torque.json b/Common/UnitDefinitions/Torque.json
index 4567759fe8..a046172768 100644
--- a/Common/UnitDefinitions/Torque.json
+++ b/Common/UnitDefinitions/Torque.json
@@ -54,8 +54,8 @@
{
"SingularName": "PoundalFoot",
"PluralName": "PoundalFeet",
- "FromUnitToBaseFunc": "{x} * 4.21401100938048e-2",
- "FromBaseToUnitFunc": "{x} / 4.21401100938048e-2",
+ "FromUnitToBaseFunc": "{x} * 0.138254954376 * 0.3048",
+ "FromBaseToUnitFunc": "{x} / (0.138254954376 * 0.3048)",
"Localization": [
{
"Culture": "en-US",
@@ -66,8 +66,8 @@
{
"SingularName": "PoundForceInch",
"PluralName": "PoundForceInches",
- "FromUnitToBaseFunc": "{x} * 1.129848290276167e-1",
- "FromBaseToUnitFunc": "{x} / 1.129848290276167e-1",
+ "FromUnitToBaseFunc": "{x} * 4.4482216152605 * 2.54e-2",
+ "FromBaseToUnitFunc": "{x} / (4.4482216152605 * 2.54e-2)",
"Prefixes": [ "Kilo", "Mega" ],
"Localization": [
{
@@ -80,8 +80,8 @@
{
"SingularName": "PoundForceFoot",
"PluralName": "PoundForceFeet",
- "FromUnitToBaseFunc": "{x} * 1.3558179483314",
- "FromBaseToUnitFunc": "{x} / 1.3558179483314",
+ "FromUnitToBaseFunc": "{x} * 4.4482216152605 * 0.3048",
+ "FromBaseToUnitFunc": "{x} / (4.4482216152605 * 0.3048)",
"Prefixes": [ "Kilo", "Mega" ],
"Localization": [
{
diff --git a/Common/UnitDefinitions/TorquePerLength.json b/Common/UnitDefinitions/TorquePerLength.json
index 89728fdc7f..743ae10553 100644
--- a/Common/UnitDefinitions/TorquePerLength.json
+++ b/Common/UnitDefinitions/TorquePerLength.json
@@ -54,8 +54,8 @@
{
"SingularName": "PoundForceInchPerFoot",
"PluralName": "PoundForceInchesPerFoot",
- "FromUnitToBaseFunc": "{x} * 0.370685147638",
- "FromBaseToUnitFunc": "{x} / 0.370685147638",
+ "FromUnitToBaseFunc": "{x} * (4.4482216152605 * 2.54e-2) / 0.3048",
+ "FromBaseToUnitFunc": "{x} * 0.3048 / (4.4482216152605 * 2.54e-2)",
"Prefixes": [ "Kilo", "Mega" ],
"Localization": [
{
@@ -68,8 +68,8 @@
{
"SingularName": "PoundForceFootPerFoot",
"PluralName": "PoundForceFeetPerFoot",
- "FromUnitToBaseFunc": "{x} * 4.44822161526",
- "FromBaseToUnitFunc": "{x} / 4.44822161526",
+ "FromUnitToBaseFunc": "{x} * 4.4482216152605",
+ "FromBaseToUnitFunc": "{x} / 4.4482216152605",
"Prefixes": [ "Kilo", "Mega" ],
"Localization": [
{
@@ -82,8 +82,8 @@
{
"SingularName": "KilogramForceMillimeterPerMeter",
"PluralName": "KilogramForceMillimetersPerMeter",
- "FromUnitToBaseFunc": "{x} * 0.00980665019960652",
- "FromBaseToUnitFunc": "{x} * 101.971619222242",
+ "FromUnitToBaseFunc": "{x} * 9.80665e-3",
+ "FromBaseToUnitFunc": "{x} / 9.80665e-3",
"Localization": [
{
"Culture": "en-US",
@@ -94,8 +94,8 @@
{
"SingularName": "KilogramForceCentimeterPerMeter",
"PluralName": "KilogramForceCentimetersPerMeter",
- "FromUnitToBaseFunc": "{x} * 0.0980665019960652",
- "FromBaseToUnitFunc": "{x} * 10.1971619222242",
+ "FromUnitToBaseFunc": "{x} * 9.80665e-2",
+ "FromBaseToUnitFunc": "{x} / 9.80665e-2",
"Localization": [
{
"Culture": "en-US",
@@ -106,8 +106,8 @@
{
"SingularName": "KilogramForceMeterPerMeter",
"PluralName": "KilogramForceMetersPerMeter",
- "FromUnitToBaseFunc": "{x} * 9.80665019960652",
- "FromBaseToUnitFunc": "{x} * 0.101971619222242",
+ "FromUnitToBaseFunc": "{x} * 9.80665",
+ "FromBaseToUnitFunc": "{x} / 9.80665",
"Localization": [
{
"Culture": "en-US",
@@ -118,8 +118,8 @@
{
"SingularName": "TonneForceMillimeterPerMeter",
"PluralName": "TonneForceMillimetersPerMeter",
- "FromUnitToBaseFunc": "{x} * 9.80665019960652",
- "FromBaseToUnitFunc": "{x} * 0.101971619222242",
+ "FromUnitToBaseFunc": "{x} * 9.80665",
+ "FromBaseToUnitFunc": "{x} / 9.80665",
"Localization": [
{
"Culture": "en-US",
@@ -130,8 +130,8 @@
{
"SingularName": "TonneForceCentimeterPerMeter",
"PluralName": "TonneForceCentimetersPerMeter",
- "FromUnitToBaseFunc": "{x} * 98.0665019960652",
- "FromBaseToUnitFunc": "{x} * 0.0101971619222242",
+ "FromUnitToBaseFunc": "{x} * 9.80665e1",
+ "FromBaseToUnitFunc": "{x} / 9.80665e1",
"Localization": [
{
"Culture": "en-US",
@@ -142,8 +142,8 @@
{
"SingularName": "TonneForceMeterPerMeter",
"PluralName": "TonneForceMetersPerMeter",
- "FromUnitToBaseFunc": "{x} * 9806.65019960653",
- "FromBaseToUnitFunc": "{x} * 0.000101971619222242",
+ "FromUnitToBaseFunc": "{x} * 9.80665e3",
+ "FromBaseToUnitFunc": "{x} / 9.80665e3",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/Volume.json b/Common/UnitDefinitions/Volume.json
index 270d3d2275..ede6d7e203 100644
--- a/Common/UnitDefinitions/Volume.json
+++ b/Common/UnitDefinitions/Volume.json
@@ -145,8 +145,10 @@
{
"SingularName": "CubicMile",
"PluralName": "CubicMiles",
- "FromUnitToBaseFunc": "{x} * 4.16818182544058e9",
- "FromBaseToUnitFunc": "{x} / 4.16818182544058e9",
+ "XmlDocSummary": "A cubic mile (abbreviation: cu mi or mi3) is an imperial and US customary (non-SI non-metric) unit of volume, used in the United States, Canada and the United Kingdom. It is defined as the volume of a cube with sides of 1 mile (63360 inches, 5280 feet, 1760 yards or ~1.609 kilometres) in length.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Cubic_mile",
+ "FromUnitToBaseFunc": "{x} * 4.168181825440579584e9",
+ "FromBaseToUnitFunc": "{x} / 4.168181825440579584e9",
"Localization": [
{
"Culture": "en-US",
@@ -161,8 +163,10 @@
{
"SingularName": "CubicYard",
"PluralName": "CubicYards",
- "FromUnitToBaseFunc": "{x} * 0.764554858",
- "FromBaseToUnitFunc": "{x} / 0.764554858",
+ "XmlDocSummary": "A cubic yard is an Imperial / U.S. customary (non-SI non-metric) unit of volume, used in Canada and the United States. It is defined as the volume of a cube with sides of 1 yard (3 feet, 36 inches, 0.9144 meters) in length.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Cubic_yard",
+ "FromUnitToBaseFunc": "{x} * 0.764554857984",
+ "FromBaseToUnitFunc": "{x} / 0.764554857984",
"Localization": [
{
"Culture": "en-US",
@@ -177,8 +181,10 @@
{
"SingularName": "CubicFoot",
"PluralName": "CubicFeet",
- "FromUnitToBaseFunc": "{x} * 2.8316846592e-2",
- "FromBaseToUnitFunc": "{x} / 2.8316846592e-2",
+ "XmlDocSummary": "The cubic foot (symbol ft3 or cu ft) is an imperial and US customary (non-metric) unit of volume, used in the United States and the United Kingdom. It is defined as the volume of a cube with sides of one foot (0.3048 m) in length.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Cubic_foot",
+ "FromUnitToBaseFunc": "{x} * 0.028316846592",
+ "FromBaseToUnitFunc": "{x} / 0.028316846592",
"Prefixes": [ "Hecto", "Kilo", "Mega" ],
"Localization": [
{
@@ -194,6 +200,8 @@
{
"SingularName": "CubicInch",
"PluralName": "CubicInches",
+ "XmlDocSummary": "The cubic inch (symbol in3) is a unit of volume in the Imperial units and United States customary units systems. It is the volume of a cube with each of its three dimensions (length, width, and height) being one inch long which is equivalent to 1/231 of a US gallon.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Cubic_yard",
"FromUnitToBaseFunc": "{x} * 1.6387064e-5",
"FromBaseToUnitFunc": "{x} / 1.6387064e-5",
"Localization": [
@@ -210,10 +218,10 @@
{
"SingularName": "ImperialGallon",
"PluralName": "ImperialGallons",
- "FromUnitToBaseFunc": "{x} * 0.00454609",
- "FromBaseToUnitFunc": "{x} / 0.00454609",
"XmlDocSummary": "The British imperial gallon (frequently called simply \"gallon\") is defined as exactly 4.54609 litres.",
"XmlDocRemarks": "https://en.wikipedia.org/wiki/Gallon#Imperial_gallon",
+ "FromUnitToBaseFunc": "{x} * 0.00454609",
+ "FromBaseToUnitFunc": "{x} / 0.00454609",
"Prefixes": [ "Kilo", "Mega" ],
"Localization": [
{
@@ -229,8 +237,10 @@
{
"SingularName": "ImperialOunce",
"PluralName": "ImperialOunces",
- "FromUnitToBaseFunc": "{x} * 2.8413062499962901241875439064617e-5",
- "FromBaseToUnitFunc": "{x} / 2.8413062499962901241875439064617e-5",
+ "XmlDocSummary": "An imperial fluid ounce is 1⁄20 of an imperial pint, 1⁄160 of an imperial gallon or exactly 28.4130625 mL.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Fluid_ounce",
+ "FromUnitToBaseFunc": "{x} * 2.84130625e-5",
+ "FromBaseToUnitFunc": "{x} / 2.84130625e-5",
"Localization": [
{
"Culture": "en-US",
@@ -245,10 +255,10 @@
{
"SingularName": "UsGallon",
"PluralName": "UsGallons",
- "FromUnitToBaseFunc": "{x} * 0.003785411784",
- "FromBaseToUnitFunc": "{x} / 0.003785411784",
"XmlDocSummary": "The US liquid gallon (frequently called simply \"gallon\") is legally defined as 231 cubic inches, which is exactly 3.785411784 litres.",
"XmlDocRemarks": "https://en.wikipedia.org/wiki/Gallon#US_liquid_gallon",
+ "FromUnitToBaseFunc": "{x} * 0.003785411784",
+ "FromBaseToUnitFunc": "{x} / 0.003785411784",
"Prefixes": [ "Deca", "Deci", "Hecto", "Kilo", "Mega" ],
"Localization": [
{
@@ -264,8 +274,10 @@
{
"SingularName": "UsOunce",
"PluralName": "UsOunces",
- "FromUnitToBaseFunc": "{x} * 2.957352956253760505068307980135e-5",
- "FromBaseToUnitFunc": "{x} / 2.957352956253760505068307980135e-5",
+ "XmlDocSummary": "A US customary fluid ounce is 1⁄16 of a US liquid pint and 1⁄128 of a US liquid gallon or exactly 29.5735295625 mL, making it about 4.08% larger than the imperial fluid ounce.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Fluid_ounce",
+ "FromUnitToBaseFunc": "{x} * 2.95735295625e-5",
+ "FromBaseToUnitFunc": "{x} / 2.95735295625e-5",
"Localization": [
{
"Culture": "en-US",
@@ -280,6 +292,8 @@
{
"SingularName": "UsTablespoon",
"PluralName": "UsTablespoons",
+ "XmlDocSummary": "The traditional U.S. interpretation of the tablespoon as a unit of volume is: 1 US tablespoon = 4 fluid drams, or 3 teaspoons or 1/2 US fluid ounce (≈ 14.8 ml)",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Tablespoon#United_States",
"FromUnitToBaseFunc": "{x} * 1.478676478125e-5",
"FromBaseToUnitFunc": "{x} / 1.478676478125e-5",
"Localization": [
@@ -300,6 +314,8 @@
{
"SingularName": "AuTablespoon",
"PluralName": "AuTablespoons",
+ "XmlDocSummary": "In Australia, the definition of the tablespoon is 20 ml (0.70 imp fl oz).",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Tablespoon#Australia",
"FromUnitToBaseFunc": "{x} * 2e-5",
"FromBaseToUnitFunc": "{x} / 2e-5",
"Localization": [
@@ -320,6 +336,8 @@
{
"SingularName": "UkTablespoon",
"PluralName": "UkTablespoons",
+ "XmlDocSummary": "In nutrition labeling in the U.S. and the U.K., a tablespoon is defined as 15 ml (0.51 US fl oz). In Australia, the definition of the tablespoon is 20 ml (0.70 imp fl oz).",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Tablespoon#International",
"FromUnitToBaseFunc": "{x} * 1.5e-5",
"FromBaseToUnitFunc": "{x} / 1.5e-5",
"Localization": [
@@ -340,6 +358,8 @@
{
"SingularName": "MetricTeaspoon",
"PluralName": "MetricTeaspoons",
+ "XmlDocSummary": "The metric teaspoon as a unit of culinary measure is 5 ml (0.18 imp fl oz; 0.17 US fl oz),[17] equal to 5 cm3, 1⁄3 UK/Canadian metric tablespoon, or 1⁄4 Australian metric tablespoon.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Teaspoon#Metric_teaspoon",
"FromUnitToBaseFunc": "{x} * 0.5e-5",
"FromBaseToUnitFunc": "{x} / 0.5e-5",
"Localization": [
@@ -360,6 +380,8 @@
{
"SingularName": "UsTeaspoon",
"PluralName": "UsTeaspoons",
+ "XmlDocSummary": "As a unit of culinary measure, one teaspoon in the United States is 1⁄3 tablespoon, exactly 4.92892159375 ml, 1 1⁄3 US fluid drams, 1⁄6 US fl oz, 1⁄48 US cup, 1⁄768 US liquid gallon, or 77⁄256 (0.30078125) cubic inches.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Teaspoon#United_States_customary_unit",
"FromUnitToBaseFunc": "{x} * 4.92892159375e-6",
"FromBaseToUnitFunc": "{x} / 4.92892159375e-6",
"Localization": [
@@ -380,6 +402,8 @@
{
"SingularName": "MetricCup",
"PluralName": "MetricCups",
+ "XmlDocSummary": "Australia, Canada, New Zealand, and some other members of the Commonwealth of Nations, being former British colonies that have since metricated, employ a metric cup of 250 millilitres. Although derived from the metric system, it is not an SI unit.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Cup_(unit)#Metric_cup",
"FromUnitToBaseFunc": "{x} * 0.00025",
"FromBaseToUnitFunc": "{x} / 0.00025",
"Localization": [
@@ -392,6 +416,8 @@
{
"SingularName": "UsCustomaryCup",
"PluralName": "UsCustomaryCups",
+ "XmlDocSummary": "In the United States, the customary cup is half of a liquid pint or 1⁄16 US customary gallon which is 236.5882365 milliliters exactly.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Cup_(unit)#Customary_cup",
"FromUnitToBaseFunc": "{x} * 0.0002365882365",
"FromBaseToUnitFunc": "{x} / 0.0002365882365",
"Localization": [
@@ -404,6 +430,8 @@
{
"SingularName": "UsLegalCup",
"PluralName": "UsLegalCups",
+ "XmlDocSummary": "The cup currently used in the United States for nutrition labelling is defined in United States law as 240 ml.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Cup_(unit)#Legal_cup",
"FromUnitToBaseFunc": "{x} * 0.00024",
"FromBaseToUnitFunc": "{x} / 0.00024",
"Localization": [
@@ -416,6 +444,8 @@
{
"SingularName": "OilBarrel",
"PluralName": "OilBarrels",
+ "XmlDocSummary": "In the oil industry, one barrel (unit symbol bbl) is a unit of volume used for measuring oil defined as exactly 42 US gallons, approximately 159 liters, or 35 imperial gallons.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Barrel_(unit)#Oil_barrel",
"FromUnitToBaseFunc": "{x} * 0.158987294928",
"FromBaseToUnitFunc": "{x} / 0.158987294928",
"Localization": [
@@ -428,8 +458,10 @@
{
"SingularName": "UsBeerBarrel",
"PluralName": "UsBeerBarrels",
- "FromUnitToBaseFunc": "{x} * 0.1173477658",
- "FromBaseToUnitFunc": "{x} / 0.1173477658",
+ "XmlDocSummary": "Fluid barrels vary depending on what is being measured and where. In the US most fluid barrels (apart from oil) are 31.5 US gallons (26 imp gal; 119 L) (half a hogshead), but a beer barrel is 31 US gallons (26 imp gal; 117 L).",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Barrel_(unit)#Fluid_barrel_in_the_US_and_UK",
+ "FromUnitToBaseFunc": "{x} * 0.117347765304",
+ "FromBaseToUnitFunc": "{x} / 0.117347765304",
"Localization": [
{
"Culture": "en-US",
@@ -440,6 +472,8 @@
{
"SingularName": "ImperialBeerBarrel",
"PluralName": "ImperialBeerBarrels",
+ "XmlDocSummary": "Fluid barrels vary depending on what is being measured and where. In the UK a beer barrel is 36 imperial gallons (43 US gal; ~164 L).",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Barrel_(unit)#Fluid_barrel_in_the_US_and_UK",
"FromUnitToBaseFunc": "{x} * 0.16365924",
"FromBaseToUnitFunc": "{x} / 0.16365924",
"Localization": [
@@ -452,6 +486,8 @@
{
"SingularName": "UsQuart",
"PluralName": "UsQuarts",
+ "XmlDocSummary": "The US liquid quart equals 57.75 cubic inches, which is exactly equal to 0.946352946 L.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Quart#US_liquid_quart",
"FromUnitToBaseFunc": "{x} * 9.46352946e-4",
"FromBaseToUnitFunc": "{x} / 9.46352946e-4",
"Localization": [
@@ -464,6 +500,8 @@
{
"SingularName": "ImperialQuart",
"PluralName": "ImperialQuarts",
+ "XmlDocSummary": "The imperial quart, which is used for both liquid and dry capacity, is equal to one quarter of an imperial gallon, or exactly 1.1365225 liters.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Quart#Imperial_quart",
"FromUnitToBaseFunc": "{x} * 1.1365225e-3",
"FromBaseToUnitFunc": "{x} / 1.1365225e-3",
"Localization": [
@@ -476,6 +514,8 @@
{
"SingularName": "UsPint",
"PluralName": "UsPints",
+ "XmlDocSummary": "The pint is a unit of volume or capacity in both the imperial and United States customary measurement systems. In both of those systems it is traditionally one eighth of a gallon. The British imperial pint is about 20% larger than the American pint because the two systems are defined differently.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Pint#US_liquid_pint",
"FromUnitToBaseFunc": "{x} * 4.73176473e-4",
"FromBaseToUnitFunc": "{x} / 4.73176473e-4",
"Localization": [
@@ -488,8 +528,10 @@
{
"SingularName": "AcreFoot",
"PluralName": "AcreFeet",
- "FromUnitToBaseFunc": "{x} / 0.000810714",
- "FromBaseToUnitFunc": "{x} * 0.000810714",
+ "XmlDocSummary": "An acre-foot is 43,560 cubic feet (~1,233.5 m3).",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Acre-foot",
+ "FromUnitToBaseFunc": "{x} * 1233.48183754752",
+ "FromBaseToUnitFunc": "{x} / 1233.48183754752",
"Localization": [
{
"Culture": "en-US",
@@ -500,6 +542,8 @@
{
"SingularName": "ImperialPint",
"PluralName": "ImperialPints",
+ "XmlDocSummary": "The pint is a unit of volume or capacity in both the imperial and United States customary measurement systems. In both of those systems it is traditionally one eighth of a gallon. The British imperial pint is about 20% larger than the American pint because the two systems are defined differently.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Pint#Imperial_pint",
"BaseUnits": {
"L": "Decimeter"
},
@@ -515,8 +559,10 @@
{
"SingularName": "BoardFoot",
"PluralName": "BoardFeet",
- "FromUnitToBaseFunc": "{x} * 2.3597372158e-3",
- "FromBaseToUnitFunc": "{x} / 2.3597372158e-3",
+ "XmlDocSummary": "The board foot or board-foot is a unit of measurement for the volume of lumber in the United States and Canada. It equals the volume of a board that is one-foot (305 mm) in length, one-foot (305 mm) in width, and one-inch (25.4 mm) in thickness.",
+ "XmlDocRemarks": "https://en.wikipedia.org/wiki/Board_foot",
+ "FromUnitToBaseFunc": "{x} * (0.028316846592 / 12)",
+ "FromBaseToUnitFunc": "{x} / (0.028316846592 / 12)",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/VolumeFlow.json b/Common/UnitDefinitions/VolumeFlow.json
index e824e590f4..695c1a5dc9 100644
--- a/Common/UnitDefinitions/VolumeFlow.json
+++ b/Common/UnitDefinitions/VolumeFlow.json
@@ -70,8 +70,8 @@
{
"SingularName": "CubicFootPerSecond",
"PluralName": "CubicFeetPerSecond",
- "FromUnitToBaseFunc": "{x} / 35.314666721",
- "FromBaseToUnitFunc": "{x} * 35.314666721",
+ "FromUnitToBaseFunc": "{x} * 0.028316846592",
+ "FromBaseToUnitFunc": "{x} / 0.028316846592",
"Localization": [
{
"Culture": "en-US",
@@ -82,8 +82,8 @@
{
"SingularName": "CubicFootPerMinute",
"PluralName": "CubicFeetPerMinute",
- "FromUnitToBaseFunc": "{x} / 2118.88000326",
- "FromBaseToUnitFunc": "{x} * 2118.88000326",
+ "FromUnitToBaseFunc": "{x} * 0.028316846592 / 60",
+ "FromBaseToUnitFunc": "{x} / (0.028316846592 / 60)",
"Localization": [
{
"Culture": "en-US",
@@ -94,8 +94,8 @@
{
"SingularName": "CubicFootPerHour",
"PluralName": "CubicFeetPerHour",
- "FromUnitToBaseFunc": "{x} * 7.8657907199999087346816086183876e-6",
- "FromBaseToUnitFunc": "{x} / 7.8657907199999087346816086183876e-6",
+ "FromUnitToBaseFunc": "{x} * 0.028316846592 / 3600",
+ "FromBaseToUnitFunc": "{x} / (0.028316846592 / 3600)",
"Localization": [
{
"Culture": "en-US",
@@ -118,8 +118,8 @@
{
"SingularName": "CubicYardPerMinute",
"PluralName": "CubicYardsPerMinute",
- "FromUnitToBaseFunc": "{x} * 0.0127425809664",
- "FromBaseToUnitFunc": "{x} / 0.0127425809664",
+ "FromUnitToBaseFunc": "{x} * 0.764554857984 / 60",
+ "FromBaseToUnitFunc": "{x} / (0.764554857984 / 60)",
"Localization": [
{
"Culture": "en-US",
@@ -130,8 +130,8 @@
{
"SingularName": "CubicYardPerHour",
"PluralName": "CubicYardsPerHour",
- "FromUnitToBaseFunc": "{x} * 2.1237634944E-4",
- "FromBaseToUnitFunc": "{x} / 2.1237634944E-4",
+ "FromUnitToBaseFunc": "{x} * 0.764554857984 / 3600",
+ "FromBaseToUnitFunc": "{x} / (0.764554857984 / 3600)",
"Localization": [
{
"Culture": "en-US",
@@ -142,8 +142,8 @@
{
"SingularName": "CubicYardPerDay",
"PluralName": "CubicYardsPerDay",
- "FromUnitToBaseFunc": "{x} / 113007",
- "FromBaseToUnitFunc": "{x} * 113007",
+ "FromUnitToBaseFunc": "{x} * 0.764554857984 / 86400",
+ "FromBaseToUnitFunc": "{x} / (0.764554857984 / 86400)",
"Localization": [
{
"Culture": "en-US",
@@ -154,8 +154,8 @@
{
"SingularName": "MillionUsGallonPerDay",
"PluralName": "MillionUsGallonsPerDay",
- "FromUnitToBaseFunc": "{x} / 22.824465227",
- "FromBaseToUnitFunc": "{x} * 22.824465227",
+ "FromUnitToBaseFunc": "{x} * 1e6 * 0.003785411784 / 86400",
+ "FromBaseToUnitFunc": "{x} / (1e6 * 0.003785411784 / 86400)",
"Localization": [
{
"Culture": "en-US",
@@ -166,8 +166,8 @@
{
"SingularName": "UsGallonPerDay",
"PluralName": "UsGallonsPerDay",
- "FromUnitToBaseFunc": "{x} / 22824465.227",
- "FromBaseToUnitFunc": "{x} * 22824465.227",
+ "FromUnitToBaseFunc": "{x} * 0.003785411784 / 86400",
+ "FromBaseToUnitFunc": "{x} / (0.003785411784 / 86400)",
"Prefixes": [ "Mega" ],
"Localization": [
{
@@ -196,8 +196,8 @@
{
"SingularName": "LiterPerMinute",
"PluralName": "LitersPerMinute",
- "FromUnitToBaseFunc": "{x} / 60000.00000",
- "FromBaseToUnitFunc": "{x} * 60000.00000",
+ "FromUnitToBaseFunc": "{x} / (1000 * 60)",
+ "FromBaseToUnitFunc": "{x} * (1000 * 60)",
"Prefixes": [ "Nano", "Micro", "Milli", "Centi", "Deci", "Deca", "Hecto", "Kilo", "Mega" ],
"Localization": [
{
@@ -213,8 +213,8 @@
{
"SingularName": "LiterPerHour",
"PluralName": "LitersPerHour",
- "FromUnitToBaseFunc": "{x} / 3600000.000",
- "FromBaseToUnitFunc": "{x} * 3600000.000",
+ "FromUnitToBaseFunc": "{x} / (1000 * 3600)",
+ "FromBaseToUnitFunc": "{x} * (1000 * 3600)",
"Prefixes": [ "Nano", "Micro", "Milli", "Centi", "Deci", "Deca", "Hecto", "Kilo", "Mega" ],
"Localization": [
{
@@ -230,8 +230,8 @@
{
"SingularName": "LiterPerDay",
"PluralName": "LitersPerDay",
- "FromUnitToBaseFunc": "{x} / 86400000",
- "FromBaseToUnitFunc": "{x} * 86400000",
+ "FromUnitToBaseFunc": "{x} / (1000 * 86400)",
+ "FromBaseToUnitFunc": "{x} * (1000 * 86400)",
"Prefixes": [ "Nano", "Micro", "Milli", "Centi", "Deci", "Deca", "Hecto", "Kilo", "Mega" ],
"Localization": [
{
@@ -243,8 +243,8 @@
{
"SingularName": "UsGallonPerSecond",
"PluralName": "UsGallonsPerSecond",
- "FromUnitToBaseFunc": "{x} / 264.1720523581484",
- "FromBaseToUnitFunc": "{x} * 264.1720523581484",
+ "FromUnitToBaseFunc": "{x} * 0.003785411784",
+ "FromBaseToUnitFunc": "{x} / 0.003785411784",
"Localization": [
{
"Culture": "en-US",
@@ -255,8 +255,8 @@
{
"SingularName": "UsGallonPerMinute",
"PluralName": "UsGallonsPerMinute",
- "FromUnitToBaseFunc": "{x} / 15850.323141489",
- "FromBaseToUnitFunc": "{x} * 15850.323141489",
+ "FromUnitToBaseFunc": "{x} * 0.003785411784 / 60",
+ "FromBaseToUnitFunc": "{x} / (0.003785411784 / 60)",
"Localization": [
{
"Culture": "en-US",
@@ -267,8 +267,8 @@
{
"SingularName": "UkGallonPerDay",
"PluralName": "UkGallonsPerDay",
- "FromUnitToBaseFunc": "{x} / 19005304",
- "FromBaseToUnitFunc": "{x} * 19005304",
+ "FromUnitToBaseFunc": "{x} * 0.00454609 / 86400",
+ "FromBaseToUnitFunc": "{x} / (0.00454609 / 86400)",
"Prefixes": [ "Mega" ],
"Localization": [
{
@@ -280,8 +280,8 @@
{
"SingularName": "UkGallonPerHour",
"PluralName": "UkGallonsPerHour",
- "FromUnitToBaseFunc": "{x} / 791887.667",
- "FromBaseToUnitFunc": "{x} * 791887.667",
+ "FromUnitToBaseFunc": "{x} * 0.00454609 / 3600",
+ "FromBaseToUnitFunc": "{x} / (0.00454609 / 3600)",
"Localization": [
{
"Culture": "en-US",
@@ -292,8 +292,8 @@
{
"SingularName": "UkGallonPerMinute",
"PluralName": "UkGallonsPerMinute",
- "FromUnitToBaseFunc": "{x} / 13198.2",
- "FromBaseToUnitFunc": "{x} * 13198.2",
+ "FromUnitToBaseFunc": "{x} * 0.00454609 / 60",
+ "FromBaseToUnitFunc": "{x} / (0.00454609 / 60)",
"Localization": [
{
"Culture": "en-US",
@@ -304,8 +304,8 @@
{
"SingularName": "UkGallonPerSecond",
"PluralName": "UkGallonsPerSecond",
- "FromUnitToBaseFunc": "{x} / 219.969",
- "FromBaseToUnitFunc": "{x} * 219.969",
+ "FromUnitToBaseFunc": "{x} * 0.00454609",
+ "FromBaseToUnitFunc": "{x} / 0.00454609",
"Prefixes": [ "Mega" ],
"Localization": [
{
@@ -317,8 +317,8 @@
{
"SingularName": "KilousGallonPerMinute",
"PluralName": "KilousGallonsPerMinute",
- "FromUnitToBaseFunc": "{x} / 15.850323141489",
- "FromBaseToUnitFunc": "{x} * 15.850323141489",
+ "FromUnitToBaseFunc": "{x} * 1000 * 0.003785411784 / 60",
+ "FromBaseToUnitFunc": "{x} / (1000 * 0.003785411784 / 60)",
"Localization": [
{
"Culture": "en-US",
@@ -329,8 +329,8 @@
{
"SingularName": "UsGallonPerHour",
"PluralName": "UsGallonsPerHour",
- "FromUnitToBaseFunc": "{x} / 951019.38848933424",
- "FromBaseToUnitFunc": "{x} * 951019.38848933424",
+ "FromUnitToBaseFunc": "{x} * 0.003785411784 / 3600",
+ "FromBaseToUnitFunc": "{x} / (0.003785411784 / 3600)",
"Localization": [
{
"Culture": "en-US",
@@ -357,8 +357,8 @@
{
"SingularName": "OilBarrelPerDay",
"PluralName": "OilBarrelsPerDay",
- "FromUnitToBaseFunc": "{x} * 1.8401307283333333333333333333333e-6",
- "FromBaseToUnitFunc": "{x} / 1.8401307283333333333333333333333e-6",
+ "FromUnitToBaseFunc": "{x} * 0.158987294928 / 86400",
+ "FromBaseToUnitFunc": "{x} / (0.158987294928 / 86400)",
"Localization": [
{
"Culture": "en-US",
@@ -369,8 +369,8 @@
{
"SingularName": "OilBarrelPerMinute",
"PluralName": "OilBarrelsPerMinute",
- "FromUnitToBaseFunc": "{x} * 2.64978825e-3",
- "FromBaseToUnitFunc": "{x} / 2.64978825e-3",
+ "FromUnitToBaseFunc": "{x} * 0.158987294928 / 60",
+ "FromBaseToUnitFunc": "{x} / (0.158987294928 / 60)",
"Localization": [
{
"Culture": "en-US",
@@ -381,8 +381,8 @@
{
"SingularName": "OilBarrelPerHour",
"PluralName": "OilBarrelsPerHour",
- "FromUnitToBaseFunc": "{x} * 4.41631375e-5",
- "FromBaseToUnitFunc": "{x} / 4.41631375e-5",
+ "FromUnitToBaseFunc": "{x} * 0.158987294928 / 3600",
+ "FromBaseToUnitFunc": "{x} / (0.158987294928 / 3600)",
"Localization": [
{
"Culture": "en-US",
@@ -393,8 +393,8 @@
{
"SingularName": "OilBarrelPerSecond",
"PluralName": "OilBarrelsPerSecond",
- "FromUnitToBaseFunc": "{x} / 6.28981",
- "FromBaseToUnitFunc": "{x} * 6.28981",
+ "FromUnitToBaseFunc": "{x} * 0.158987294928",
+ "FromBaseToUnitFunc": "{x} / 0.158987294928",
"Localization": [
{
"Culture": "en-US",
@@ -421,8 +421,8 @@
{
"SingularName": "AcreFootPerSecond",
"PluralName": "AcreFeetPerSecond",
- "FromUnitToBaseFunc": "{x} / 0.000810713194",
- "FromBaseToUnitFunc": "{x} * 0.000810713194",
+ "FromUnitToBaseFunc": "{x} * 1233.48183754752",
+ "FromBaseToUnitFunc": "{x} / 1233.48183754752",
"Localization": [
{
"Culture": "en-US",
@@ -433,8 +433,8 @@
{
"SingularName": "AcreFootPerMinute",
"PluralName": "AcreFeetPerMinute",
- "FromUnitToBaseFunc": "{x} / 0.0486427916",
- "FromBaseToUnitFunc": "{x} * 0.0486427916",
+ "FromUnitToBaseFunc": "{x} * 1233.48183754752 / 60",
+ "FromBaseToUnitFunc": "{x} / (1233.48183754752 / 60)",
"Localization": [
{
"Culture": "en-US",
@@ -445,8 +445,8 @@
{
"SingularName": "AcreFootPerHour",
"PluralName": "AcreFeetPerHour",
- "FromUnitToBaseFunc": "{x} / 2.91857",
- "FromBaseToUnitFunc": "{x} * 2.91857",
+ "FromUnitToBaseFunc": "{x} * 1233.48183754752 / 3600",
+ "FromBaseToUnitFunc": "{x} / (1233.48183754752 / 3600)",
"Localization": [
{
"Culture": "en-US",
@@ -457,8 +457,8 @@
{
"SingularName": "AcreFootPerDay",
"PluralName": "AcreFeetPerDay",
- "FromUnitToBaseFunc": "{x} / 70.0457",
- "FromBaseToUnitFunc": "{x} * 70.0457",
+ "FromUnitToBaseFunc": "{x} * 1233.48183754752 / 86400",
+ "FromBaseToUnitFunc": "{x} / (1233.48183754752 / 86400)",
"Localization": [
{
"Culture": "en-US",
@@ -469,8 +469,8 @@
{
"SingularName": "CubicCentimeterPerMinute",
"PluralName": "CubicCentimetersPerMinute",
- "FromUnitToBaseFunc": "{x} * 1.6666666666667e-8",
- "FromBaseToUnitFunc": "{x} / 1.6666666666667e-8",
+ "FromUnitToBaseFunc": "{x} * 1e-6 / 60",
+ "FromBaseToUnitFunc": "{x} / (1e-6 / 60)",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/VolumeFlowPerArea.json b/Common/UnitDefinitions/VolumeFlowPerArea.json
index 0e015027d0..4ca48a9994 100644
--- a/Common/UnitDefinitions/VolumeFlowPerArea.json
+++ b/Common/UnitDefinitions/VolumeFlowPerArea.json
@@ -31,8 +31,8 @@
"T": "Minute"
},
- "FromUnitToBaseFunc": "{x} / 196.850394",
- "FromBaseToUnitFunc": "{x} * 196.850394",
+ "FromUnitToBaseFunc": "{x} * (0.028316846592 / 60) / 9.290304e-2",
+ "FromBaseToUnitFunc": "{x} * 9.290304e-2 / (0.028316846592 / 60)",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/VolumePerLength.json b/Common/UnitDefinitions/VolumePerLength.json
index c436ca013f..96c4e0e5c1 100644
--- a/Common/UnitDefinitions/VolumePerLength.json
+++ b/Common/UnitDefinitions/VolumePerLength.json
@@ -67,8 +67,8 @@
{
"SingularName": "OilBarrelPerFoot",
"PluralName": "OilBarrelsPerFoot",
- "FromUnitToBaseFunc": "{x} / 1.91713408",
- "FromBaseToUnitFunc": "{x} * 1.91713408",
+ "FromUnitToBaseFunc": "{x} * 0.158987294928 / 0.3048",
+ "FromBaseToUnitFunc": "{x} * 0.3048 / 0.158987294928",
"Prefixes": [],
"Localization": [
{
@@ -80,8 +80,8 @@
{
"SingularName": "CubicYardPerFoot",
"PluralName": "CubicYardsPerFoot",
- "FromUnitToBaseFunc": "{x} * 2.50838208",
- "FromBaseToUnitFunc": "{x} / 2.50838208",
+ "FromUnitToBaseFunc": "{x} * 0.764554857984 / 0.3048",
+ "FromBaseToUnitFunc": "{x} * 0.3048 / 0.764554857984",
"Localization": [
{
"Culture": "en-US",
@@ -92,8 +92,8 @@
{
"SingularName": "CubicYardPerUsSurveyFoot",
"PluralName": "CubicYardsPerUsSurveyFoot",
- "FromUnitToBaseFunc": "{x} * 2.50837706323584",
- "FromBaseToUnitFunc": "{x} / 2.50837706323584",
+ "FromUnitToBaseFunc": "{x} * 0.764554857984 * 3937 / 1200",
+ "FromBaseToUnitFunc": "{x} * 1200 / (0.764554857984 * 3937)",
"Localization": [
{
"Culture": "en-US",
@@ -104,8 +104,8 @@
{
"SingularName": "UsGallonPerMile",
"PluralName": "UsGallonsPerMile",
- "FromUnitToBaseFunc": "{x} / (1000 * 1609.344 / 3.785411784)",
- "FromBaseToUnitFunc": "{x} * (1000 * 1609.344 / 3.785411784)",
+ "FromUnitToBaseFunc": "{x} * 0.003785411784 / 1609.344",
+ "FromBaseToUnitFunc": "{x} * 1609.344 / 0.003785411784",
"Localization": [
{
"Culture": "en-US",
@@ -116,8 +116,8 @@
{
"SingularName": "ImperialGallonPerMile",
"PluralName": "ImperialGallonsPerMile",
- "FromUnitToBaseFunc": "{x} / (1000 * 1609.344 / 4.54609)",
- "FromBaseToUnitFunc": "{x} * (1000 * 1609.344 / 4.54609)",
+ "FromUnitToBaseFunc": "{x} * 0.00454609 / 1609.344",
+ "FromBaseToUnitFunc": "{x} * 1609.344 / 0.00454609",
"Localization": [
{
"Culture": "en-US",
diff --git a/Common/UnitDefinitions/VolumetricHeatCapacity.json b/Common/UnitDefinitions/VolumetricHeatCapacity.json
index 0beebc41bd..9d30281c61 100644
--- a/Common/UnitDefinitions/VolumetricHeatCapacity.json
+++ b/Common/UnitDefinitions/VolumetricHeatCapacity.json
@@ -39,8 +39,8 @@
{
"SingularName": "CaloriePerCubicCentimeterDegreeCelsius",
"PluralName": "CaloriesPerCubicCentimeterDegreeCelsius",
- "FromUnitToBaseFunc": "{x} / 2.388459e-7",
- "FromBaseToUnitFunc": "{x} * 2.388459e-7",
+ "FromUnitToBaseFunc": "{x} * 4.184e6",
+ "FromBaseToUnitFunc": "{x} / 4.184e6",
"Prefixes": [ "Kilo" ],
"Localization": [
{
@@ -52,8 +52,8 @@
{
"SingularName": "BtuPerCubicFootDegreeFahrenheit",
"PluralName": "BtusPerCubicFootDegreeFahrenheit",
- "FromUnitToBaseFunc": "{x} / 1.4910660e-5",
- "FromBaseToUnitFunc": "{x} * 1.4910660e-5",
+ "FromUnitToBaseFunc": "{x} * (1055.05585262 / 0.028316846592) * 1.8",
+ "FromBaseToUnitFunc": "{x} / ((1055.05585262 / 0.028316846592) * 1.8)",
"Localization": [
{
"Culture": "en-US",
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Acceleration.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Acceleration.g.cs
index 39a70e0bc8..af805b9145 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Acceleration.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Acceleration.g.cs
@@ -282,9 +282,9 @@ private double GetValueInBaseUnit()
AccelerationUnit.FootPerSecondSquared => _value * 0.304800,
AccelerationUnit.InchPerSecondSquared => _value * 0.0254,
AccelerationUnit.KilometerPerSecondSquared => (_value) * 1e3d,
- AccelerationUnit.KnotPerHour => _value * 0.5144444444444 / 3600,
- AccelerationUnit.KnotPerMinute => _value * 0.5144444444444 / 60,
- AccelerationUnit.KnotPerSecond => _value * 0.5144444444444,
+ AccelerationUnit.KnotPerHour => _value * (1852.0 / 3600.0) / 3600,
+ AccelerationUnit.KnotPerMinute => _value * (1852.0 / 3600.0) / 60,
+ AccelerationUnit.KnotPerSecond => _value * (1852.0 / 3600.0),
AccelerationUnit.MeterPerSecondSquared => _value,
AccelerationUnit.MicrometerPerSecondSquared => (_value) * 1e-6d,
AccelerationUnit.MillimeterPerSecondSquared => (_value) * 1e-3d,
@@ -309,9 +309,9 @@ private double GetValueAs(AccelerationUnit unit)
AccelerationUnit.FootPerSecondSquared => baseUnitValue / 0.304800,
AccelerationUnit.InchPerSecondSquared => baseUnitValue / 0.0254,
AccelerationUnit.KilometerPerSecondSquared => (baseUnitValue) / 1e3d,
- AccelerationUnit.KnotPerHour => baseUnitValue / 0.5144444444444 * 3600,
- AccelerationUnit.KnotPerMinute => baseUnitValue / 0.5144444444444 * 60,
- AccelerationUnit.KnotPerSecond => baseUnitValue / 0.5144444444444,
+ AccelerationUnit.KnotPerHour => baseUnitValue * 3600 / (1852.0 / 3600.0),
+ AccelerationUnit.KnotPerMinute => baseUnitValue * 60 / (1852.0 / 3600.0),
+ AccelerationUnit.KnotPerSecond => baseUnitValue / (1852.0 / 3600.0),
AccelerationUnit.MeterPerSecondSquared => baseUnitValue,
AccelerationUnit.MicrometerPerSecondSquared => (baseUnitValue) / 1e-6d,
AccelerationUnit.MillimeterPerSecondSquared => (baseUnitValue) / 1e-3d,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs
index 2ee14c79c8..786b7b43ae 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs
@@ -158,7 +158,7 @@ private double GetValueInBaseUnit()
{
BrakeSpecificFuelConsumptionUnit.GramPerKiloWattHour => _value / 3.6e9,
BrakeSpecificFuelConsumptionUnit.KilogramPerJoule => _value,
- BrakeSpecificFuelConsumptionUnit.PoundPerMechanicalHorsepowerHour => _value * 1.689659410672e-7,
+ BrakeSpecificFuelConsumptionUnit.PoundPerMechanicalHorsepowerHour => _value * (0.45359237 / (76.0402249 * 9.80665))/3600,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
}
@@ -174,7 +174,7 @@ private double GetValueAs(BrakeSpecificFuelConsumptionUnit unit)
{
BrakeSpecificFuelConsumptionUnit.GramPerKiloWattHour => baseUnitValue * 3.6e9,
BrakeSpecificFuelConsumptionUnit.KilogramPerJoule => baseUnitValue,
- BrakeSpecificFuelConsumptionUnit.PoundPerMechanicalHorsepowerHour => baseUnitValue / 1.689659410672e-7,
+ BrakeSpecificFuelConsumptionUnit.PoundPerMechanicalHorsepowerHour => baseUnitValue * 3600 / (0.45359237 / (76.0402249 * 9.80665)),
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
}
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Density.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Density.g.cs
index 8f1fb81f70..7cfdfe98bb 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Density.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Density.g.cs
@@ -752,8 +752,8 @@ private double GetValueInBaseUnit()
DensityUnit.FemtogramPerLiter => (_value / 1) * 1e-15d,
DensityUnit.FemtogramPerMilliliter => (_value / 1e-3) * 1e-15d,
DensityUnit.GramPerCubicCentimeter => _value / 1e-3,
- DensityUnit.GramPerCubicFoot => _value * 0.0353146667214886,
- DensityUnit.GramPerCubicInch => _value * 61.0237440947323,
+ DensityUnit.GramPerCubicFoot => _value * 0.001 / 0.028316846592,
+ DensityUnit.GramPerCubicInch => _value * 0.001 / 1.6387064e-5,
DensityUnit.GramPerCubicMeter => _value / 1e3,
DensityUnit.GramPerCubicMillimeter => _value / 1e-6,
DensityUnit.GramPerDeciliter => _value / 1e-1,
@@ -763,9 +763,9 @@ private double GetValueInBaseUnit()
DensityUnit.KilogramPerCubicMeter => (_value / 1e3) * 1e3d,
DensityUnit.KilogramPerCubicMillimeter => (_value / 1e-6) * 1e3d,
DensityUnit.KilogramPerLiter => _value * 1e3,
- DensityUnit.KilopoundPerCubicFoot => (_value / 0.062427961) * 1e3d,
- DensityUnit.KilopoundPerCubicInch => (_value / 3.6127298147753e-5) * 1e3d,
- DensityUnit.KilopoundPerCubicYard => (_value * (0.45359237 / 0.9144 / 0.9144 / 0.9144)) * 1e3d,
+ DensityUnit.KilopoundPerCubicFoot => (_value * 0.45359237 / 0.028316846592) * 1e3d,
+ DensityUnit.KilopoundPerCubicInch => (_value * 0.45359237 / 1.6387064e-5) * 1e3d,
+ DensityUnit.KilopoundPerCubicYard => (_value * 0.45359237 / 0.764554857984) * 1e3d,
DensityUnit.MicrogramPerCubicMeter => (_value / 1e3) * 1e-6d,
DensityUnit.MicrogramPerDeciliter => (_value / 1e-1) * 1e-6d,
DensityUnit.MicrogramPerLiter => (_value / 1) * 1e-6d,
@@ -780,22 +780,22 @@ private double GetValueInBaseUnit()
DensityUnit.PicogramPerDeciliter => (_value / 1e-1) * 1e-12d,
DensityUnit.PicogramPerLiter => (_value / 1) * 1e-12d,
DensityUnit.PicogramPerMilliliter => (_value / 1e-3) * 1e-12d,
- DensityUnit.PoundPerCubicCentimeter => _value / 2.204622621848775e-6,
- DensityUnit.PoundPerCubicFoot => _value / 0.062427961,
- DensityUnit.PoundPerCubicInch => _value / 3.6127298147753e-5,
- DensityUnit.PoundPerCubicMeter => _value / 2.204622621848775,
- DensityUnit.PoundPerCubicMillimeter => _value / 2.204622621848775e-9,
- DensityUnit.PoundPerCubicYard => _value * (0.45359237 / 0.9144 / 0.9144 / 0.9144),
- DensityUnit.PoundPerImperialGallon => _value * 9.9776398e1,
- DensityUnit.PoundPerUSGallon => _value * 1.19826427e2,
- DensityUnit.SlugPerCubicCentimeter => _value * 14593903,
- DensityUnit.SlugPerCubicFoot => _value * 515.378818,
- DensityUnit.SlugPerCubicInch => _value * 890574.60201535,
- DensityUnit.SlugPerCubicMeter => _value * 14.5939,
- DensityUnit.SlugPerCubicMillimeter => _value * 14593903000,
+ DensityUnit.PoundPerCubicCentimeter => _value * 0.45359237e6,
+ DensityUnit.PoundPerCubicFoot => _value * 0.45359237 / 0.028316846592,
+ DensityUnit.PoundPerCubicInch => _value * 0.45359237 / 1.6387064e-5,
+ DensityUnit.PoundPerCubicMeter => _value * 0.45359237,
+ DensityUnit.PoundPerCubicMillimeter => _value * 0.45359237e9,
+ DensityUnit.PoundPerCubicYard => _value * 0.45359237 / 0.764554857984,
+ DensityUnit.PoundPerImperialGallon => _value * 0.45359237 / 0.00454609,
+ DensityUnit.PoundPerUSGallon => _value * 0.45359237 / 0.003785411784,
+ DensityUnit.SlugPerCubicCentimeter => _value * (32.17405 * 0.45359237e6),
+ DensityUnit.SlugPerCubicFoot => _value * 14.59390 / 0.028316846592,
+ DensityUnit.SlugPerCubicInch => _value * (32.17405 * 0.45359237 / 1.6387064e-5),
+ DensityUnit.SlugPerCubicMeter => _value * (32.17405 * 0.45359237),
+ DensityUnit.SlugPerCubicMillimeter => _value * (32.17405 * 0.45359237e9),
DensityUnit.TonnePerCubicCentimeter => _value / 1e-9,
- DensityUnit.TonnePerCubicFoot => _value * 3.53146667214886e4,
- DensityUnit.TonnePerCubicInch => _value * 6.10237440947323e7,
+ DensityUnit.TonnePerCubicFoot => _value * 1000 / 0.028316846592,
+ DensityUnit.TonnePerCubicInch => _value * 1000 / 1.6387064e-5,
DensityUnit.TonnePerCubicMeter => _value / 0.001,
DensityUnit.TonnePerCubicMillimeter => _value / 1e-12,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
@@ -821,8 +821,8 @@ private double GetValueAs(DensityUnit unit)
DensityUnit.FemtogramPerLiter => (baseUnitValue * 1) / 1e-15d,
DensityUnit.FemtogramPerMilliliter => (baseUnitValue * 1e-3) / 1e-15d,
DensityUnit.GramPerCubicCentimeter => baseUnitValue * 1e-3,
- DensityUnit.GramPerCubicFoot => baseUnitValue / 0.0353146667214886,
- DensityUnit.GramPerCubicInch => baseUnitValue / 61.0237440947323,
+ DensityUnit.GramPerCubicFoot => baseUnitValue * 0.028316846592 / 0.001,
+ DensityUnit.GramPerCubicInch => baseUnitValue * 1.6387064e-5 / 0.001,
DensityUnit.GramPerCubicMeter => baseUnitValue * 1e3,
DensityUnit.GramPerCubicMillimeter => baseUnitValue * 1e-6,
DensityUnit.GramPerDeciliter => baseUnitValue * 1e-1,
@@ -832,9 +832,9 @@ private double GetValueAs(DensityUnit unit)
DensityUnit.KilogramPerCubicMeter => (baseUnitValue * 1e3) / 1e3d,
DensityUnit.KilogramPerCubicMillimeter => (baseUnitValue * 1e-6) / 1e3d,
DensityUnit.KilogramPerLiter => baseUnitValue / 1e3,
- DensityUnit.KilopoundPerCubicFoot => (baseUnitValue * 0.062427961) / 1e3d,
- DensityUnit.KilopoundPerCubicInch => (baseUnitValue * 3.6127298147753e-5) / 1e3d,
- DensityUnit.KilopoundPerCubicYard => (baseUnitValue / (0.45359237 / 0.9144 / 0.9144 / 0.9144)) / 1e3d,
+ DensityUnit.KilopoundPerCubicFoot => (baseUnitValue * 0.028316846592 / 0.45359237) / 1e3d,
+ DensityUnit.KilopoundPerCubicInch => (baseUnitValue * 1.6387064e-5 / 0.45359237) / 1e3d,
+ DensityUnit.KilopoundPerCubicYard => (baseUnitValue * 0.764554857984 / 0.45359237) / 1e3d,
DensityUnit.MicrogramPerCubicMeter => (baseUnitValue * 1e3) / 1e-6d,
DensityUnit.MicrogramPerDeciliter => (baseUnitValue * 1e-1) / 1e-6d,
DensityUnit.MicrogramPerLiter => (baseUnitValue * 1) / 1e-6d,
@@ -849,22 +849,22 @@ private double GetValueAs(DensityUnit unit)
DensityUnit.PicogramPerDeciliter => (baseUnitValue * 1e-1) / 1e-12d,
DensityUnit.PicogramPerLiter => (baseUnitValue * 1) / 1e-12d,
DensityUnit.PicogramPerMilliliter => (baseUnitValue * 1e-3) / 1e-12d,
- DensityUnit.PoundPerCubicCentimeter => baseUnitValue * 2.204622621848775e-6,
- DensityUnit.PoundPerCubicFoot => baseUnitValue * 0.062427961,
- DensityUnit.PoundPerCubicInch => baseUnitValue * 3.6127298147753e-5,
- DensityUnit.PoundPerCubicMeter => baseUnitValue * 2.204622621848775,
- DensityUnit.PoundPerCubicMillimeter => baseUnitValue * 2.204622621848775e-9,
- DensityUnit.PoundPerCubicYard => baseUnitValue / (0.45359237 / 0.9144 / 0.9144 / 0.9144),
- DensityUnit.PoundPerImperialGallon => baseUnitValue / 9.9776398e1,
- DensityUnit.PoundPerUSGallon => baseUnitValue / 1.19826427e2,
- DensityUnit.SlugPerCubicCentimeter => baseUnitValue / 14593903,
- DensityUnit.SlugPerCubicFoot => baseUnitValue * 0.00194032033,
- DensityUnit.SlugPerCubicInch => baseUnitValue / 890574.60201535,
- DensityUnit.SlugPerCubicMeter => baseUnitValue / 14.5939,
- DensityUnit.SlugPerCubicMillimeter => baseUnitValue / 14593903000,
+ DensityUnit.PoundPerCubicCentimeter => baseUnitValue / 0.45359237e6,
+ DensityUnit.PoundPerCubicFoot => baseUnitValue * 0.028316846592 / 0.45359237,
+ DensityUnit.PoundPerCubicInch => baseUnitValue * 1.6387064e-5 / 0.45359237,
+ DensityUnit.PoundPerCubicMeter => baseUnitValue / 0.45359237,
+ DensityUnit.PoundPerCubicMillimeter => baseUnitValue / 0.45359237e9,
+ DensityUnit.PoundPerCubicYard => baseUnitValue * 0.764554857984 / 0.45359237,
+ DensityUnit.PoundPerImperialGallon => baseUnitValue * 0.00454609 / 0.45359237,
+ DensityUnit.PoundPerUSGallon => baseUnitValue * 0.003785411784 / 0.45359237,
+ DensityUnit.SlugPerCubicCentimeter => baseUnitValue / (32.17405 * 0.45359237e6),
+ DensityUnit.SlugPerCubicFoot => baseUnitValue * 0.028316846592 / 14.59390,
+ DensityUnit.SlugPerCubicInch => baseUnitValue / (32.17405 * 0.45359237 / 1.6387064e-5),
+ DensityUnit.SlugPerCubicMeter => baseUnitValue / (32.17405 * 0.45359237),
+ DensityUnit.SlugPerCubicMillimeter => baseUnitValue / (32.17405 * 0.45359237e9),
DensityUnit.TonnePerCubicCentimeter => baseUnitValue * 1e-9,
- DensityUnit.TonnePerCubicFoot => baseUnitValue / 3.53146667214886e4,
- DensityUnit.TonnePerCubicInch => baseUnitValue / 6.10237440947323e7,
+ DensityUnit.TonnePerCubicFoot => baseUnitValue * 0.028316846592 / 1000,
+ DensityUnit.TonnePerCubicInch => baseUnitValue * 1.6387064e-5 / 1000,
DensityUnit.TonnePerCubicMeter => baseUnitValue * 0.001,
DensityUnit.TonnePerCubicMillimeter => baseUnitValue * 1e-12,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/DynamicViscosity.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/DynamicViscosity.g.cs
index b99e9fc379..0daf793921 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/DynamicViscosity.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/DynamicViscosity.g.cs
@@ -242,10 +242,10 @@ private double GetValueInBaseUnit()
DynamicViscosityUnit.NewtonSecondPerMeterSquared => _value,
DynamicViscosityUnit.PascalSecond => _value,
DynamicViscosityUnit.Poise => _value / 10,
- DynamicViscosityUnit.PoundForceSecondPerSquareFoot => _value * 4.7880258980335843e1,
- DynamicViscosityUnit.PoundForceSecondPerSquareInch => _value * 6.8947572931683613e3,
- DynamicViscosityUnit.PoundPerFootSecond => _value * 1.4881639,
- DynamicViscosityUnit.Reyn => _value * 6.8947572931683613e3,
+ DynamicViscosityUnit.PoundForceSecondPerSquareFoot => _value * 4.4482216152605 / 9.290304e-2,
+ DynamicViscosityUnit.PoundForceSecondPerSquareInch => _value * 4.4482216152605 / 0.00064516,
+ DynamicViscosityUnit.PoundPerFootSecond => _value * 0.45359237 / 0.3048,
+ DynamicViscosityUnit.Reyn => _value * 4.4482216152605 / 0.00064516,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
}
@@ -265,10 +265,10 @@ private double GetValueAs(DynamicViscosityUnit unit)
DynamicViscosityUnit.NewtonSecondPerMeterSquared => baseUnitValue,
DynamicViscosityUnit.PascalSecond => baseUnitValue,
DynamicViscosityUnit.Poise => baseUnitValue * 10,
- DynamicViscosityUnit.PoundForceSecondPerSquareFoot => baseUnitValue / 4.7880258980335843e1,
- DynamicViscosityUnit.PoundForceSecondPerSquareInch => baseUnitValue / 6.8947572931683613e3,
- DynamicViscosityUnit.PoundPerFootSecond => baseUnitValue / 1.4881639,
- DynamicViscosityUnit.Reyn => baseUnitValue / 6.8947572931683613e3,
+ DynamicViscosityUnit.PoundForceSecondPerSquareFoot => baseUnitValue * 9.290304e-2 / 4.4482216152605,
+ DynamicViscosityUnit.PoundForceSecondPerSquareInch => baseUnitValue * 0.00064516 / 4.4482216152605,
+ DynamicViscosityUnit.PoundPerFootSecond => baseUnitValue * 0.3048 / 0.45359237,
+ DynamicViscosityUnit.Reyn => baseUnitValue * 0.00064516 / 4.4482216152605,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
}
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricCharge.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricCharge.g.cs
index ed2ad7acc8..a50c0c278a 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricCharge.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricCharge.g.cs
@@ -247,14 +247,14 @@ private double GetValueInBaseUnit()
{
return Unit switch
{
- ElectricChargeUnit.AmpereHour => _value / 2.77777777777e-4,
+ ElectricChargeUnit.AmpereHour => _value * 3600,
ElectricChargeUnit.Coulomb => _value,
- ElectricChargeUnit.KiloampereHour => (_value / 2.77777777777e-4) * 1e3d,
+ ElectricChargeUnit.KiloampereHour => (_value * 3600) * 1e3d,
ElectricChargeUnit.Kilocoulomb => (_value) * 1e3d,
- ElectricChargeUnit.MegaampereHour => (_value / 2.77777777777e-4) * 1e6d,
+ ElectricChargeUnit.MegaampereHour => (_value * 3600) * 1e6d,
ElectricChargeUnit.Megacoulomb => (_value) * 1e6d,
ElectricChargeUnit.Microcoulomb => (_value) * 1e-6d,
- ElectricChargeUnit.MilliampereHour => (_value / 2.77777777777e-4) * 1e-3d,
+ ElectricChargeUnit.MilliampereHour => (_value * 3600) * 1e-3d,
ElectricChargeUnit.Millicoulomb => (_value) * 1e-3d,
ElectricChargeUnit.Nanocoulomb => (_value) * 1e-9d,
ElectricChargeUnit.Picocoulomb => (_value) * 1e-12d,
@@ -271,14 +271,14 @@ private double GetValueAs(ElectricChargeUnit unit)
return unit switch
{
- ElectricChargeUnit.AmpereHour => baseUnitValue * 2.77777777777e-4,
+ ElectricChargeUnit.AmpereHour => baseUnitValue / 3600,
ElectricChargeUnit.Coulomb => baseUnitValue,
- ElectricChargeUnit.KiloampereHour => (baseUnitValue * 2.77777777777e-4) / 1e3d,
+ ElectricChargeUnit.KiloampereHour => (baseUnitValue / 3600) / 1e3d,
ElectricChargeUnit.Kilocoulomb => (baseUnitValue) / 1e3d,
- ElectricChargeUnit.MegaampereHour => (baseUnitValue * 2.77777777777e-4) / 1e6d,
+ ElectricChargeUnit.MegaampereHour => (baseUnitValue / 3600) / 1e6d,
ElectricChargeUnit.Megacoulomb => (baseUnitValue) / 1e6d,
ElectricChargeUnit.Microcoulomb => (baseUnitValue) / 1e-6d,
- ElectricChargeUnit.MilliampereHour => (baseUnitValue * 2.77777777777e-4) / 1e-3d,
+ ElectricChargeUnit.MilliampereHour => (baseUnitValue / 3600) / 1e-3d,
ElectricChargeUnit.Millicoulomb => (baseUnitValue) / 1e-3d,
ElectricChargeUnit.Nanocoulomb => (baseUnitValue) / 1e-9d,
ElectricChargeUnit.Picocoulomb => (baseUnitValue) / 1e-12d,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricConductivity.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricConductivity.g.cs
index bebc0fa543..a1d0b3e034 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricConductivity.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricConductivity.g.cs
@@ -195,8 +195,8 @@ private double GetValueInBaseUnit()
ElectricConductivityUnit.MicrosiemensPerCentimeter => (_value * 1e2) * 1e-6d,
ElectricConductivityUnit.MillisiemensPerCentimeter => (_value * 1e2) * 1e-3d,
ElectricConductivityUnit.SiemensPerCentimeter => _value * 1e2,
- ElectricConductivityUnit.SiemensPerFoot => _value * 3.2808398950131234,
- ElectricConductivityUnit.SiemensPerInch => _value * 3.937007874015748e1,
+ ElectricConductivityUnit.SiemensPerFoot => _value / 0.3048,
+ ElectricConductivityUnit.SiemensPerInch => _value / 2.54e-2,
ElectricConductivityUnit.SiemensPerMeter => _value,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
@@ -214,8 +214,8 @@ private double GetValueAs(ElectricConductivityUnit unit)
ElectricConductivityUnit.MicrosiemensPerCentimeter => (baseUnitValue / 1e2) / 1e-6d,
ElectricConductivityUnit.MillisiemensPerCentimeter => (baseUnitValue / 1e2) / 1e-3d,
ElectricConductivityUnit.SiemensPerCentimeter => baseUnitValue / 1e2,
- ElectricConductivityUnit.SiemensPerFoot => baseUnitValue / 3.2808398950131234,
- ElectricConductivityUnit.SiemensPerInch => baseUnitValue / 3.937007874015748e1,
+ ElectricConductivityUnit.SiemensPerFoot => baseUnitValue * 0.3048,
+ ElectricConductivityUnit.SiemensPerInch => baseUnitValue * 2.54e-2,
ElectricConductivityUnit.SiemensPerMeter => baseUnitValue,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs
index c34a892ae4..a92f80f6ea 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs
@@ -159,8 +159,8 @@ private double GetValueInBaseUnit()
{
return Unit switch
{
- ElectricCurrentDensityUnit.AmperePerSquareFoot => _value * 1.0763910416709722e1,
- ElectricCurrentDensityUnit.AmperePerSquareInch => _value * 1.5500031000062000e3,
+ ElectricCurrentDensityUnit.AmperePerSquareFoot => _value / 9.290304e-2,
+ ElectricCurrentDensityUnit.AmperePerSquareInch => _value / 0.00064516,
ElectricCurrentDensityUnit.AmperePerSquareMeter => _value,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
@@ -175,8 +175,8 @@ private double GetValueAs(ElectricCurrentDensityUnit unit)
return unit switch
{
- ElectricCurrentDensityUnit.AmperePerSquareFoot => baseUnitValue / 1.0763910416709722e1,
- ElectricCurrentDensityUnit.AmperePerSquareInch => baseUnitValue / 1.5500031000062000e3,
+ ElectricCurrentDensityUnit.AmperePerSquareFoot => baseUnitValue * 9.290304e-2,
+ ElectricCurrentDensityUnit.AmperePerSquareInch => baseUnitValue * 0.00064516,
ElectricCurrentDensityUnit.AmperePerSquareMeter => baseUnitValue,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs
index 411cb1761f..ffdb6ee7cd 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs
@@ -160,7 +160,7 @@ private double GetValueInBaseUnit()
return Unit switch
{
ElectricSurfaceChargeDensityUnit.CoulombPerSquareCentimeter => _value * 1.0e4,
- ElectricSurfaceChargeDensityUnit.CoulombPerSquareInch => _value * 1.5500031000062000e3,
+ ElectricSurfaceChargeDensityUnit.CoulombPerSquareInch => _value / 0.00064516,
ElectricSurfaceChargeDensityUnit.CoulombPerSquareMeter => _value,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
@@ -176,7 +176,7 @@ private double GetValueAs(ElectricSurfaceChargeDensityUnit unit)
return unit switch
{
ElectricSurfaceChargeDensityUnit.CoulombPerSquareCentimeter => baseUnitValue / 1.0e4,
- ElectricSurfaceChargeDensityUnit.CoulombPerSquareInch => baseUnitValue / 1.5500031000062000e3,
+ ElectricSurfaceChargeDensityUnit.CoulombPerSquareInch => baseUnitValue * 0.00064516,
ElectricSurfaceChargeDensityUnit.CoulombPerSquareMeter => baseUnitValue,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Energy.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Energy.g.cs
index f6567f67d6..c538fa44ff 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Energy.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Energy.g.cs
@@ -568,25 +568,25 @@ private double GetValueInBaseUnit()
EnergyUnit.DecathermEc => (_value * 1.05505585262e8) * 1e1d,
EnergyUnit.DecathermImperial => (_value * 1.05505585257348e8) * 1e1d,
EnergyUnit.DecathermUs => (_value * 1.054804e8) * 1e1d,
- EnergyUnit.ElectronVolt => _value * 1.602176565e-19,
+ EnergyUnit.ElectronVolt => _value * 1.602176634e-19,
EnergyUnit.Erg => _value * 1e-7,
- EnergyUnit.FootPound => _value * 1.355817948,
+ EnergyUnit.FootPound => _value * 1.3558179483314004,
EnergyUnit.GigabritishThermalUnit => (_value * 1055.05585262) * 1e9d,
- EnergyUnit.GigaelectronVolt => (_value * 1.602176565e-19) * 1e9d,
+ EnergyUnit.GigaelectronVolt => (_value * 1.602176634e-19) * 1e9d,
EnergyUnit.Gigajoule => (_value) * 1e9d,
EnergyUnit.GigawattDay => (_value * 24 * 3600d) * 1e9d,
EnergyUnit.GigawattHour => (_value * 3600d) * 1e9d,
- EnergyUnit.HorsepowerHour => _value * 2.6845195377e6,
+ EnergyUnit.HorsepowerHour => _value * 76.0402249 * 9.80665 * 3600,
EnergyUnit.Joule => _value,
EnergyUnit.KilobritishThermalUnit => (_value * 1055.05585262) * 1e3d,
EnergyUnit.Kilocalorie => (_value * 4.184) * 1e3d,
- EnergyUnit.KiloelectronVolt => (_value * 1.602176565e-19) * 1e3d,
+ EnergyUnit.KiloelectronVolt => (_value * 1.602176634e-19) * 1e3d,
EnergyUnit.Kilojoule => (_value) * 1e3d,
EnergyUnit.KilowattDay => (_value * 24 * 3600d) * 1e3d,
EnergyUnit.KilowattHour => (_value * 3600d) * 1e3d,
EnergyUnit.MegabritishThermalUnit => (_value * 1055.05585262) * 1e6d,
EnergyUnit.Megacalorie => (_value * 4.184) * 1e6d,
- EnergyUnit.MegaelectronVolt => (_value * 1.602176565e-19) * 1e6d,
+ EnergyUnit.MegaelectronVolt => (_value * 1.602176634e-19) * 1e6d,
EnergyUnit.Megajoule => (_value) * 1e6d,
EnergyUnit.MegawattDay => (_value * 24 * 3600d) * 1e6d,
EnergyUnit.MegawattHour => (_value * 3600d) * 1e6d,
@@ -594,7 +594,7 @@ private double GetValueInBaseUnit()
EnergyUnit.Millijoule => (_value) * 1e-3d,
EnergyUnit.Nanojoule => (_value) * 1e-9d,
EnergyUnit.Petajoule => (_value) * 1e15d,
- EnergyUnit.TeraelectronVolt => (_value * 1.602176565e-19) * 1e12d,
+ EnergyUnit.TeraelectronVolt => (_value * 1.602176634e-19) * 1e12d,
EnergyUnit.Terajoule => (_value) * 1e12d,
EnergyUnit.TerawattDay => (_value * 24 * 3600d) * 1e12d,
EnergyUnit.TerawattHour => (_value * 3600d) * 1e12d,
@@ -621,25 +621,25 @@ private double GetValueAs(EnergyUnit unit)
EnergyUnit.DecathermEc => (baseUnitValue / 1.05505585262e8) / 1e1d,
EnergyUnit.DecathermImperial => (baseUnitValue / 1.05505585257348e8) / 1e1d,
EnergyUnit.DecathermUs => (baseUnitValue / 1.054804e8) / 1e1d,
- EnergyUnit.ElectronVolt => baseUnitValue / 1.602176565e-19,
+ EnergyUnit.ElectronVolt => baseUnitValue / 1.602176634e-19,
EnergyUnit.Erg => baseUnitValue / 1e-7,
- EnergyUnit.FootPound => baseUnitValue / 1.355817948,
+ EnergyUnit.FootPound => baseUnitValue / 1.3558179483314004,
EnergyUnit.GigabritishThermalUnit => (baseUnitValue / 1055.05585262) / 1e9d,
- EnergyUnit.GigaelectronVolt => (baseUnitValue / 1.602176565e-19) / 1e9d,
+ EnergyUnit.GigaelectronVolt => (baseUnitValue / 1.602176634e-19) / 1e9d,
EnergyUnit.Gigajoule => (baseUnitValue) / 1e9d,
EnergyUnit.GigawattDay => (baseUnitValue / (24 * 3600d)) / 1e9d,
EnergyUnit.GigawattHour => (baseUnitValue / 3600d) / 1e9d,
- EnergyUnit.HorsepowerHour => baseUnitValue / 2.6845195377e6,
+ EnergyUnit.HorsepowerHour => baseUnitValue / (76.0402249 * 9.80665 * 3600),
EnergyUnit.Joule => baseUnitValue,
EnergyUnit.KilobritishThermalUnit => (baseUnitValue / 1055.05585262) / 1e3d,
EnergyUnit.Kilocalorie => (baseUnitValue / 4.184) / 1e3d,
- EnergyUnit.KiloelectronVolt => (baseUnitValue / 1.602176565e-19) / 1e3d,
+ EnergyUnit.KiloelectronVolt => (baseUnitValue / 1.602176634e-19) / 1e3d,
EnergyUnit.Kilojoule => (baseUnitValue) / 1e3d,
EnergyUnit.KilowattDay => (baseUnitValue / (24 * 3600d)) / 1e3d,
EnergyUnit.KilowattHour => (baseUnitValue / 3600d) / 1e3d,
EnergyUnit.MegabritishThermalUnit => (baseUnitValue / 1055.05585262) / 1e6d,
EnergyUnit.Megacalorie => (baseUnitValue / 4.184) / 1e6d,
- EnergyUnit.MegaelectronVolt => (baseUnitValue / 1.602176565e-19) / 1e6d,
+ EnergyUnit.MegaelectronVolt => (baseUnitValue / 1.602176634e-19) / 1e6d,
EnergyUnit.Megajoule => (baseUnitValue) / 1e6d,
EnergyUnit.MegawattDay => (baseUnitValue / (24 * 3600d)) / 1e6d,
EnergyUnit.MegawattHour => (baseUnitValue / 3600d) / 1e6d,
@@ -647,7 +647,7 @@ private double GetValueAs(EnergyUnit unit)
EnergyUnit.Millijoule => (baseUnitValue) / 1e-3d,
EnergyUnit.Nanojoule => (baseUnitValue) / 1e-9d,
EnergyUnit.Petajoule => (baseUnitValue) / 1e15d,
- EnergyUnit.TeraelectronVolt => (baseUnitValue / 1.602176565e-19) / 1e12d,
+ EnergyUnit.TeraelectronVolt => (baseUnitValue / 1.602176634e-19) / 1e12d,
EnergyUnit.Terajoule => (baseUnitValue) / 1e12d,
EnergyUnit.TerawattDay => (baseUnitValue / (24 * 3600d)) / 1e12d,
EnergyUnit.TerawattHour => (baseUnitValue / 3600d) / 1e12d,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ForceChangeRate.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ForceChangeRate.g.cs
index 5fdcce6b67..ed5451b45f 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ForceChangeRate.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ForceChangeRate.g.cs
@@ -294,15 +294,15 @@ private double GetValueInBaseUnit()
ForceChangeRateUnit.DecinewtonPerSecond => (_value) * 1e-1d,
ForceChangeRateUnit.KilonewtonPerMinute => (_value / 60) * 1e3d,
ForceChangeRateUnit.KilonewtonPerSecond => (_value) * 1e3d,
- ForceChangeRateUnit.KilopoundForcePerMinute => (_value * 4.4482216152605095551842641431421 / 60) * 1e3d,
- ForceChangeRateUnit.KilopoundForcePerSecond => (_value * 4.4482216152605095551842641431421) * 1e3d,
+ ForceChangeRateUnit.KilopoundForcePerMinute => (_value * 4.4482216152605 / 60) * 1e3d,
+ ForceChangeRateUnit.KilopoundForcePerSecond => (_value * 4.4482216152605) * 1e3d,
ForceChangeRateUnit.MicronewtonPerSecond => (_value) * 1e-6d,
ForceChangeRateUnit.MillinewtonPerSecond => (_value) * 1e-3d,
ForceChangeRateUnit.NanonewtonPerSecond => (_value) * 1e-9d,
ForceChangeRateUnit.NewtonPerMinute => _value / 60,
ForceChangeRateUnit.NewtonPerSecond => _value,
- ForceChangeRateUnit.PoundForcePerMinute => _value * 4.4482216152605095551842641431421 / 60,
- ForceChangeRateUnit.PoundForcePerSecond => _value * 4.4482216152605095551842641431421,
+ ForceChangeRateUnit.PoundForcePerMinute => _value * 4.4482216152605 / 60,
+ ForceChangeRateUnit.PoundForcePerSecond => _value * 4.4482216152605,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
}
@@ -322,15 +322,15 @@ private double GetValueAs(ForceChangeRateUnit unit)
ForceChangeRateUnit.DecinewtonPerSecond => (baseUnitValue) / 1e-1d,
ForceChangeRateUnit.KilonewtonPerMinute => (baseUnitValue * 60) / 1e3d,
ForceChangeRateUnit.KilonewtonPerSecond => (baseUnitValue) / 1e3d,
- ForceChangeRateUnit.KilopoundForcePerMinute => (baseUnitValue / 4.4482216152605095551842641431421 * 60) / 1e3d,
- ForceChangeRateUnit.KilopoundForcePerSecond => (baseUnitValue / 4.4482216152605095551842641431421) / 1e3d,
+ ForceChangeRateUnit.KilopoundForcePerMinute => (baseUnitValue / 4.4482216152605 * 60) / 1e3d,
+ ForceChangeRateUnit.KilopoundForcePerSecond => (baseUnitValue / 4.4482216152605) / 1e3d,
ForceChangeRateUnit.MicronewtonPerSecond => (baseUnitValue) / 1e-6d,
ForceChangeRateUnit.MillinewtonPerSecond => (baseUnitValue) / 1e-3d,
ForceChangeRateUnit.NanonewtonPerSecond => (baseUnitValue) / 1e-9d,
ForceChangeRateUnit.NewtonPerMinute => baseUnitValue * 60,
ForceChangeRateUnit.NewtonPerSecond => baseUnitValue,
- ForceChangeRateUnit.PoundForcePerMinute => baseUnitValue / 4.4482216152605095551842641431421 * 60,
- ForceChangeRateUnit.PoundForcePerSecond => baseUnitValue / 4.4482216152605095551842641431421,
+ ForceChangeRateUnit.PoundForcePerMinute => baseUnitValue / 4.4482216152605 * 60,
+ ForceChangeRateUnit.PoundForcePerSecond => baseUnitValue / 4.4482216152605,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
}
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ForcePerLength.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ForcePerLength.g.cs
index 0567530380..5aa1545f0f 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ForcePerLength.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ForcePerLength.g.cs
@@ -550,14 +550,14 @@ private double GetValueInBaseUnit()
ForcePerLengthUnit.DecinewtonPerCentimeter => (_value * 1e2) * 1e-1d,
ForcePerLengthUnit.DecinewtonPerMeter => (_value) * 1e-1d,
ForcePerLengthUnit.DecinewtonPerMillimeter => (_value * 1e3) * 1e-1d,
- ForcePerLengthUnit.KilogramForcePerCentimeter => _value * 980.665002864,
- ForcePerLengthUnit.KilogramForcePerMeter => _value * 9.80665002864,
- ForcePerLengthUnit.KilogramForcePerMillimeter => _value * 9.80665002864e3,
+ ForcePerLengthUnit.KilogramForcePerCentimeter => _value * 980.665,
+ ForcePerLengthUnit.KilogramForcePerMeter => _value * 9.80665,
+ ForcePerLengthUnit.KilogramForcePerMillimeter => _value * 9.80665e3,
ForcePerLengthUnit.KilonewtonPerCentimeter => (_value * 1e2) * 1e3d,
ForcePerLengthUnit.KilonewtonPerMeter => (_value) * 1e3d,
ForcePerLengthUnit.KilonewtonPerMillimeter => (_value * 1e3) * 1e3d,
- ForcePerLengthUnit.KilopoundForcePerFoot => _value * 14593.90292,
- ForcePerLengthUnit.KilopoundForcePerInch => _value * 1.75126835e5,
+ ForcePerLengthUnit.KilopoundForcePerFoot => _value * 4.4482216152605 / 0.3048e-3,
+ ForcePerLengthUnit.KilopoundForcePerInch => _value * 4.4482216152605 / 2.54e-5,
ForcePerLengthUnit.MeganewtonPerCentimeter => (_value * 1e2) * 1e6d,
ForcePerLengthUnit.MeganewtonPerMeter => (_value) * 1e6d,
ForcePerLengthUnit.MeganewtonPerMillimeter => (_value * 1e3) * 1e6d,
@@ -573,12 +573,12 @@ private double GetValueInBaseUnit()
ForcePerLengthUnit.NewtonPerCentimeter => _value * 1e2,
ForcePerLengthUnit.NewtonPerMeter => _value,
ForcePerLengthUnit.NewtonPerMillimeter => _value * 1e3,
- ForcePerLengthUnit.PoundForcePerFoot => _value * 14.59390292,
- ForcePerLengthUnit.PoundForcePerInch => _value * 1.75126835e2,
- ForcePerLengthUnit.PoundForcePerYard => _value * 4.864634307,
- ForcePerLengthUnit.TonneForcePerCentimeter => _value * 9.80665002864e5,
- ForcePerLengthUnit.TonneForcePerMeter => _value * 9.80665002864e3,
- ForcePerLengthUnit.TonneForcePerMillimeter => _value * 9.80665002864e6,
+ ForcePerLengthUnit.PoundForcePerFoot => _value * 4.4482216152605 / 0.3048,
+ ForcePerLengthUnit.PoundForcePerInch => _value * 4.4482216152605 / 2.54e-2,
+ ForcePerLengthUnit.PoundForcePerYard => _value * 4.4482216152605 / 0.9144,
+ ForcePerLengthUnit.TonneForcePerCentimeter => _value * 9.80665e5,
+ ForcePerLengthUnit.TonneForcePerMeter => _value * 9.80665e3,
+ ForcePerLengthUnit.TonneForcePerMillimeter => _value * 9.80665e6,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
}
@@ -601,14 +601,14 @@ private double GetValueAs(ForcePerLengthUnit unit)
ForcePerLengthUnit.DecinewtonPerCentimeter => (baseUnitValue / 1e2) / 1e-1d,
ForcePerLengthUnit.DecinewtonPerMeter => (baseUnitValue) / 1e-1d,
ForcePerLengthUnit.DecinewtonPerMillimeter => (baseUnitValue / 1e3) / 1e-1d,
- ForcePerLengthUnit.KilogramForcePerCentimeter => baseUnitValue / 980.665002864,
- ForcePerLengthUnit.KilogramForcePerMeter => baseUnitValue / 9.80665002864,
- ForcePerLengthUnit.KilogramForcePerMillimeter => baseUnitValue / 9.80665002864e3,
+ ForcePerLengthUnit.KilogramForcePerCentimeter => baseUnitValue / 980.665,
+ ForcePerLengthUnit.KilogramForcePerMeter => baseUnitValue / 9.80665,
+ ForcePerLengthUnit.KilogramForcePerMillimeter => baseUnitValue / 9.80665e3,
ForcePerLengthUnit.KilonewtonPerCentimeter => (baseUnitValue / 1e2) / 1e3d,
ForcePerLengthUnit.KilonewtonPerMeter => (baseUnitValue) / 1e3d,
ForcePerLengthUnit.KilonewtonPerMillimeter => (baseUnitValue / 1e3) / 1e3d,
- ForcePerLengthUnit.KilopoundForcePerFoot => baseUnitValue / 14593.90292,
- ForcePerLengthUnit.KilopoundForcePerInch => baseUnitValue / 1.75126835e5,
+ ForcePerLengthUnit.KilopoundForcePerFoot => baseUnitValue * 0.3048e-3 / 4.4482216152605,
+ ForcePerLengthUnit.KilopoundForcePerInch => baseUnitValue * 2.54e-5 / 4.4482216152605,
ForcePerLengthUnit.MeganewtonPerCentimeter => (baseUnitValue / 1e2) / 1e6d,
ForcePerLengthUnit.MeganewtonPerMeter => (baseUnitValue) / 1e6d,
ForcePerLengthUnit.MeganewtonPerMillimeter => (baseUnitValue / 1e3) / 1e6d,
@@ -624,12 +624,12 @@ private double GetValueAs(ForcePerLengthUnit unit)
ForcePerLengthUnit.NewtonPerCentimeter => baseUnitValue / 1e2,
ForcePerLengthUnit.NewtonPerMeter => baseUnitValue,
ForcePerLengthUnit.NewtonPerMillimeter => baseUnitValue / 1e3,
- ForcePerLengthUnit.PoundForcePerFoot => baseUnitValue / 14.59390292,
- ForcePerLengthUnit.PoundForcePerInch => baseUnitValue / 1.75126835e2,
- ForcePerLengthUnit.PoundForcePerYard => baseUnitValue / 4.864634307,
- ForcePerLengthUnit.TonneForcePerCentimeter => baseUnitValue / 9.80665002864e5,
- ForcePerLengthUnit.TonneForcePerMeter => baseUnitValue / 9.80665002864e3,
- ForcePerLengthUnit.TonneForcePerMillimeter => baseUnitValue / 9.80665002864e6,
+ ForcePerLengthUnit.PoundForcePerFoot => baseUnitValue * 0.3048 / 4.4482216152605,
+ ForcePerLengthUnit.PoundForcePerInch => baseUnitValue * 2.54e-2 / 4.4482216152605,
+ ForcePerLengthUnit.PoundForcePerYard => baseUnitValue * 0.9144 / 4.4482216152605,
+ ForcePerLengthUnit.TonneForcePerCentimeter => baseUnitValue / 9.80665e5,
+ ForcePerLengthUnit.TonneForcePerMeter => baseUnitValue / 9.80665e3,
+ ForcePerLengthUnit.TonneForcePerMillimeter => baseUnitValue / 9.80665e6,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
}
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Frequency.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Frequency.g.cs
index 0d3a501993..59d7ff866f 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Frequency.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Frequency.g.cs
@@ -277,7 +277,7 @@ private double GetValueInBaseUnit()
FrequencyUnit.Microhertz => (_value) * 1e-6d,
FrequencyUnit.Millihertz => (_value) * 1e-3d,
FrequencyUnit.PerSecond => _value,
- FrequencyUnit.RadianPerSecond => _value / 6.2831853072,
+ FrequencyUnit.RadianPerSecond => _value / (2 * 3.1415926535897931),
FrequencyUnit.Terahertz => (_value) * 1e12d,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
@@ -303,7 +303,7 @@ private double GetValueAs(FrequencyUnit unit)
FrequencyUnit.Microhertz => (baseUnitValue) / 1e-6d,
FrequencyUnit.Millihertz => (baseUnitValue) / 1e-3d,
FrequencyUnit.PerSecond => baseUnitValue,
- FrequencyUnit.RadianPerSecond => baseUnitValue * 6.2831853072,
+ FrequencyUnit.RadianPerSecond => baseUnitValue * (2 * 3.1415926535897931),
FrequencyUnit.Terahertz => (baseUnitValue) / 1e12d,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/FuelEfficiency.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/FuelEfficiency.g.cs
index d374bb20c3..2cde93e262 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/FuelEfficiency.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/FuelEfficiency.g.cs
@@ -172,7 +172,7 @@ private double GetValueInBaseUnit()
{
FuelEfficiencyUnit.KilometerPerLiter => 100 / _value,
FuelEfficiencyUnit.LiterPer100Kilometers => _value,
- FuelEfficiencyUnit.MilePerUkGallon => (100 * 4.54609188) / (1.609344 * _value),
+ FuelEfficiencyUnit.MilePerUkGallon => (100 * 4.54609) / (1.609344 * _value),
FuelEfficiencyUnit.MilePerUsGallon => (100 * 3.785411784) / (1.609344 * _value),
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
@@ -189,7 +189,7 @@ private double GetValueAs(FuelEfficiencyUnit unit)
{
FuelEfficiencyUnit.KilometerPerLiter => 100 / baseUnitValue,
FuelEfficiencyUnit.LiterPer100Kilometers => baseUnitValue,
- FuelEfficiencyUnit.MilePerUkGallon => (100 * 4.54609188) / (1.609344 * baseUnitValue),
+ FuelEfficiencyUnit.MilePerUkGallon => (100 * 4.54609) / (1.609344 * baseUnitValue),
FuelEfficiencyUnit.MilePerUsGallon => (100 * 3.785411784) / (1.609344 * baseUnitValue),
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/HeatFlux.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/HeatFlux.g.cs
index beaa445903..aaaa9162fa 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/HeatFlux.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/HeatFlux.g.cs
@@ -321,23 +321,23 @@ private double GetValueInBaseUnit()
{
return Unit switch
{
- HeatFluxUnit.BtuPerHourSquareFoot => _value * 3.15459075,
- HeatFluxUnit.BtuPerMinuteSquareFoot => _value * 1.89275445e2,
- HeatFluxUnit.BtuPerSecondSquareFoot => _value * 1.13565267e4,
- HeatFluxUnit.BtuPerSecondSquareInch => _value * 1.63533984e6,
- HeatFluxUnit.CaloriePerSecondSquareCentimeter => _value * 4.1868e4,
+ HeatFluxUnit.BtuPerHourSquareFoot => _value * 1055.05585262 / (0.3048 * 0.3048 * 3600),
+ HeatFluxUnit.BtuPerMinuteSquareFoot => _value * 1055.05585262 / (0.3048 * 0.3048 * 60),
+ HeatFluxUnit.BtuPerSecondSquareFoot => _value * 1055.05585262 / (0.3048 * 0.3048),
+ HeatFluxUnit.BtuPerSecondSquareInch => _value * 1055.05585262 / (2.54e-2 * 2.54e-2),
+ HeatFluxUnit.CaloriePerSecondSquareCentimeter => _value * 4.184e4,
HeatFluxUnit.CentiwattPerSquareMeter => (_value) * 1e-2d,
HeatFluxUnit.DeciwattPerSquareMeter => (_value) * 1e-1d,
- HeatFluxUnit.KilocaloriePerHourSquareMeter => _value * 1.163,
- HeatFluxUnit.KilocaloriePerSecondSquareCentimeter => (_value * 4.1868e4) * 1e3d,
+ HeatFluxUnit.KilocaloriePerHourSquareMeter => _value * 4.184e3 / 3600,
+ HeatFluxUnit.KilocaloriePerSecondSquareCentimeter => (_value * 4.184e4) * 1e3d,
HeatFluxUnit.KilowattPerSquareMeter => (_value) * 1e3d,
HeatFluxUnit.MicrowattPerSquareMeter => (_value) * 1e-6d,
HeatFluxUnit.MilliwattPerSquareMeter => (_value) * 1e-3d,
HeatFluxUnit.NanowattPerSquareMeter => (_value) * 1e-9d,
- HeatFluxUnit.PoundForcePerFootSecond => _value * 1.459390293720636e1,
+ HeatFluxUnit.PoundForcePerFootSecond => _value * 1.3558179483314004 / 9.290304e-2,
HeatFluxUnit.PoundPerSecondCubed => _value * 4.5359237e-1,
- HeatFluxUnit.WattPerSquareFoot => _value * 1.07639e1,
- HeatFluxUnit.WattPerSquareInch => _value * 1.5500031e3,
+ HeatFluxUnit.WattPerSquareFoot => _value / (0.3048 * 0.3048),
+ HeatFluxUnit.WattPerSquareInch => _value / (2.54e-2 * 2.54e-2),
HeatFluxUnit.WattPerSquareMeter => _value,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
@@ -352,23 +352,23 @@ private double GetValueAs(HeatFluxUnit unit)
return unit switch
{
- HeatFluxUnit.BtuPerHourSquareFoot => baseUnitValue / 3.15459075,
- HeatFluxUnit.BtuPerMinuteSquareFoot => baseUnitValue / 1.89275445e2,
- HeatFluxUnit.BtuPerSecondSquareFoot => baseUnitValue / 1.13565267e4,
- HeatFluxUnit.BtuPerSecondSquareInch => baseUnitValue / 1.63533984e6,
- HeatFluxUnit.CaloriePerSecondSquareCentimeter => baseUnitValue / 4.1868e4,
+ HeatFluxUnit.BtuPerHourSquareFoot => baseUnitValue * (0.3048 * 0.3048 * 3600) / 1055.05585262,
+ HeatFluxUnit.BtuPerMinuteSquareFoot => baseUnitValue * (0.3048 * 0.3048 * 60) / 1055.05585262,
+ HeatFluxUnit.BtuPerSecondSquareFoot => baseUnitValue * (0.3048 * 0.3048) / 1055.05585262,
+ HeatFluxUnit.BtuPerSecondSquareInch => baseUnitValue * (2.54e-2 * 2.54e-2) / 1055.05585262,
+ HeatFluxUnit.CaloriePerSecondSquareCentimeter => baseUnitValue / 4.184e4,
HeatFluxUnit.CentiwattPerSquareMeter => (baseUnitValue) / 1e-2d,
HeatFluxUnit.DeciwattPerSquareMeter => (baseUnitValue) / 1e-1d,
- HeatFluxUnit.KilocaloriePerHourSquareMeter => baseUnitValue / 1.163,
- HeatFluxUnit.KilocaloriePerSecondSquareCentimeter => (baseUnitValue / 4.1868e4) / 1e3d,
+ HeatFluxUnit.KilocaloriePerHourSquareMeter => baseUnitValue * 3600 / 4.184e3,
+ HeatFluxUnit.KilocaloriePerSecondSquareCentimeter => (baseUnitValue / 4.184e4) / 1e3d,
HeatFluxUnit.KilowattPerSquareMeter => (baseUnitValue) / 1e3d,
HeatFluxUnit.MicrowattPerSquareMeter => (baseUnitValue) / 1e-6d,
HeatFluxUnit.MilliwattPerSquareMeter => (baseUnitValue) / 1e-3d,
HeatFluxUnit.NanowattPerSquareMeter => (baseUnitValue) / 1e-9d,
- HeatFluxUnit.PoundForcePerFootSecond => baseUnitValue / 1.459390293720636e1,
+ HeatFluxUnit.PoundForcePerFootSecond => baseUnitValue * 9.290304e-2 / 1.3558179483314004,
HeatFluxUnit.PoundPerSecondCubed => baseUnitValue / 4.5359237e-1,
- HeatFluxUnit.WattPerSquareFoot => baseUnitValue / 1.07639e1,
- HeatFluxUnit.WattPerSquareInch => baseUnitValue / 1.5500031e3,
+ HeatFluxUnit.WattPerSquareFoot => baseUnitValue * (0.3048 * 0.3048),
+ HeatFluxUnit.WattPerSquareInch => baseUnitValue * (2.54e-2 * 2.54e-2),
HeatFluxUnit.WattPerSquareMeter => baseUnitValue,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs
index ac5e33a21d..b23e54ac3a 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs
@@ -191,10 +191,10 @@ private double GetValueInBaseUnit()
{
return Unit switch
{
- HeatTransferCoefficientUnit.BtuPerHourSquareFootDegreeFahrenheit => _value * 5.6782633411134878,
- HeatTransferCoefficientUnit.BtuPerSquareFootDegreeFahrenheit => _value * 5.6782633411134878,
- HeatTransferCoefficientUnit.CaloriePerHourSquareMeterDegreeCelsius => (_value * 4.1868) / 3600,
- HeatTransferCoefficientUnit.KilocaloriePerHourSquareMeterDegreeCelsius => ((_value * 4.1868) / 3600) * 1e3d,
+ HeatTransferCoefficientUnit.BtuPerHourSquareFootDegreeFahrenheit => _value * ((1055.05585262 / (0.3048 * 0.3048 * 3600)) * 1.8),
+ HeatTransferCoefficientUnit.BtuPerSquareFootDegreeFahrenheit => _value * ((1055.05585262 / (0.3048 * 0.3048 * 3600)) * 1.8),
+ HeatTransferCoefficientUnit.CaloriePerHourSquareMeterDegreeCelsius => (_value * 4.184) / 3600,
+ HeatTransferCoefficientUnit.KilocaloriePerHourSquareMeterDegreeCelsius => ((_value * 4.184) / 3600) * 1e3d,
HeatTransferCoefficientUnit.WattPerSquareMeterCelsius => _value,
HeatTransferCoefficientUnit.WattPerSquareMeterKelvin => _value,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
@@ -210,10 +210,10 @@ private double GetValueAs(HeatTransferCoefficientUnit unit)
return unit switch
{
- HeatTransferCoefficientUnit.BtuPerHourSquareFootDegreeFahrenheit => baseUnitValue / 5.6782633411134878,
- HeatTransferCoefficientUnit.BtuPerSquareFootDegreeFahrenheit => baseUnitValue / 5.6782633411134878,
- HeatTransferCoefficientUnit.CaloriePerHourSquareMeterDegreeCelsius => (baseUnitValue / 4.1868) * 3600,
- HeatTransferCoefficientUnit.KilocaloriePerHourSquareMeterDegreeCelsius => ((baseUnitValue / 4.1868) * 3600) / 1e3d,
+ HeatTransferCoefficientUnit.BtuPerHourSquareFootDegreeFahrenheit => baseUnitValue / ((1055.05585262 / (0.3048 * 0.3048 * 3600)) * 1.8),
+ HeatTransferCoefficientUnit.BtuPerSquareFootDegreeFahrenheit => baseUnitValue / ((1055.05585262 / (0.3048 * 0.3048 * 3600)) * 1.8),
+ HeatTransferCoefficientUnit.CaloriePerHourSquareMeterDegreeCelsius => (baseUnitValue / 4.184) * 3600,
+ HeatTransferCoefficientUnit.KilocaloriePerHourSquareMeterDegreeCelsius => ((baseUnitValue / 4.184) * 3600) / 1e3d,
HeatTransferCoefficientUnit.WattPerSquareMeterCelsius => baseUnitValue,
HeatTransferCoefficientUnit.WattPerSquareMeterKelvin => baseUnitValue,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Impulse.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Impulse.g.cs
index d363a32e1b..adf298ebf7 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Impulse.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Impulse.g.cs
@@ -276,9 +276,9 @@ private double GetValueInBaseUnit()
ImpulseUnit.MillinewtonSecond => (_value) * 1e-3d,
ImpulseUnit.NanonewtonSecond => (_value) * 1e-9d,
ImpulseUnit.NewtonSecond => _value,
- ImpulseUnit.PoundFootPerSecond => _value / 7.230657989877,
- ImpulseUnit.PoundForceSecond => _value / 0.2248089430997,
- ImpulseUnit.SlugFootPerSecond => _value / 0.224735720691,
+ ImpulseUnit.PoundFootPerSecond => _value * (0.45359237 * 0.3048),
+ ImpulseUnit.PoundForceSecond => _value * 4.4482216152605,
+ ImpulseUnit.SlugFootPerSecond => _value * (32.17405 * 0.45359237 * 0.3048),
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
}
@@ -302,9 +302,9 @@ private double GetValueAs(ImpulseUnit unit)
ImpulseUnit.MillinewtonSecond => (baseUnitValue) / 1e-3d,
ImpulseUnit.NanonewtonSecond => (baseUnitValue) / 1e-9d,
ImpulseUnit.NewtonSecond => baseUnitValue,
- ImpulseUnit.PoundFootPerSecond => baseUnitValue * 7.230657989877,
- ImpulseUnit.PoundForceSecond => baseUnitValue * 0.2248089430997,
- ImpulseUnit.SlugFootPerSecond => baseUnitValue * 0.224735720691,
+ ImpulseUnit.PoundFootPerSecond => baseUnitValue / (0.45359237 * 0.3048),
+ ImpulseUnit.PoundForceSecond => baseUnitValue / 4.4482216152605,
+ ImpulseUnit.SlugFootPerSecond => baseUnitValue / (32.17405 * 0.45359237 * 0.3048),
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
}
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Irradiation.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Irradiation.g.cs
index 6af6e0957a..17159824c7 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Irradiation.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Irradiation.g.cs
@@ -225,11 +225,11 @@ private double GetValueInBaseUnit()
{
return Unit switch
{
- IrradiationUnit.BtuPerSquareFoot => _value * (52752792631d / 4645152d),
+ IrradiationUnit.BtuPerSquareFoot => _value * 1055.05585262 / 9.290304e-2,
IrradiationUnit.JoulePerSquareCentimeter => _value * 1e4,
IrradiationUnit.JoulePerSquareMeter => _value,
IrradiationUnit.JoulePerSquareMillimeter => _value * 1e6,
- IrradiationUnit.KilobtuPerSquareFoot => (_value * (52752792631d / 4645152d)) * 1e3d,
+ IrradiationUnit.KilobtuPerSquareFoot => (_value * 1055.05585262 / 9.290304e-2) * 1e3d,
IrradiationUnit.KilojoulePerSquareMeter => (_value) * 1e3d,
IrradiationUnit.KilowattHourPerSquareMeter => (_value * 3600d) * 1e3d,
IrradiationUnit.MillijoulePerSquareCentimeter => (_value * 1e4) * 1e-3d,
@@ -247,11 +247,11 @@ private double GetValueAs(IrradiationUnit unit)
return unit switch
{
- IrradiationUnit.BtuPerSquareFoot => baseUnitValue / (52752792631d / 4645152d),
+ IrradiationUnit.BtuPerSquareFoot => baseUnitValue * 9.290304e-2 / 1055.05585262,
IrradiationUnit.JoulePerSquareCentimeter => baseUnitValue / 1e4,
IrradiationUnit.JoulePerSquareMeter => baseUnitValue,
IrradiationUnit.JoulePerSquareMillimeter => baseUnitValue / 1e6,
- IrradiationUnit.KilobtuPerSquareFoot => (baseUnitValue / (52752792631d / 4645152d)) / 1e3d,
+ IrradiationUnit.KilobtuPerSquareFoot => (baseUnitValue * 9.290304e-2 / 1055.05585262) / 1e3d,
IrradiationUnit.KilojoulePerSquareMeter => (baseUnitValue) / 1e3d,
IrradiationUnit.KilowattHourPerSquareMeter => (baseUnitValue / 3600d) / 1e3d,
IrradiationUnit.MillijoulePerSquareCentimeter => (baseUnitValue / 1e4) / 1e-3d,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/KinematicViscosity.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/KinematicViscosity.g.cs
index 0b4c1fbe8f..901f1666e1 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/KinematicViscosity.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/KinematicViscosity.g.cs
@@ -231,7 +231,7 @@ private double GetValueInBaseUnit()
KinematicViscosityUnit.Microstokes => (_value / 1e4) * 1e-6d,
KinematicViscosityUnit.Millistokes => (_value / 1e4) * 1e-3d,
KinematicViscosityUnit.Nanostokes => (_value / 1e4) * 1e-9d,
- KinematicViscosityUnit.SquareFootPerSecond => _value / 10.7639,
+ KinematicViscosityUnit.SquareFootPerSecond => _value * 9.290304e-2,
KinematicViscosityUnit.SquareMeterPerSecond => _value,
KinematicViscosityUnit.Stokes => _value / 1e4,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
@@ -253,7 +253,7 @@ private double GetValueAs(KinematicViscosityUnit unit)
KinematicViscosityUnit.Microstokes => (baseUnitValue * 1e4) / 1e-6d,
KinematicViscosityUnit.Millistokes => (baseUnitValue * 1e4) / 1e-3d,
KinematicViscosityUnit.Nanostokes => (baseUnitValue * 1e4) / 1e-9d,
- KinematicViscosityUnit.SquareFootPerSecond => baseUnitValue * 10.7639,
+ KinematicViscosityUnit.SquareFootPerSecond => baseUnitValue / 9.290304e-2,
KinematicViscosityUnit.SquareMeterPerSecond => baseUnitValue,
KinematicViscosityUnit.Stokes => baseUnitValue * 1e4,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Length.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Length.g.cs
index 4d2b0c7c3b..319cbe27b9 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Length.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Length.g.cs
@@ -592,8 +592,8 @@ private double GetValueInBaseUnit()
LengthUnit.DataMile => _value * 1828.8,
LengthUnit.Decameter => (_value) * 1e1d,
LengthUnit.Decimeter => (_value) * 1e-1d,
- LengthUnit.DtpPica => _value / 236.220472441,
- LengthUnit.DtpPoint => (_value / 72) * 2.54e-2,
+ LengthUnit.DtpPica => _value * 2.54e-2 / 6,
+ LengthUnit.DtpPoint => _value * 2.54e-2 / 72,
LengthUnit.Fathom => _value * 1.8288,
LengthUnit.Femtometer => (_value) * 1e-15d,
LengthUnit.Foot => _value * 0.3048,
@@ -620,11 +620,11 @@ private double GetValueInBaseUnit()
LengthUnit.NauticalMile => _value * 1852,
LengthUnit.Parsec => _value * 3.08567758128e16,
LengthUnit.Picometer => (_value) * 1e-12d,
- LengthUnit.PrinterPica => _value / 237.106301584,
- LengthUnit.PrinterPoint => (_value / 72.27) * 2.54e-2,
+ LengthUnit.PrinterPica => _value * 2.54e-2 * 400 / 2409,
+ LengthUnit.PrinterPoint => _value * 2.54e-2 / 72.27 ,
LengthUnit.Shackle => _value * 27.432,
LengthUnit.SolarRadius => _value * 6.95510000E+08,
- LengthUnit.Twip => _value / 56692.913385826,
+ LengthUnit.Twip => _value * 2.54e-2 / 1440,
LengthUnit.UsSurveyFoot => _value * 1200 / 3937,
LengthUnit.Yard => _value * 0.9144,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
@@ -647,8 +647,8 @@ private double GetValueAs(LengthUnit unit)
LengthUnit.DataMile => baseUnitValue / 1828.8,
LengthUnit.Decameter => (baseUnitValue) / 1e1d,
LengthUnit.Decimeter => (baseUnitValue) / 1e-1d,
- LengthUnit.DtpPica => baseUnitValue * 236.220472441,
- LengthUnit.DtpPoint => (baseUnitValue / 2.54e-2) * 72,
+ LengthUnit.DtpPica => baseUnitValue * 6 / 2.54e-2,
+ LengthUnit.DtpPoint => baseUnitValue * 72 / 2.54e-2,
LengthUnit.Fathom => baseUnitValue / 1.8288,
LengthUnit.Femtometer => (baseUnitValue) / 1e-15d,
LengthUnit.Foot => baseUnitValue / 0.3048,
@@ -675,11 +675,11 @@ private double GetValueAs(LengthUnit unit)
LengthUnit.NauticalMile => baseUnitValue / 1852,
LengthUnit.Parsec => baseUnitValue / 3.08567758128e16,
LengthUnit.Picometer => (baseUnitValue) / 1e-12d,
- LengthUnit.PrinterPica => baseUnitValue * 237.106301584,
- LengthUnit.PrinterPoint => (baseUnitValue / 2.54e-2) * 72.27,
+ LengthUnit.PrinterPica => baseUnitValue / (2.54e-2 * 400 / 2409),
+ LengthUnit.PrinterPoint => baseUnitValue * 72.27 / 2.54e-2,
LengthUnit.Shackle => baseUnitValue / 27.432,
LengthUnit.SolarRadius => baseUnitValue / 6.95510000E+08,
- LengthUnit.Twip => baseUnitValue * 56692.913385826,
+ LengthUnit.Twip => baseUnitValue * 1440 / 2.54e-2,
LengthUnit.UsSurveyFoot => baseUnitValue * 3937 / 1200,
LengthUnit.Yard => baseUnitValue / 0.9144,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/LinearDensity.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/LinearDensity.g.cs
index 8d1c2acb82..f8d11451d4 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/LinearDensity.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/LinearDensity.g.cs
@@ -292,8 +292,8 @@ private double GetValueInBaseUnit()
LinearDensityUnit.MilligramPerCentimeter => (_value * 1e-1) * 1e-3d,
LinearDensityUnit.MilligramPerMeter => (_value * 1e-3) * 1e-3d,
LinearDensityUnit.MilligramPerMillimeter => (_value) * 1e-3d,
- LinearDensityUnit.PoundPerFoot => _value * 1.48816394,
- LinearDensityUnit.PoundPerInch => _value / 5.5997415e-2,
+ LinearDensityUnit.PoundPerFoot => _value * 0.45359237 / 0.3048,
+ LinearDensityUnit.PoundPerInch => _value * 0.45359237 / 2.54e-2,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
}
@@ -319,8 +319,8 @@ private double GetValueAs(LinearDensityUnit unit)
LinearDensityUnit.MilligramPerCentimeter => (baseUnitValue / 1e-1) / 1e-3d,
LinearDensityUnit.MilligramPerMeter => (baseUnitValue / 1e-3) / 1e-3d,
LinearDensityUnit.MilligramPerMillimeter => (baseUnitValue) / 1e-3d,
- LinearDensityUnit.PoundPerFoot => baseUnitValue / 1.48816394,
- LinearDensityUnit.PoundPerInch => baseUnitValue * 5.5997415e-2,
+ LinearDensityUnit.PoundPerFoot => baseUnitValue * 0.3048 / 0.45359237,
+ LinearDensityUnit.PoundPerInch => baseUnitValue * 2.54e-2 / 0.45359237,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
}
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/LinearPowerDensity.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/LinearPowerDensity.g.cs
index a354a93a60..c80b18a9f0 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/LinearPowerDensity.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/LinearPowerDensity.g.cs
@@ -402,28 +402,28 @@ private double GetValueInBaseUnit()
return Unit switch
{
LinearPowerDensityUnit.GigawattPerCentimeter => (_value * 1e2) * 1e9d,
- LinearPowerDensityUnit.GigawattPerFoot => (_value * 3.280839895) * 1e9d,
- LinearPowerDensityUnit.GigawattPerInch => (_value * 39.37007874) * 1e9d,
+ LinearPowerDensityUnit.GigawattPerFoot => (_value / 0.3048) * 1e9d,
+ LinearPowerDensityUnit.GigawattPerInch => (_value / 2.54e-2) * 1e9d,
LinearPowerDensityUnit.GigawattPerMeter => (_value) * 1e9d,
LinearPowerDensityUnit.GigawattPerMillimeter => (_value * 1e3) * 1e9d,
LinearPowerDensityUnit.KilowattPerCentimeter => (_value * 1e2) * 1e3d,
- LinearPowerDensityUnit.KilowattPerFoot => (_value * 3.280839895) * 1e3d,
- LinearPowerDensityUnit.KilowattPerInch => (_value * 39.37007874) * 1e3d,
+ LinearPowerDensityUnit.KilowattPerFoot => (_value / 0.3048) * 1e3d,
+ LinearPowerDensityUnit.KilowattPerInch => (_value / 2.54e-2) * 1e3d,
LinearPowerDensityUnit.KilowattPerMeter => (_value) * 1e3d,
LinearPowerDensityUnit.KilowattPerMillimeter => (_value * 1e3) * 1e3d,
LinearPowerDensityUnit.MegawattPerCentimeter => (_value * 1e2) * 1e6d,
- LinearPowerDensityUnit.MegawattPerFoot => (_value * 3.280839895) * 1e6d,
- LinearPowerDensityUnit.MegawattPerInch => (_value * 39.37007874) * 1e6d,
+ LinearPowerDensityUnit.MegawattPerFoot => (_value / 0.3048) * 1e6d,
+ LinearPowerDensityUnit.MegawattPerInch => (_value / 2.54e-2) * 1e6d,
LinearPowerDensityUnit.MegawattPerMeter => (_value) * 1e6d,
LinearPowerDensityUnit.MegawattPerMillimeter => (_value * 1e3) * 1e6d,
LinearPowerDensityUnit.MilliwattPerCentimeter => (_value * 1e2) * 1e-3d,
- LinearPowerDensityUnit.MilliwattPerFoot => (_value * 3.280839895) * 1e-3d,
- LinearPowerDensityUnit.MilliwattPerInch => (_value * 39.37007874) * 1e-3d,
+ LinearPowerDensityUnit.MilliwattPerFoot => (_value / 0.3048) * 1e-3d,
+ LinearPowerDensityUnit.MilliwattPerInch => (_value / 2.54e-2) * 1e-3d,
LinearPowerDensityUnit.MilliwattPerMeter => (_value) * 1e-3d,
LinearPowerDensityUnit.MilliwattPerMillimeter => (_value * 1e3) * 1e-3d,
LinearPowerDensityUnit.WattPerCentimeter => _value * 1e2,
- LinearPowerDensityUnit.WattPerFoot => _value * 3.280839895,
- LinearPowerDensityUnit.WattPerInch => _value * 39.37007874,
+ LinearPowerDensityUnit.WattPerFoot => _value / 0.3048,
+ LinearPowerDensityUnit.WattPerInch => _value / 2.54e-2,
LinearPowerDensityUnit.WattPerMeter => _value,
LinearPowerDensityUnit.WattPerMillimeter => _value * 1e3,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
@@ -440,28 +440,28 @@ private double GetValueAs(LinearPowerDensityUnit unit)
return unit switch
{
LinearPowerDensityUnit.GigawattPerCentimeter => (baseUnitValue / 1e2) / 1e9d,
- LinearPowerDensityUnit.GigawattPerFoot => (baseUnitValue / 3.280839895) / 1e9d,
- LinearPowerDensityUnit.GigawattPerInch => (baseUnitValue / 39.37007874) / 1e9d,
+ LinearPowerDensityUnit.GigawattPerFoot => (baseUnitValue * 0.3048) / 1e9d,
+ LinearPowerDensityUnit.GigawattPerInch => (baseUnitValue * 2.54e-2) / 1e9d,
LinearPowerDensityUnit.GigawattPerMeter => (baseUnitValue) / 1e9d,
LinearPowerDensityUnit.GigawattPerMillimeter => (baseUnitValue / 1e3) / 1e9d,
LinearPowerDensityUnit.KilowattPerCentimeter => (baseUnitValue / 1e2) / 1e3d,
- LinearPowerDensityUnit.KilowattPerFoot => (baseUnitValue / 3.280839895) / 1e3d,
- LinearPowerDensityUnit.KilowattPerInch => (baseUnitValue / 39.37007874) / 1e3d,
+ LinearPowerDensityUnit.KilowattPerFoot => (baseUnitValue * 0.3048) / 1e3d,
+ LinearPowerDensityUnit.KilowattPerInch => (baseUnitValue * 2.54e-2) / 1e3d,
LinearPowerDensityUnit.KilowattPerMeter => (baseUnitValue) / 1e3d,
LinearPowerDensityUnit.KilowattPerMillimeter => (baseUnitValue / 1e3) / 1e3d,
LinearPowerDensityUnit.MegawattPerCentimeter => (baseUnitValue / 1e2) / 1e6d,
- LinearPowerDensityUnit.MegawattPerFoot => (baseUnitValue / 3.280839895) / 1e6d,
- LinearPowerDensityUnit.MegawattPerInch => (baseUnitValue / 39.37007874) / 1e6d,
+ LinearPowerDensityUnit.MegawattPerFoot => (baseUnitValue * 0.3048) / 1e6d,
+ LinearPowerDensityUnit.MegawattPerInch => (baseUnitValue * 2.54e-2) / 1e6d,
LinearPowerDensityUnit.MegawattPerMeter => (baseUnitValue) / 1e6d,
LinearPowerDensityUnit.MegawattPerMillimeter => (baseUnitValue / 1e3) / 1e6d,
LinearPowerDensityUnit.MilliwattPerCentimeter => (baseUnitValue / 1e2) / 1e-3d,
- LinearPowerDensityUnit.MilliwattPerFoot => (baseUnitValue / 3.280839895) / 1e-3d,
- LinearPowerDensityUnit.MilliwattPerInch => (baseUnitValue / 39.37007874) / 1e-3d,
+ LinearPowerDensityUnit.MilliwattPerFoot => (baseUnitValue * 0.3048) / 1e-3d,
+ LinearPowerDensityUnit.MilliwattPerInch => (baseUnitValue * 2.54e-2) / 1e-3d,
LinearPowerDensityUnit.MilliwattPerMeter => (baseUnitValue) / 1e-3d,
LinearPowerDensityUnit.MilliwattPerMillimeter => (baseUnitValue / 1e3) / 1e-3d,
LinearPowerDensityUnit.WattPerCentimeter => baseUnitValue / 1e2,
- LinearPowerDensityUnit.WattPerFoot => baseUnitValue / 3.280839895,
- LinearPowerDensityUnit.WattPerInch => baseUnitValue / 39.37007874,
+ LinearPowerDensityUnit.WattPerFoot => baseUnitValue * 0.3048,
+ LinearPowerDensityUnit.WattPerInch => baseUnitValue * 2.54e-2,
LinearPowerDensityUnit.WattPerMeter => baseUnitValue,
LinearPowerDensityUnit.WattPerMillimeter => baseUnitValue / 1e3,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Luminance.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Luminance.g.cs
index 30b3886f8a..9fbfe66f9f 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Luminance.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Luminance.g.cs
@@ -236,8 +236,8 @@ private double GetValueInBaseUnit()
{
return Unit switch
{
- LuminanceUnit.CandelaPerSquareFoot => _value* 1.07639e1,
- LuminanceUnit.CandelaPerSquareInch => _value* 1.5500031e3,
+ LuminanceUnit.CandelaPerSquareFoot => _value / 9.290304e-2,
+ LuminanceUnit.CandelaPerSquareInch => _value / 0.00064516,
LuminanceUnit.CandelaPerSquareMeter => _value,
LuminanceUnit.CenticandelaPerSquareMeter => (_value) * 1e-2d,
LuminanceUnit.DecicandelaPerSquareMeter => (_value) * 1e-1d,
@@ -259,8 +259,8 @@ private double GetValueAs(LuminanceUnit unit)
return unit switch
{
- LuminanceUnit.CandelaPerSquareFoot => baseUnitValue/ 1.07639e1,
- LuminanceUnit.CandelaPerSquareInch => baseUnitValue/ 1.5500031e3,
+ LuminanceUnit.CandelaPerSquareFoot => baseUnitValue * 9.290304e-2,
+ LuminanceUnit.CandelaPerSquareInch => baseUnitValue * 0.00064516,
LuminanceUnit.CandelaPerSquareMeter => baseUnitValue,
LuminanceUnit.CenticandelaPerSquareMeter => (baseUnitValue) / 1e-2d,
LuminanceUnit.DecicandelaPerSquareMeter => (baseUnitValue) / 1e-1d,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Luminosity.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Luminosity.g.cs
index 4eb4cd9e68..771a199ebc 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Luminosity.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Luminosity.g.cs
@@ -291,7 +291,7 @@ private double GetValueInBaseUnit()
LuminosityUnit.Nanowatt => (_value) * 1e-9d,
LuminosityUnit.Petawatt => (_value) * 1e15d,
LuminosityUnit.Picowatt => (_value) * 1e-12d,
- LuminosityUnit.SolarLuminosity => _value * 3.846e26,
+ LuminosityUnit.SolarLuminosity => _value * 3.828e26,
LuminosityUnit.Terawatt => (_value) * 1e12d,
LuminosityUnit.Watt => _value,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
@@ -318,7 +318,7 @@ private double GetValueAs(LuminosityUnit unit)
LuminosityUnit.Nanowatt => (baseUnitValue) / 1e-9d,
LuminosityUnit.Petawatt => (baseUnitValue) / 1e15d,
LuminosityUnit.Picowatt => (baseUnitValue) / 1e-12d,
- LuminosityUnit.SolarLuminosity => baseUnitValue / 3.846e26,
+ LuminosityUnit.SolarLuminosity => baseUnitValue / 3.828e26,
LuminosityUnit.Terawatt => (baseUnitValue) / 1e12d,
LuminosityUnit.Watt => baseUnitValue,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Mass.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Mass.g.cs
index 0d2f03d84b..8840260b2c 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Mass.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Mass.g.cs
@@ -425,14 +425,14 @@ private double GetValueInBaseUnit()
MassUnit.Decigram => (_value / 1e3) * 1e-1d,
MassUnit.EarthMass => _value * 5.9722E+24,
MassUnit.Femtogram => (_value / 1e3) * 1e-15d,
- MassUnit.Grain => _value / 15432.358352941431,
+ MassUnit.Grain => _value * 64.79891e-6,
MassUnit.Gram => _value / 1e3,
MassUnit.Hectogram => (_value / 1e3) * 1e2d,
MassUnit.Kilogram => (_value / 1e3) * 1e3d,
MassUnit.Kilopound => (_value * 0.45359237) * 1e3d,
MassUnit.Kilotonne => (_value * 1e3) * 1e3d,
- MassUnit.LongHundredweight => _value / 0.01968413055222121,
- MassUnit.LongTon => _value * 1.0160469088e3,
+ MassUnit.LongHundredweight => _value * 50.80234544,
+ MassUnit.LongTon => _value * 1016.0469088,
MassUnit.Megapound => (_value * 0.45359237) * 1e6d,
MassUnit.Megatonne => (_value * 1e3) * 1e6d,
MassUnit.Microgram => (_value / 1e3) * 1e-6d,
@@ -441,11 +441,11 @@ private double GetValueInBaseUnit()
MassUnit.Ounce => _value * 0.028349523125,
MassUnit.Picogram => (_value / 1e3) * 1e-12d,
MassUnit.Pound => _value * 0.45359237,
- MassUnit.ShortHundredweight => _value / 0.022046226218487758,
- MassUnit.ShortTon => _value * 9.0718474e2,
- MassUnit.Slug => _value / 6.852176556196105e-2,
+ MassUnit.ShortHundredweight => _value * 45.359237,
+ MassUnit.ShortTon => _value * 907.18474,
+ MassUnit.Slug => _value * (32.17405 * 0.45359237),
MassUnit.SolarMass => _value * 1.98947e30,
- MassUnit.Stone => _value / 0.1574731728702698,
+ MassUnit.Stone => _value * 6.35029318,
MassUnit.Tonne => _value * 1e3,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
@@ -465,14 +465,14 @@ private double GetValueAs(MassUnit unit)
MassUnit.Decigram => (baseUnitValue * 1e3) / 1e-1d,
MassUnit.EarthMass => baseUnitValue / 5.9722E+24,
MassUnit.Femtogram => (baseUnitValue * 1e3) / 1e-15d,
- MassUnit.Grain => baseUnitValue * 15432.358352941431,
+ MassUnit.Grain => baseUnitValue / 64.79891e-6,
MassUnit.Gram => baseUnitValue * 1e3,
MassUnit.Hectogram => (baseUnitValue * 1e3) / 1e2d,
MassUnit.Kilogram => (baseUnitValue * 1e3) / 1e3d,
MassUnit.Kilopound => (baseUnitValue / 0.45359237) / 1e3d,
MassUnit.Kilotonne => (baseUnitValue / 1e3) / 1e3d,
- MassUnit.LongHundredweight => baseUnitValue * 0.01968413055222121,
- MassUnit.LongTon => baseUnitValue / 1.0160469088e3,
+ MassUnit.LongHundredweight => baseUnitValue / 50.80234544,
+ MassUnit.LongTon => baseUnitValue / 1016.0469088,
MassUnit.Megapound => (baseUnitValue / 0.45359237) / 1e6d,
MassUnit.Megatonne => (baseUnitValue / 1e3) / 1e6d,
MassUnit.Microgram => (baseUnitValue * 1e3) / 1e-6d,
@@ -481,11 +481,11 @@ private double GetValueAs(MassUnit unit)
MassUnit.Ounce => baseUnitValue / 0.028349523125,
MassUnit.Picogram => (baseUnitValue * 1e3) / 1e-12d,
MassUnit.Pound => baseUnitValue / 0.45359237,
- MassUnit.ShortHundredweight => baseUnitValue * 0.022046226218487758,
- MassUnit.ShortTon => baseUnitValue / 9.0718474e2,
- MassUnit.Slug => baseUnitValue * 6.852176556196105e-2,
+ MassUnit.ShortHundredweight => baseUnitValue / 45.359237,
+ MassUnit.ShortTon => baseUnitValue / 907.18474,
+ MassUnit.Slug => baseUnitValue / (32.17405 * 0.45359237),
MassUnit.SolarMass => baseUnitValue / 1.98947e30,
- MassUnit.Stone => baseUnitValue * 0.1574731728702698,
+ MassUnit.Stone => baseUnitValue / 6.35029318,
MassUnit.Tonne => baseUnitValue / 1e3,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/MassConcentration.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/MassConcentration.g.cs
index a7d1733972..c8b4263f95 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/MassConcentration.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/MassConcentration.g.cs
@@ -684,8 +684,8 @@ private double GetValueInBaseUnit()
MassConcentrationUnit.KilogramPerCubicMeter => (_value / 1e3) * 1e3d,
MassConcentrationUnit.KilogramPerCubicMillimeter => (_value / 1e-6) * 1e3d,
MassConcentrationUnit.KilogramPerLiter => (_value) * 1e3d,
- MassConcentrationUnit.KilopoundPerCubicFoot => (_value / 0.062427961) * 1e3d,
- MassConcentrationUnit.KilopoundPerCubicInch => (_value / 3.6127298147753e-5) * 1e3d,
+ MassConcentrationUnit.KilopoundPerCubicFoot => (_value * 0.45359237 / 0.028316846592) * 1e3d,
+ MassConcentrationUnit.KilopoundPerCubicInch => (_value * 0.45359237 / 1.6387064e-5) * 1e3d,
MassConcentrationUnit.MicrogramPerCubicMeter => (_value / 1e3) * 1e-6d,
MassConcentrationUnit.MicrogramPerDeciliter => (_value / 1e-1) * 1e-6d,
MassConcentrationUnit.MicrogramPerLiter => (_value) * 1e-6d,
@@ -700,17 +700,17 @@ private double GetValueInBaseUnit()
MassConcentrationUnit.NanogramPerLiter => (_value) * 1e-9d,
MassConcentrationUnit.NanogramPerMicroliter => (_value / 1e-6) * 1e-9d,
MassConcentrationUnit.NanogramPerMilliliter => (_value / 1e-3) * 1e-9d,
- MassConcentrationUnit.OuncePerImperialGallon => _value / 0.1603586720609,
- MassConcentrationUnit.OuncePerUSGallon => _value / 0.1335264711843,
+ MassConcentrationUnit.OuncePerImperialGallon => _value * 0.028349523125 / 0.00454609,
+ MassConcentrationUnit.OuncePerUSGallon => _value * 0.028349523125 / 0.003785411784,
MassConcentrationUnit.PicogramPerDeciliter => (_value / 1e-1) * 1e-12d,
MassConcentrationUnit.PicogramPerLiter => (_value) * 1e-12d,
MassConcentrationUnit.PicogramPerMicroliter => (_value / 1e-6) * 1e-12d,
MassConcentrationUnit.PicogramPerMilliliter => (_value / 1e-3) * 1e-12d,
- MassConcentrationUnit.PoundPerCubicFoot => _value / 0.062427961,
- MassConcentrationUnit.PoundPerCubicInch => _value / 3.6127298147753e-5,
- MassConcentrationUnit.PoundPerImperialGallon => _value * 9.9776398e1,
- MassConcentrationUnit.PoundPerUSGallon => _value * 1.19826427e2,
- MassConcentrationUnit.SlugPerCubicFoot => _value * 515.378818,
+ MassConcentrationUnit.PoundPerCubicFoot => _value * 0.45359237 / 0.028316846592,
+ MassConcentrationUnit.PoundPerCubicInch => _value * 0.45359237 / 1.6387064e-5,
+ MassConcentrationUnit.PoundPerImperialGallon => _value * 0.45359237 / 0.00454609,
+ MassConcentrationUnit.PoundPerUSGallon => _value * 0.45359237 / 0.003785411784,
+ MassConcentrationUnit.SlugPerCubicFoot => _value * (32.17405 * 0.45359237) / 0.028316846592,
MassConcentrationUnit.TonnePerCubicCentimeter => _value / 1e-9,
MassConcentrationUnit.TonnePerCubicMeter => _value / 0.001,
MassConcentrationUnit.TonnePerCubicMillimeter => _value / 1e-12,
@@ -746,8 +746,8 @@ private double GetValueAs(MassConcentrationUnit unit)
MassConcentrationUnit.KilogramPerCubicMeter => (baseUnitValue * 1e3) / 1e3d,
MassConcentrationUnit.KilogramPerCubicMillimeter => (baseUnitValue * 1e-6) / 1e3d,
MassConcentrationUnit.KilogramPerLiter => (baseUnitValue) / 1e3d,
- MassConcentrationUnit.KilopoundPerCubicFoot => (baseUnitValue * 0.062427961) / 1e3d,
- MassConcentrationUnit.KilopoundPerCubicInch => (baseUnitValue * 3.6127298147753e-5) / 1e3d,
+ MassConcentrationUnit.KilopoundPerCubicFoot => (baseUnitValue * 0.028316846592 / 0.45359237) / 1e3d,
+ MassConcentrationUnit.KilopoundPerCubicInch => (baseUnitValue * 1.6387064e-5 / 0.45359237) / 1e3d,
MassConcentrationUnit.MicrogramPerCubicMeter => (baseUnitValue * 1e3) / 1e-6d,
MassConcentrationUnit.MicrogramPerDeciliter => (baseUnitValue * 1e-1) / 1e-6d,
MassConcentrationUnit.MicrogramPerLiter => (baseUnitValue) / 1e-6d,
@@ -762,17 +762,17 @@ private double GetValueAs(MassConcentrationUnit unit)
MassConcentrationUnit.NanogramPerLiter => (baseUnitValue) / 1e-9d,
MassConcentrationUnit.NanogramPerMicroliter => (baseUnitValue * 1e-6) / 1e-9d,
MassConcentrationUnit.NanogramPerMilliliter => (baseUnitValue * 1e-3) / 1e-9d,
- MassConcentrationUnit.OuncePerImperialGallon => baseUnitValue * 0.1603586720609,
- MassConcentrationUnit.OuncePerUSGallon => baseUnitValue * 0.1335264711843,
+ MassConcentrationUnit.OuncePerImperialGallon => baseUnitValue * 0.00454609 / 0.028349523125,
+ MassConcentrationUnit.OuncePerUSGallon => baseUnitValue * 0.003785411784 / 0.028349523125,
MassConcentrationUnit.PicogramPerDeciliter => (baseUnitValue * 1e-1) / 1e-12d,
MassConcentrationUnit.PicogramPerLiter => (baseUnitValue) / 1e-12d,
MassConcentrationUnit.PicogramPerMicroliter => (baseUnitValue * 1e-6) / 1e-12d,
MassConcentrationUnit.PicogramPerMilliliter => (baseUnitValue * 1e-3) / 1e-12d,
- MassConcentrationUnit.PoundPerCubicFoot => baseUnitValue * 0.062427961,
- MassConcentrationUnit.PoundPerCubicInch => baseUnitValue * 3.6127298147753e-5,
- MassConcentrationUnit.PoundPerImperialGallon => baseUnitValue / 9.9776398e1,
- MassConcentrationUnit.PoundPerUSGallon => baseUnitValue / 1.19826427e2,
- MassConcentrationUnit.SlugPerCubicFoot => baseUnitValue * 0.00194032033,
+ MassConcentrationUnit.PoundPerCubicFoot => baseUnitValue * 0.028316846592 / 0.45359237,
+ MassConcentrationUnit.PoundPerCubicInch => baseUnitValue * 1.6387064e-5 / 0.45359237,
+ MassConcentrationUnit.PoundPerImperialGallon => baseUnitValue * 0.00454609 / 0.45359237,
+ MassConcentrationUnit.PoundPerUSGallon => baseUnitValue * 0.003785411784 / 0.45359237,
+ MassConcentrationUnit.SlugPerCubicFoot => baseUnitValue * 0.028316846592 / (32.17405 * 0.45359237),
MassConcentrationUnit.TonnePerCubicCentimeter => baseUnitValue * 1e-9,
MassConcentrationUnit.TonnePerCubicMeter => baseUnitValue * 0.001,
MassConcentrationUnit.TonnePerCubicMillimeter => baseUnitValue * 1e-12,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/MassFlow.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/MassFlow.g.cs
index c1039b2df2..243e5e2aee 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/MassFlow.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/MassFlow.g.cs
@@ -502,9 +502,9 @@ private double GetValueInBaseUnit()
MassFlowUnit.KilogramPerMinute => _value / 0.06,
MassFlowUnit.KilogramPerSecond => (_value) * 1e3d,
MassFlowUnit.MegagramPerDay => (_value / 86400) * 1e6d,
- MassFlowUnit.MegapoundPerDay => (_value / 190.47936) * 1e6d,
- MassFlowUnit.MegapoundPerHour => (_value / 7.93664) * 1e6d,
- MassFlowUnit.MegapoundPerMinute => (_value / 0.132277) * 1e6d,
+ MassFlowUnit.MegapoundPerDay => (_value * 453.59237 / 86400) * 1e6d,
+ MassFlowUnit.MegapoundPerHour => (_value * 453.59237 / 3600) * 1e6d,
+ MassFlowUnit.MegapoundPerMinute => (_value * 453.59237 / 60) * 1e6d,
MassFlowUnit.MegapoundPerSecond => (_value * 453.59237) * 1e6d,
MassFlowUnit.MicrogramPerDay => (_value / 86400) * 1e-6d,
MassFlowUnit.MicrogramPerSecond => (_value) * 1e-6d,
@@ -512,13 +512,13 @@ private double GetValueInBaseUnit()
MassFlowUnit.MilligramPerSecond => (_value) * 1e-3d,
MassFlowUnit.NanogramPerDay => (_value / 86400) * 1e-9d,
MassFlowUnit.NanogramPerSecond => (_value) * 1e-9d,
- MassFlowUnit.PoundPerDay => _value / 190.47936,
- MassFlowUnit.PoundPerHour => _value / 7.93664,
- MassFlowUnit.PoundPerMinute => _value / 0.132277,
+ MassFlowUnit.PoundPerDay => _value * 453.59237 / 86400,
+ MassFlowUnit.PoundPerHour => _value * 453.59237 / 3600,
+ MassFlowUnit.PoundPerMinute => _value * 453.59237 / 60,
MassFlowUnit.PoundPerSecond => _value * 453.59237,
- MassFlowUnit.ShortTonPerHour => _value * 251.9957611,
+ MassFlowUnit.ShortTonPerHour => _value * 907.18474 / 3.6,
MassFlowUnit.TonnePerDay => _value / 0.0864000,
- MassFlowUnit.TonnePerHour => 1000 * _value / 3.6,
+ MassFlowUnit.TonnePerHour => _value * 1000 / 3.6,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
}
@@ -548,9 +548,9 @@ private double GetValueAs(MassFlowUnit unit)
MassFlowUnit.KilogramPerMinute => baseUnitValue * 0.06,
MassFlowUnit.KilogramPerSecond => (baseUnitValue) / 1e3d,
MassFlowUnit.MegagramPerDay => (baseUnitValue * 86400) / 1e6d,
- MassFlowUnit.MegapoundPerDay => (baseUnitValue * 190.47936) / 1e6d,
- MassFlowUnit.MegapoundPerHour => (baseUnitValue * 7.93664) / 1e6d,
- MassFlowUnit.MegapoundPerMinute => (baseUnitValue * 0.132277) / 1e6d,
+ MassFlowUnit.MegapoundPerDay => (baseUnitValue * 86400 / 453.59237) / 1e6d,
+ MassFlowUnit.MegapoundPerHour => (baseUnitValue * 3600 / 453.59237) / 1e6d,
+ MassFlowUnit.MegapoundPerMinute => (baseUnitValue * 60 / 453.59237) / 1e6d,
MassFlowUnit.MegapoundPerSecond => (baseUnitValue / 453.59237) / 1e6d,
MassFlowUnit.MicrogramPerDay => (baseUnitValue * 86400) / 1e-6d,
MassFlowUnit.MicrogramPerSecond => (baseUnitValue) / 1e-6d,
@@ -558,11 +558,11 @@ private double GetValueAs(MassFlowUnit unit)
MassFlowUnit.MilligramPerSecond => (baseUnitValue) / 1e-3d,
MassFlowUnit.NanogramPerDay => (baseUnitValue * 86400) / 1e-9d,
MassFlowUnit.NanogramPerSecond => (baseUnitValue) / 1e-9d,
- MassFlowUnit.PoundPerDay => baseUnitValue * 190.47936,
- MassFlowUnit.PoundPerHour => baseUnitValue * 7.93664,
- MassFlowUnit.PoundPerMinute => baseUnitValue * 0.132277,
+ MassFlowUnit.PoundPerDay => baseUnitValue * 86400 / 453.59237,
+ MassFlowUnit.PoundPerHour => baseUnitValue * 3600 / 453.59237,
+ MassFlowUnit.PoundPerMinute => baseUnitValue * 60 / 453.59237,
MassFlowUnit.PoundPerSecond => baseUnitValue / 453.59237,
- MassFlowUnit.ShortTonPerHour => baseUnitValue / 251.9957611,
+ MassFlowUnit.ShortTonPerHour => baseUnitValue * 3.6 / 907.18474,
MassFlowUnit.TonnePerDay => baseUnitValue * 0.0864000,
MassFlowUnit.TonnePerHour => baseUnitValue * 3.6 / 1000,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/MassMomentOfInertia.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/MassMomentOfInertia.g.cs
index bdea3d3789..7f2e1fd930 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/MassMomentOfInertia.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/MassMomentOfInertia.g.cs
@@ -451,10 +451,10 @@ private double GetValueInBaseUnit()
MassMomentOfInertiaUnit.MilligramSquareDecimeter => (_value / 1e5) * 1e-3d,
MassMomentOfInertiaUnit.MilligramSquareMeter => (_value / 1e3) * 1e-3d,
MassMomentOfInertiaUnit.MilligramSquareMillimeter => (_value / 1e9) * 1e-3d,
- MassMomentOfInertiaUnit.PoundSquareFoot => _value * 4.21401101e-2,
- MassMomentOfInertiaUnit.PoundSquareInch => _value * 2.9263965e-4,
- MassMomentOfInertiaUnit.SlugSquareFoot => _value * 1.3558179619,
- MassMomentOfInertiaUnit.SlugSquareInch => _value * 9.41540242e-3,
+ MassMomentOfInertiaUnit.PoundSquareFoot => _value * (0.45359237 * 9.290304e-2),
+ MassMomentOfInertiaUnit.PoundSquareInch => _value * (0.45359237 * 0.00064516),
+ MassMomentOfInertiaUnit.SlugSquareFoot => _value * (32.17405 * 0.45359237 * 9.290304e-2),
+ MassMomentOfInertiaUnit.SlugSquareInch => _value * (32.17405 * 0.45359237 * 0.00064516),
MassMomentOfInertiaUnit.TonneSquareCentimeter => _value / 1e1,
MassMomentOfInertiaUnit.TonneSquareDecimeter => _value / 1e-1,
MassMomentOfInertiaUnit.TonneSquareMeter => _value / 1e-3,
@@ -492,10 +492,10 @@ private double GetValueAs(MassMomentOfInertiaUnit unit)
MassMomentOfInertiaUnit.MilligramSquareDecimeter => (baseUnitValue * 1e5) / 1e-3d,
MassMomentOfInertiaUnit.MilligramSquareMeter => (baseUnitValue * 1e3) / 1e-3d,
MassMomentOfInertiaUnit.MilligramSquareMillimeter => (baseUnitValue * 1e9) / 1e-3d,
- MassMomentOfInertiaUnit.PoundSquareFoot => baseUnitValue / 4.21401101e-2,
- MassMomentOfInertiaUnit.PoundSquareInch => baseUnitValue / 2.9263965e-4,
- MassMomentOfInertiaUnit.SlugSquareFoot => baseUnitValue / 1.3558179619,
- MassMomentOfInertiaUnit.SlugSquareInch => baseUnitValue / 9.41540242e-3,
+ MassMomentOfInertiaUnit.PoundSquareFoot => baseUnitValue / (0.45359237 * 9.290304e-2),
+ MassMomentOfInertiaUnit.PoundSquareInch => baseUnitValue / (0.45359237 * 0.00064516),
+ MassMomentOfInertiaUnit.SlugSquareFoot => baseUnitValue / (32.17405 * 0.45359237 * 9.290304e-2),
+ MassMomentOfInertiaUnit.SlugSquareInch => baseUnitValue / (32.17405 * 0.45359237 * 0.00064516),
MassMomentOfInertiaUnit.TonneSquareCentimeter => baseUnitValue * 1e1,
MassMomentOfInertiaUnit.TonneSquareDecimeter => baseUnitValue * 1e-1,
MassMomentOfInertiaUnit.TonneSquareMeter => baseUnitValue * 1e-3,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Molarity.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Molarity.g.cs
index 3cde6200a7..2fa4400968 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Molarity.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Molarity.g.cs
@@ -257,7 +257,7 @@ private double GetValueInBaseUnit()
MolarityUnit.MolePerLiter => _value / 1e-3,
MolarityUnit.NanomolePerLiter => (_value / 1e-3) * 1e-9d,
MolarityUnit.PicomolePerLiter => (_value / 1e-3) * 1e-12d,
- MolarityUnit.PoundMolePerCubicFoot => _value / 6.2427960576144611956325455827221e-5,
+ MolarityUnit.PoundMolePerCubicFoot => _value * 1000 * 0.45359237 / 0.028316846592,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
}
@@ -281,7 +281,7 @@ private double GetValueAs(MolarityUnit unit)
MolarityUnit.MolePerLiter => baseUnitValue * 1e-3,
MolarityUnit.NanomolePerLiter => (baseUnitValue * 1e-3) / 1e-9d,
MolarityUnit.PicomolePerLiter => (baseUnitValue * 1e-3) / 1e-12d,
- MolarityUnit.PoundMolePerCubicFoot => baseUnitValue * 6.2427960576144611956325455827221e-5,
+ MolarityUnit.PoundMolePerCubicFoot => baseUnitValue / (1000 * 0.45359237 / 0.028316846592),
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
}
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Power.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Power.g.cs
index 63dd16b930..147a9c1c67 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Power.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Power.g.cs
@@ -410,7 +410,7 @@ private double GetValueInBaseUnit()
return Unit switch
{
PowerUnit.BoilerHorsepower => _value * 9812.5d,
- PowerUnit.BritishThermalUnitPerHour => _value * 0.29307107017d,
+ PowerUnit.BritishThermalUnitPerHour => _value * 1055.05585262d / 3600d,
PowerUnit.Decawatt => (_value) * 1e1d,
PowerUnit.Deciwatt => (_value) * 1e-1d,
PowerUnit.ElectricalHorsepower => _value * 746d,
@@ -419,11 +419,11 @@ private double GetValueInBaseUnit()
PowerUnit.Gigawatt => (_value) * 1e9d,
PowerUnit.HydraulicHorsepower => _value * 745.69988145d,
PowerUnit.JoulePerHour => _value / 3600d,
- PowerUnit.KilobritishThermalUnitPerHour => (_value * 0.29307107017d) * 1e3d,
+ PowerUnit.KilobritishThermalUnitPerHour => (_value * 1055.05585262d / 3600d) * 1e3d,
PowerUnit.KilojoulePerHour => (_value / 3600d) * 1e3d,
PowerUnit.Kilowatt => (_value) * 1e3d,
- PowerUnit.MechanicalHorsepower => _value * 745.69d,
- PowerUnit.MegabritishThermalUnitPerHour => (_value * 0.29307107017d) * 1e6d,
+ PowerUnit.MechanicalHorsepower => _value * 76.0402249d * 9.80665d,
+ PowerUnit.MegabritishThermalUnitPerHour => (_value * 1055.05585262d / 3600d) * 1e6d,
PowerUnit.MegajoulePerHour => (_value / 3600d) * 1e6d,
PowerUnit.Megawatt => (_value) * 1e6d,
PowerUnit.MetricHorsepower => _value * 735.49875d,
@@ -449,7 +449,7 @@ private double GetValueAs(PowerUnit unit)
return unit switch
{
PowerUnit.BoilerHorsepower => baseUnitValue / 9812.5d,
- PowerUnit.BritishThermalUnitPerHour => baseUnitValue / 0.29307107017d,
+ PowerUnit.BritishThermalUnitPerHour => baseUnitValue * 3600d / 1055.05585262d,
PowerUnit.Decawatt => (baseUnitValue) / 1e1d,
PowerUnit.Deciwatt => (baseUnitValue) / 1e-1d,
PowerUnit.ElectricalHorsepower => baseUnitValue / 746d,
@@ -458,11 +458,11 @@ private double GetValueAs(PowerUnit unit)
PowerUnit.Gigawatt => (baseUnitValue) / 1e9d,
PowerUnit.HydraulicHorsepower => baseUnitValue / 745.69988145d,
PowerUnit.JoulePerHour => baseUnitValue * 3600d,
- PowerUnit.KilobritishThermalUnitPerHour => (baseUnitValue / 0.29307107017d) / 1e3d,
+ PowerUnit.KilobritishThermalUnitPerHour => (baseUnitValue * 3600d / 1055.05585262d) / 1e3d,
PowerUnit.KilojoulePerHour => (baseUnitValue * 3600d) / 1e3d,
PowerUnit.Kilowatt => (baseUnitValue) / 1e3d,
- PowerUnit.MechanicalHorsepower => baseUnitValue / 745.69d,
- PowerUnit.MegabritishThermalUnitPerHour => (baseUnitValue / 0.29307107017d) / 1e6d,
+ PowerUnit.MechanicalHorsepower => baseUnitValue / (76.0402249d * 9.80665d),
+ PowerUnit.MegabritishThermalUnitPerHour => (baseUnitValue * 3600d / 1055.05585262d) / 1e6d,
PowerUnit.MegajoulePerHour => (baseUnitValue * 3600d) / 1e6d,
PowerUnit.Megawatt => (baseUnitValue) / 1e6d,
PowerUnit.MetricHorsepower => baseUnitValue / 735.49875d,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/PowerDensity.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/PowerDensity.g.cs
index ad762ed535..c25066855f 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/PowerDensity.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/PowerDensity.g.cs
@@ -607,48 +607,48 @@ private double GetValueInBaseUnit()
{
return Unit switch
{
- PowerDensityUnit.DecawattPerCubicFoot => (_value * 3.531466672148859e1) * 1e1d,
- PowerDensityUnit.DecawattPerCubicInch => (_value * 6.102374409473228e4) * 1e1d,
+ PowerDensityUnit.DecawattPerCubicFoot => (_value / 0.028316846592) * 1e1d,
+ PowerDensityUnit.DecawattPerCubicInch => (_value / 1.6387064e-5) * 1e1d,
PowerDensityUnit.DecawattPerCubicMeter => (_value) * 1e1d,
PowerDensityUnit.DecawattPerLiter => (_value * 1.0e3) * 1e1d,
- PowerDensityUnit.DeciwattPerCubicFoot => (_value * 3.531466672148859e1) * 1e-1d,
- PowerDensityUnit.DeciwattPerCubicInch => (_value * 6.102374409473228e4) * 1e-1d,
+ PowerDensityUnit.DeciwattPerCubicFoot => (_value / 0.028316846592) * 1e-1d,
+ PowerDensityUnit.DeciwattPerCubicInch => (_value / 1.6387064e-5) * 1e-1d,
PowerDensityUnit.DeciwattPerCubicMeter => (_value) * 1e-1d,
PowerDensityUnit.DeciwattPerLiter => (_value * 1.0e3) * 1e-1d,
- PowerDensityUnit.GigawattPerCubicFoot => (_value * 3.531466672148859e1) * 1e9d,
- PowerDensityUnit.GigawattPerCubicInch => (_value * 6.102374409473228e4) * 1e9d,
+ PowerDensityUnit.GigawattPerCubicFoot => (_value / 0.028316846592) * 1e9d,
+ PowerDensityUnit.GigawattPerCubicInch => (_value / 1.6387064e-5) * 1e9d,
PowerDensityUnit.GigawattPerCubicMeter => (_value) * 1e9d,
PowerDensityUnit.GigawattPerLiter => (_value * 1.0e3) * 1e9d,
- PowerDensityUnit.KilowattPerCubicFoot => (_value * 3.531466672148859e1) * 1e3d,
- PowerDensityUnit.KilowattPerCubicInch => (_value * 6.102374409473228e4) * 1e3d,
+ PowerDensityUnit.KilowattPerCubicFoot => (_value / 0.028316846592) * 1e3d,
+ PowerDensityUnit.KilowattPerCubicInch => (_value / 1.6387064e-5) * 1e3d,
PowerDensityUnit.KilowattPerCubicMeter => (_value) * 1e3d,
PowerDensityUnit.KilowattPerLiter => (_value * 1.0e3) * 1e3d,
- PowerDensityUnit.MegawattPerCubicFoot => (_value * 3.531466672148859e1) * 1e6d,
- PowerDensityUnit.MegawattPerCubicInch => (_value * 6.102374409473228e4) * 1e6d,
+ PowerDensityUnit.MegawattPerCubicFoot => (_value / 0.028316846592) * 1e6d,
+ PowerDensityUnit.MegawattPerCubicInch => (_value / 1.6387064e-5) * 1e6d,
PowerDensityUnit.MegawattPerCubicMeter => (_value) * 1e6d,
PowerDensityUnit.MegawattPerLiter => (_value * 1.0e3) * 1e6d,
- PowerDensityUnit.MicrowattPerCubicFoot => (_value * 3.531466672148859e1) * 1e-6d,
- PowerDensityUnit.MicrowattPerCubicInch => (_value * 6.102374409473228e4) * 1e-6d,
+ PowerDensityUnit.MicrowattPerCubicFoot => (_value / 0.028316846592) * 1e-6d,
+ PowerDensityUnit.MicrowattPerCubicInch => (_value / 1.6387064e-5) * 1e-6d,
PowerDensityUnit.MicrowattPerCubicMeter => (_value) * 1e-6d,
PowerDensityUnit.MicrowattPerLiter => (_value * 1.0e3) * 1e-6d,
- PowerDensityUnit.MilliwattPerCubicFoot => (_value * 3.531466672148859e1) * 1e-3d,
- PowerDensityUnit.MilliwattPerCubicInch => (_value * 6.102374409473228e4) * 1e-3d,
+ PowerDensityUnit.MilliwattPerCubicFoot => (_value / 0.028316846592) * 1e-3d,
+ PowerDensityUnit.MilliwattPerCubicInch => (_value / 1.6387064e-5) * 1e-3d,
PowerDensityUnit.MilliwattPerCubicMeter => (_value) * 1e-3d,
PowerDensityUnit.MilliwattPerLiter => (_value * 1.0e3) * 1e-3d,
- PowerDensityUnit.NanowattPerCubicFoot => (_value * 3.531466672148859e1) * 1e-9d,
- PowerDensityUnit.NanowattPerCubicInch => (_value * 6.102374409473228e4) * 1e-9d,
+ PowerDensityUnit.NanowattPerCubicFoot => (_value / 0.028316846592) * 1e-9d,
+ PowerDensityUnit.NanowattPerCubicInch => (_value / 1.6387064e-5) * 1e-9d,
PowerDensityUnit.NanowattPerCubicMeter => (_value) * 1e-9d,
PowerDensityUnit.NanowattPerLiter => (_value * 1.0e3) * 1e-9d,
- PowerDensityUnit.PicowattPerCubicFoot => (_value * 3.531466672148859e1) * 1e-12d,
- PowerDensityUnit.PicowattPerCubicInch => (_value * 6.102374409473228e4) * 1e-12d,
+ PowerDensityUnit.PicowattPerCubicFoot => (_value / 0.028316846592) * 1e-12d,
+ PowerDensityUnit.PicowattPerCubicInch => (_value / 1.6387064e-5) * 1e-12d,
PowerDensityUnit.PicowattPerCubicMeter => (_value) * 1e-12d,
PowerDensityUnit.PicowattPerLiter => (_value * 1.0e3) * 1e-12d,
- PowerDensityUnit.TerawattPerCubicFoot => (_value * 3.531466672148859e1) * 1e12d,
- PowerDensityUnit.TerawattPerCubicInch => (_value * 6.102374409473228e4) * 1e12d,
+ PowerDensityUnit.TerawattPerCubicFoot => (_value / 0.028316846592) * 1e12d,
+ PowerDensityUnit.TerawattPerCubicInch => (_value / 1.6387064e-5) * 1e12d,
PowerDensityUnit.TerawattPerCubicMeter => (_value) * 1e12d,
PowerDensityUnit.TerawattPerLiter => (_value * 1.0e3) * 1e12d,
- PowerDensityUnit.WattPerCubicFoot => _value * 3.531466672148859e1,
- PowerDensityUnit.WattPerCubicInch => _value * 6.102374409473228e4,
+ PowerDensityUnit.WattPerCubicFoot => _value / 0.028316846592,
+ PowerDensityUnit.WattPerCubicInch => _value / 1.6387064e-5,
PowerDensityUnit.WattPerCubicMeter => _value,
PowerDensityUnit.WattPerLiter => _value * 1.0e3,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
@@ -664,48 +664,48 @@ private double GetValueAs(PowerDensityUnit unit)
return unit switch
{
- PowerDensityUnit.DecawattPerCubicFoot => (baseUnitValue / 3.531466672148859e1) / 1e1d,
- PowerDensityUnit.DecawattPerCubicInch => (baseUnitValue / 6.102374409473228e4) / 1e1d,
+ PowerDensityUnit.DecawattPerCubicFoot => (baseUnitValue * 0.028316846592) / 1e1d,
+ PowerDensityUnit.DecawattPerCubicInch => (baseUnitValue * 1.6387064e-5) / 1e1d,
PowerDensityUnit.DecawattPerCubicMeter => (baseUnitValue) / 1e1d,
PowerDensityUnit.DecawattPerLiter => (baseUnitValue / 1.0e3) / 1e1d,
- PowerDensityUnit.DeciwattPerCubicFoot => (baseUnitValue / 3.531466672148859e1) / 1e-1d,
- PowerDensityUnit.DeciwattPerCubicInch => (baseUnitValue / 6.102374409473228e4) / 1e-1d,
+ PowerDensityUnit.DeciwattPerCubicFoot => (baseUnitValue * 0.028316846592) / 1e-1d,
+ PowerDensityUnit.DeciwattPerCubicInch => (baseUnitValue * 1.6387064e-5) / 1e-1d,
PowerDensityUnit.DeciwattPerCubicMeter => (baseUnitValue) / 1e-1d,
PowerDensityUnit.DeciwattPerLiter => (baseUnitValue / 1.0e3) / 1e-1d,
- PowerDensityUnit.GigawattPerCubicFoot => (baseUnitValue / 3.531466672148859e1) / 1e9d,
- PowerDensityUnit.GigawattPerCubicInch => (baseUnitValue / 6.102374409473228e4) / 1e9d,
+ PowerDensityUnit.GigawattPerCubicFoot => (baseUnitValue * 0.028316846592) / 1e9d,
+ PowerDensityUnit.GigawattPerCubicInch => (baseUnitValue * 1.6387064e-5) / 1e9d,
PowerDensityUnit.GigawattPerCubicMeter => (baseUnitValue) / 1e9d,
PowerDensityUnit.GigawattPerLiter => (baseUnitValue / 1.0e3) / 1e9d,
- PowerDensityUnit.KilowattPerCubicFoot => (baseUnitValue / 3.531466672148859e1) / 1e3d,
- PowerDensityUnit.KilowattPerCubicInch => (baseUnitValue / 6.102374409473228e4) / 1e3d,
+ PowerDensityUnit.KilowattPerCubicFoot => (baseUnitValue * 0.028316846592) / 1e3d,
+ PowerDensityUnit.KilowattPerCubicInch => (baseUnitValue * 1.6387064e-5) / 1e3d,
PowerDensityUnit.KilowattPerCubicMeter => (baseUnitValue) / 1e3d,
PowerDensityUnit.KilowattPerLiter => (baseUnitValue / 1.0e3) / 1e3d,
- PowerDensityUnit.MegawattPerCubicFoot => (baseUnitValue / 3.531466672148859e1) / 1e6d,
- PowerDensityUnit.MegawattPerCubicInch => (baseUnitValue / 6.102374409473228e4) / 1e6d,
+ PowerDensityUnit.MegawattPerCubicFoot => (baseUnitValue * 0.028316846592) / 1e6d,
+ PowerDensityUnit.MegawattPerCubicInch => (baseUnitValue * 1.6387064e-5) / 1e6d,
PowerDensityUnit.MegawattPerCubicMeter => (baseUnitValue) / 1e6d,
PowerDensityUnit.MegawattPerLiter => (baseUnitValue / 1.0e3) / 1e6d,
- PowerDensityUnit.MicrowattPerCubicFoot => (baseUnitValue / 3.531466672148859e1) / 1e-6d,
- PowerDensityUnit.MicrowattPerCubicInch => (baseUnitValue / 6.102374409473228e4) / 1e-6d,
+ PowerDensityUnit.MicrowattPerCubicFoot => (baseUnitValue * 0.028316846592) / 1e-6d,
+ PowerDensityUnit.MicrowattPerCubicInch => (baseUnitValue * 1.6387064e-5) / 1e-6d,
PowerDensityUnit.MicrowattPerCubicMeter => (baseUnitValue) / 1e-6d,
PowerDensityUnit.MicrowattPerLiter => (baseUnitValue / 1.0e3) / 1e-6d,
- PowerDensityUnit.MilliwattPerCubicFoot => (baseUnitValue / 3.531466672148859e1) / 1e-3d,
- PowerDensityUnit.MilliwattPerCubicInch => (baseUnitValue / 6.102374409473228e4) / 1e-3d,
+ PowerDensityUnit.MilliwattPerCubicFoot => (baseUnitValue * 0.028316846592) / 1e-3d,
+ PowerDensityUnit.MilliwattPerCubicInch => (baseUnitValue * 1.6387064e-5) / 1e-3d,
PowerDensityUnit.MilliwattPerCubicMeter => (baseUnitValue) / 1e-3d,
PowerDensityUnit.MilliwattPerLiter => (baseUnitValue / 1.0e3) / 1e-3d,
- PowerDensityUnit.NanowattPerCubicFoot => (baseUnitValue / 3.531466672148859e1) / 1e-9d,
- PowerDensityUnit.NanowattPerCubicInch => (baseUnitValue / 6.102374409473228e4) / 1e-9d,
+ PowerDensityUnit.NanowattPerCubicFoot => (baseUnitValue * 0.028316846592) / 1e-9d,
+ PowerDensityUnit.NanowattPerCubicInch => (baseUnitValue * 1.6387064e-5) / 1e-9d,
PowerDensityUnit.NanowattPerCubicMeter => (baseUnitValue) / 1e-9d,
PowerDensityUnit.NanowattPerLiter => (baseUnitValue / 1.0e3) / 1e-9d,
- PowerDensityUnit.PicowattPerCubicFoot => (baseUnitValue / 3.531466672148859e1) / 1e-12d,
- PowerDensityUnit.PicowattPerCubicInch => (baseUnitValue / 6.102374409473228e4) / 1e-12d,
+ PowerDensityUnit.PicowattPerCubicFoot => (baseUnitValue * 0.028316846592) / 1e-12d,
+ PowerDensityUnit.PicowattPerCubicInch => (baseUnitValue * 1.6387064e-5) / 1e-12d,
PowerDensityUnit.PicowattPerCubicMeter => (baseUnitValue) / 1e-12d,
PowerDensityUnit.PicowattPerLiter => (baseUnitValue / 1.0e3) / 1e-12d,
- PowerDensityUnit.TerawattPerCubicFoot => (baseUnitValue / 3.531466672148859e1) / 1e12d,
- PowerDensityUnit.TerawattPerCubicInch => (baseUnitValue / 6.102374409473228e4) / 1e12d,
+ PowerDensityUnit.TerawattPerCubicFoot => (baseUnitValue * 0.028316846592) / 1e12d,
+ PowerDensityUnit.TerawattPerCubicInch => (baseUnitValue * 1.6387064e-5) / 1e12d,
PowerDensityUnit.TerawattPerCubicMeter => (baseUnitValue) / 1e12d,
PowerDensityUnit.TerawattPerLiter => (baseUnitValue / 1.0e3) / 1e12d,
- PowerDensityUnit.WattPerCubicFoot => baseUnitValue / 3.531466672148859e1,
- PowerDensityUnit.WattPerCubicInch => baseUnitValue / 6.102374409473228e4,
+ PowerDensityUnit.WattPerCubicFoot => baseUnitValue * 0.028316846592,
+ PowerDensityUnit.WattPerCubicInch => baseUnitValue * 1.6387064e-5,
PowerDensityUnit.WattPerCubicMeter => baseUnitValue,
PowerDensityUnit.WattPerLiter => baseUnitValue / 1.0e3,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Pressure.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Pressure.g.cs
index 6b2d8b9d18..ab23d45db3 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Pressure.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Pressure.g.cs
@@ -665,7 +665,7 @@ private double GetValueInBaseUnit()
PressureUnit.Atmosphere => _value * 1.01325 * 1e5,
PressureUnit.Bar => _value * 1e5,
PressureUnit.Centibar => (_value * 1e5) * 1e-2d,
- PressureUnit.CentimeterOfWaterColumn => (_value * 9.806650000000272e3) * 1e-2d,
+ PressureUnit.CentimeterOfWaterColumn => (_value * 9.80665e3) * 1e-2d,
PressureUnit.Decapascal => (_value) * 1e1d,
PressureUnit.Decibar => (_value * 1e5) * 1e-1d,
PressureUnit.DynePerSquareCentimeter => _value * 1.0e-1,
@@ -673,44 +673,44 @@ private double GetValueInBaseUnit()
PressureUnit.FootOfHead => _value * 2989.0669,
PressureUnit.Gigapascal => (_value) * 1e9d,
PressureUnit.Hectopascal => (_value) * 1e2d,
- PressureUnit.InchOfMercury => _value / 2.95299830714159e-4,
- PressureUnit.InchOfWaterColumn => _value * 249.08890833333,
+ PressureUnit.InchOfMercury => _value * 2.54e1 * 133.322387415,
+ PressureUnit.InchOfWaterColumn => _value * 2.54e-2 * 9.80665e3,
PressureUnit.Kilobar => (_value * 1e5) * 1e3d,
PressureUnit.KilogramForcePerSquareCentimeter => _value * 9.80665e4,
- PressureUnit.KilogramForcePerSquareMeter => _value * 9.80665019960652,
+ PressureUnit.KilogramForcePerSquareMeter => _value * 9.80665,
PressureUnit.KilogramForcePerSquareMillimeter => _value * 9.80665e6,
PressureUnit.KilonewtonPerSquareCentimeter => (_value * 1e4) * 1e3d,
PressureUnit.KilonewtonPerSquareMeter => (_value) * 1e3d,
PressureUnit.KilonewtonPerSquareMillimeter => (_value * 1e6) * 1e3d,
PressureUnit.Kilopascal => (_value) * 1e3d,
- PressureUnit.KilopoundForcePerSquareFoot => (_value * 4.788025898033584e1) * 1e3d,
- PressureUnit.KilopoundForcePerSquareInch => (_value * 6.894757293168361e3) * 1e3d,
- PressureUnit.KilopoundForcePerSquareMil => (_value * 6.894757293168361e9) * 1e3d,
+ PressureUnit.KilopoundForcePerSquareFoot => (_value * 4.4482216152605 / 9.290304e-2) * 1e3d,
+ PressureUnit.KilopoundForcePerSquareInch => (_value * 4.4482216152605 / 0.00064516) * 1e3d,
+ PressureUnit.KilopoundForcePerSquareMil => (_value * 4.4482216152605 / (2.54e-5 * 2.54e-5)) * 1e3d,
PressureUnit.Megabar => (_value * 1e5) * 1e6d,
PressureUnit.MeganewtonPerSquareMeter => (_value) * 1e6d,
PressureUnit.Megapascal => (_value) * 1e6d,
PressureUnit.MeterOfElevation => Math.Pow(1.0 - (_value / 44307.69396), 5.2553026003237266401799415610351) * 101325.0,
PressureUnit.MeterOfHead => _value * 9804.139432,
- PressureUnit.MeterOfWaterColumn => _value * 9.806650000000272e3,
+ PressureUnit.MeterOfWaterColumn => _value * 9.80665e3,
PressureUnit.Microbar => (_value * 1e5) * 1e-6d,
PressureUnit.Micropascal => (_value) * 1e-6d,
PressureUnit.Millibar => (_value * 1e5) * 1e-3d,
- PressureUnit.MillimeterOfMercury => _value / 7.50061561302643e-3,
- PressureUnit.MillimeterOfWaterColumn => (_value * 9.806650000000272e3) * 1e-3d,
+ PressureUnit.MillimeterOfMercury => _value * 133.322387415,
+ PressureUnit.MillimeterOfWaterColumn => (_value * 9.80665e3) * 1e-3d,
PressureUnit.Millipascal => (_value) * 1e-3d,
PressureUnit.NewtonPerSquareCentimeter => _value * 1e4,
PressureUnit.NewtonPerSquareMeter => _value,
PressureUnit.NewtonPerSquareMillimeter => _value * 1e6,
PressureUnit.Pascal => _value,
- PressureUnit.PoundForcePerSquareFoot => _value * 4.788025898033584e1,
- PressureUnit.PoundForcePerSquareInch => _value * 6.894757293168361e3,
- PressureUnit.PoundForcePerSquareMil => _value * 6.894757293168361e9,
- PressureUnit.PoundPerInchSecondSquared => _value * 1.785796732283465e1,
- PressureUnit.TechnicalAtmosphere => _value * 9.80680592331 * 1e4,
+ PressureUnit.PoundForcePerSquareFoot => _value * 4.4482216152605 / 9.290304e-2,
+ PressureUnit.PoundForcePerSquareInch => _value * 4.4482216152605 / 0.00064516,
+ PressureUnit.PoundForcePerSquareMil => _value * 4.4482216152605 / (2.54e-5 * 2.54e-5),
+ PressureUnit.PoundPerInchSecondSquared => _value * (4.4482216152605 / 0.00064516) / 386.0886,
+ PressureUnit.TechnicalAtmosphere => _value * 9.80665e4,
PressureUnit.TonneForcePerSquareCentimeter => _value * 9.80665e7,
PressureUnit.TonneForcePerSquareMeter => _value * 9.80665e3,
PressureUnit.TonneForcePerSquareMillimeter => _value * 9.80665e9,
- PressureUnit.Torr => _value * 1.3332266752 * 1e2,
+ PressureUnit.Torr => _value * 101325 / 760,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
}
@@ -727,7 +727,7 @@ private double GetValueAs(PressureUnit unit)
PressureUnit.Atmosphere => baseUnitValue / (1.01325 * 1e5),
PressureUnit.Bar => baseUnitValue / 1e5,
PressureUnit.Centibar => (baseUnitValue / 1e5) / 1e-2d,
- PressureUnit.CentimeterOfWaterColumn => (baseUnitValue / 9.806650000000272e3) / 1e-2d,
+ PressureUnit.CentimeterOfWaterColumn => (baseUnitValue / 9.80665e3) / 1e-2d,
PressureUnit.Decapascal => (baseUnitValue) / 1e1d,
PressureUnit.Decibar => (baseUnitValue / 1e5) / 1e-1d,
PressureUnit.DynePerSquareCentimeter => baseUnitValue / 1.0e-1,
@@ -735,44 +735,44 @@ private double GetValueAs(PressureUnit unit)
PressureUnit.FootOfHead => baseUnitValue * 0.000334552565551,
PressureUnit.Gigapascal => (baseUnitValue) / 1e9d,
PressureUnit.Hectopascal => (baseUnitValue) / 1e2d,
- PressureUnit.InchOfMercury => baseUnitValue * 2.95299830714159e-4,
- PressureUnit.InchOfWaterColumn => baseUnitValue / 249.08890833333,
+ PressureUnit.InchOfMercury => baseUnitValue / (2.54e1 * 133.322387415),
+ PressureUnit.InchOfWaterColumn => baseUnitValue / (2.54e-2 * 9.80665e3),
PressureUnit.Kilobar => (baseUnitValue / 1e5) / 1e3d,
PressureUnit.KilogramForcePerSquareCentimeter => baseUnitValue / 9.80665e4,
- PressureUnit.KilogramForcePerSquareMeter => baseUnitValue * 0.101971619222242,
+ PressureUnit.KilogramForcePerSquareMeter => baseUnitValue / 9.80665,
PressureUnit.KilogramForcePerSquareMillimeter => baseUnitValue / 9.80665e6,
PressureUnit.KilonewtonPerSquareCentimeter => (baseUnitValue / 1e4) / 1e3d,
PressureUnit.KilonewtonPerSquareMeter => (baseUnitValue) / 1e3d,
PressureUnit.KilonewtonPerSquareMillimeter => (baseUnitValue / 1e6) / 1e3d,
PressureUnit.Kilopascal => (baseUnitValue) / 1e3d,
- PressureUnit.KilopoundForcePerSquareFoot => (baseUnitValue / 4.788025898033584e1) / 1e3d,
- PressureUnit.KilopoundForcePerSquareInch => (baseUnitValue / 6.894757293168361e3) / 1e3d,
- PressureUnit.KilopoundForcePerSquareMil => (baseUnitValue / 6.894757293168361e9) / 1e3d,
+ PressureUnit.KilopoundForcePerSquareFoot => (baseUnitValue * 9.290304e-2 / 4.4482216152605) / 1e3d,
+ PressureUnit.KilopoundForcePerSquareInch => (baseUnitValue * 0.00064516 / 4.4482216152605) / 1e3d,
+ PressureUnit.KilopoundForcePerSquareMil => (baseUnitValue * (2.54e-5 * 2.54e-5) / 4.4482216152605) / 1e3d,
PressureUnit.Megabar => (baseUnitValue / 1e5) / 1e6d,
PressureUnit.MeganewtonPerSquareMeter => (baseUnitValue) / 1e6d,
PressureUnit.Megapascal => (baseUnitValue) / 1e6d,
PressureUnit.MeterOfElevation => (1.0 - Math.Pow(baseUnitValue / 101325.0, 0.190284)) * 44307.69396,
PressureUnit.MeterOfHead => baseUnitValue * 0.0001019977334,
- PressureUnit.MeterOfWaterColumn => baseUnitValue / 9.806650000000272e3,
+ PressureUnit.MeterOfWaterColumn => baseUnitValue / 9.80665e3,
PressureUnit.Microbar => (baseUnitValue / 1e5) / 1e-6d,
PressureUnit.Micropascal => (baseUnitValue) / 1e-6d,
PressureUnit.Millibar => (baseUnitValue / 1e5) / 1e-3d,
- PressureUnit.MillimeterOfMercury => baseUnitValue * 7.50061561302643e-3,
- PressureUnit.MillimeterOfWaterColumn => (baseUnitValue / 9.806650000000272e3) / 1e-3d,
+ PressureUnit.MillimeterOfMercury => baseUnitValue / 133.322387415,
+ PressureUnit.MillimeterOfWaterColumn => (baseUnitValue / 9.80665e3) / 1e-3d,
PressureUnit.Millipascal => (baseUnitValue) / 1e-3d,
PressureUnit.NewtonPerSquareCentimeter => baseUnitValue / 1e4,
PressureUnit.NewtonPerSquareMeter => baseUnitValue,
PressureUnit.NewtonPerSquareMillimeter => baseUnitValue / 1e6,
PressureUnit.Pascal => baseUnitValue,
- PressureUnit.PoundForcePerSquareFoot => baseUnitValue / 4.788025898033584e1,
- PressureUnit.PoundForcePerSquareInch => baseUnitValue / 6.894757293168361e3,
- PressureUnit.PoundForcePerSquareMil => baseUnitValue / 6.894757293168361e9,
- PressureUnit.PoundPerInchSecondSquared => baseUnitValue / 1.785796732283465e1,
- PressureUnit.TechnicalAtmosphere => baseUnitValue / (9.80680592331 * 1e4),
+ PressureUnit.PoundForcePerSquareFoot => baseUnitValue * 9.290304e-2 / 4.4482216152605,
+ PressureUnit.PoundForcePerSquareInch => baseUnitValue * 0.00064516 / 4.4482216152605,
+ PressureUnit.PoundForcePerSquareMil => baseUnitValue * (2.54e-5 * 2.54e-5) / 4.4482216152605,
+ PressureUnit.PoundPerInchSecondSquared => baseUnitValue * 386.0886 / (4.4482216152605 / 0.00064516),
+ PressureUnit.TechnicalAtmosphere => baseUnitValue / 9.80665e4,
PressureUnit.TonneForcePerSquareCentimeter => baseUnitValue / 9.80665e7,
PressureUnit.TonneForcePerSquareMeter => baseUnitValue / 9.80665e3,
PressureUnit.TonneForcePerSquareMillimeter => baseUnitValue / 9.80665e9,
- PressureUnit.Torr => baseUnitValue / (1.3332266752 * 1e2),
+ PressureUnit.Torr => baseUnitValue * 760 / 101325,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
}
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/PressureChangeRate.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/PressureChangeRate.g.cs
index 7bfeba9904..a0e83c365d 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/PressureChangeRate.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/PressureChangeRate.g.cs
@@ -326,19 +326,19 @@ private double GetValueInBaseUnit()
PressureChangeRateUnit.BarPerSecond => _value * 1e5,
PressureChangeRateUnit.KilopascalPerMinute => (_value / 60) * 1e3d,
PressureChangeRateUnit.KilopascalPerSecond => (_value) * 1e3d,
- PressureChangeRateUnit.KilopoundForcePerSquareInchPerMinute => (_value * 6.894757293168361e3 / 60) * 1e3d,
- PressureChangeRateUnit.KilopoundForcePerSquareInchPerSecond => (_value * 6.894757293168361e3) * 1e3d,
+ PressureChangeRateUnit.KilopoundForcePerSquareInchPerMinute => (_value * (4.4482216152605 / 0.00064516) / 60) * 1e3d,
+ PressureChangeRateUnit.KilopoundForcePerSquareInchPerSecond => (_value * 4.4482216152605 / 0.00064516) * 1e3d,
PressureChangeRateUnit.MegapascalPerMinute => (_value / 60) * 1e6d,
PressureChangeRateUnit.MegapascalPerSecond => (_value) * 1e6d,
- PressureChangeRateUnit.MegapoundForcePerSquareInchPerMinute => (_value * 6.894757293168361e3 / 60) * 1e6d,
- PressureChangeRateUnit.MegapoundForcePerSquareInchPerSecond => (_value * 6.894757293168361e3) * 1e6d,
+ PressureChangeRateUnit.MegapoundForcePerSquareInchPerMinute => (_value * (4.4482216152605 / 0.00064516) / 60) * 1e6d,
+ PressureChangeRateUnit.MegapoundForcePerSquareInchPerSecond => (_value * 4.4482216152605 / 0.00064516) * 1e6d,
PressureChangeRateUnit.MillibarPerMinute => (_value * 1e5 / 60) * 1e-3d,
PressureChangeRateUnit.MillibarPerSecond => (_value * 1e5) * 1e-3d,
- PressureChangeRateUnit.MillimeterOfMercuryPerSecond => _value * 133.322,
+ PressureChangeRateUnit.MillimeterOfMercuryPerSecond => _value * 133.322387415,
PressureChangeRateUnit.PascalPerMinute => _value / 60,
PressureChangeRateUnit.PascalPerSecond => _value,
- PressureChangeRateUnit.PoundForcePerSquareInchPerMinute => _value * 6.894757293168361e3 / 60,
- PressureChangeRateUnit.PoundForcePerSquareInchPerSecond => _value * 6.894757293168361e3,
+ PressureChangeRateUnit.PoundForcePerSquareInchPerMinute => _value * (4.4482216152605 / 0.00064516) / 60,
+ PressureChangeRateUnit.PoundForcePerSquareInchPerSecond => _value * 4.4482216152605 / 0.00064516,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
}
@@ -357,19 +357,19 @@ private double GetValueAs(PressureChangeRateUnit unit)
PressureChangeRateUnit.BarPerSecond => baseUnitValue / 1e5,
PressureChangeRateUnit.KilopascalPerMinute => (baseUnitValue * 60) / 1e3d,
PressureChangeRateUnit.KilopascalPerSecond => (baseUnitValue) / 1e3d,
- PressureChangeRateUnit.KilopoundForcePerSquareInchPerMinute => (baseUnitValue / 6.894757293168361e3 * 60) / 1e3d,
- PressureChangeRateUnit.KilopoundForcePerSquareInchPerSecond => (baseUnitValue / 6.894757293168361e3) / 1e3d,
+ PressureChangeRateUnit.KilopoundForcePerSquareInchPerMinute => (baseUnitValue * 60 / (4.4482216152605 / 0.00064516)) / 1e3d,
+ PressureChangeRateUnit.KilopoundForcePerSquareInchPerSecond => (baseUnitValue * 0.00064516 / 4.4482216152605) / 1e3d,
PressureChangeRateUnit.MegapascalPerMinute => (baseUnitValue * 60) / 1e6d,
PressureChangeRateUnit.MegapascalPerSecond => (baseUnitValue) / 1e6d,
- PressureChangeRateUnit.MegapoundForcePerSquareInchPerMinute => (baseUnitValue / 6.894757293168361e3 * 60) / 1e6d,
- PressureChangeRateUnit.MegapoundForcePerSquareInchPerSecond => (baseUnitValue / 6.894757293168361e3) / 1e6d,
+ PressureChangeRateUnit.MegapoundForcePerSquareInchPerMinute => (baseUnitValue * 60 / (4.4482216152605 / 0.00064516)) / 1e6d,
+ PressureChangeRateUnit.MegapoundForcePerSquareInchPerSecond => (baseUnitValue * 0.00064516 / 4.4482216152605) / 1e6d,
PressureChangeRateUnit.MillibarPerMinute => (baseUnitValue / 1e5 * 60) / 1e-3d,
PressureChangeRateUnit.MillibarPerSecond => (baseUnitValue / 1e5) / 1e-3d,
- PressureChangeRateUnit.MillimeterOfMercuryPerSecond => baseUnitValue / 133.322,
+ PressureChangeRateUnit.MillimeterOfMercuryPerSecond => baseUnitValue / 133.322387415,
PressureChangeRateUnit.PascalPerMinute => baseUnitValue * 60,
PressureChangeRateUnit.PascalPerSecond => baseUnitValue,
- PressureChangeRateUnit.PoundForcePerSquareInchPerMinute => baseUnitValue / 6.894757293168361e3 * 60,
- PressureChangeRateUnit.PoundForcePerSquareInchPerSecond => baseUnitValue / 6.894757293168361e3,
+ PressureChangeRateUnit.PoundForcePerSquareInchPerMinute => baseUnitValue * 60 / (4.4482216152605 / 0.00064516),
+ PressureChangeRateUnit.PoundForcePerSquareInchPerSecond => baseUnitValue * 0.00064516 / 4.4482216152605,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
}
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ReciprocalArea.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ReciprocalArea.g.cs
index f12226a0d6..8bf37f0a74 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ReciprocalArea.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ReciprocalArea.g.cs
@@ -249,15 +249,15 @@ private double GetValueInBaseUnit()
{
ReciprocalAreaUnit.InverseSquareCentimeter => _value / 1e-4,
ReciprocalAreaUnit.InverseSquareDecimeter => _value / 1e-2,
- ReciprocalAreaUnit.InverseSquareFoot => _value / 0.092903,
+ ReciprocalAreaUnit.InverseSquareFoot => _value / 9.290304e-2,
ReciprocalAreaUnit.InverseSquareInch => _value / 0.00064516,
ReciprocalAreaUnit.InverseSquareKilometer => _value / 1e6,
ReciprocalAreaUnit.InverseSquareMeter => _value,
ReciprocalAreaUnit.InverseSquareMicrometer => _value / 1e-12,
- ReciprocalAreaUnit.InverseSquareMile => _value / 2.59e6,
+ ReciprocalAreaUnit.InverseSquareMile => _value / (1609.344 * 1609.344),
ReciprocalAreaUnit.InverseSquareMillimeter => _value / 1e-6,
- ReciprocalAreaUnit.InverseSquareYard => _value / 0.836127,
- ReciprocalAreaUnit.InverseUsSurveySquareFoot => _value / 0.09290341161,
+ ReciprocalAreaUnit.InverseSquareYard => _value / (0.9144 * 0.9144),
+ ReciprocalAreaUnit.InverseUsSurveySquareFoot => _value / (1200.0 / 3937.0) / (1200.0 / 3937.0),
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
}
@@ -273,15 +273,15 @@ private double GetValueAs(ReciprocalAreaUnit unit)
{
ReciprocalAreaUnit.InverseSquareCentimeter => baseUnitValue * 1e-4,
ReciprocalAreaUnit.InverseSquareDecimeter => baseUnitValue * 1e-2,
- ReciprocalAreaUnit.InverseSquareFoot => baseUnitValue * 0.092903,
+ ReciprocalAreaUnit.InverseSquareFoot => baseUnitValue * 9.290304e-2,
ReciprocalAreaUnit.InverseSquareInch => baseUnitValue * 0.00064516,
ReciprocalAreaUnit.InverseSquareKilometer => baseUnitValue * 1e6,
ReciprocalAreaUnit.InverseSquareMeter => baseUnitValue,
ReciprocalAreaUnit.InverseSquareMicrometer => baseUnitValue * 1e-12,
- ReciprocalAreaUnit.InverseSquareMile => baseUnitValue * 2.59e6,
+ ReciprocalAreaUnit.InverseSquareMile => baseUnitValue * (1609.344 * 1609.344),
ReciprocalAreaUnit.InverseSquareMillimeter => baseUnitValue * 1e-6,
- ReciprocalAreaUnit.InverseSquareYard => baseUnitValue * 0.836127,
- ReciprocalAreaUnit.InverseUsSurveySquareFoot => baseUnitValue * 0.09290341161,
+ ReciprocalAreaUnit.InverseSquareYard => baseUnitValue * (0.9144 * 0.9144),
+ ReciprocalAreaUnit.InverseUsSurveySquareFoot => baseUnitValue * (1200.0 / 3937.0) * (1200.0 / 3937.0),
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
}
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/RotationalSpeed.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/RotationalSpeed.g.cs
index a56e963352..faad9dab35 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/RotationalSpeed.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/RotationalSpeed.g.cs
@@ -277,8 +277,8 @@ private double GetValueInBaseUnit()
RotationalSpeedUnit.NanodegreePerSecond => ((3.1415926535897931 / 180) * _value) * 1e-9d,
RotationalSpeedUnit.NanoradianPerSecond => (_value) * 1e-9d,
RotationalSpeedUnit.RadianPerSecond => _value,
- RotationalSpeedUnit.RevolutionPerMinute => (_value * 6.2831853072) / 60,
- RotationalSpeedUnit.RevolutionPerSecond => _value * 6.2831853072,
+ RotationalSpeedUnit.RevolutionPerMinute => (_value * 2 * 3.1415926535897931) / 60,
+ RotationalSpeedUnit.RevolutionPerSecond => _value * 2 * 3.1415926535897931,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
}
@@ -303,8 +303,8 @@ private double GetValueAs(RotationalSpeedUnit unit)
RotationalSpeedUnit.NanodegreePerSecond => ((180 / 3.1415926535897931) * baseUnitValue) / 1e-9d,
RotationalSpeedUnit.NanoradianPerSecond => (baseUnitValue) / 1e-9d,
RotationalSpeedUnit.RadianPerSecond => baseUnitValue,
- RotationalSpeedUnit.RevolutionPerMinute => (baseUnitValue / 6.2831853072) * 60,
- RotationalSpeedUnit.RevolutionPerSecond => baseUnitValue / 6.2831853072,
+ RotationalSpeedUnit.RevolutionPerMinute => (baseUnitValue / (2 * 3.1415926535897931)) * 60,
+ RotationalSpeedUnit.RevolutionPerSecond => baseUnitValue / (2 * 3.1415926535897931),
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
}
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/RotationalStiffness.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/RotationalStiffness.g.cs
index bd08d80f13..3f0854d4ea 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/RotationalStiffness.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/RotationalStiffness.g.cs
@@ -499,7 +499,7 @@ private double GetValueInBaseUnit()
RotationalStiffnessUnit.KilonewtonMeterPerRadian => (_value) * 1e3d,
RotationalStiffnessUnit.KilonewtonMillimeterPerDegree => (_value * 180 / 3.1415926535897931 * 0.001) * 1e3d,
RotationalStiffnessUnit.KilonewtonMillimeterPerRadian => (_value * 0.001) * 1e3d,
- RotationalStiffnessUnit.KilopoundForceFootPerDegrees => _value * 77682.6,
+ RotationalStiffnessUnit.KilopoundForceFootPerDegrees => _value * (4.4482216152605e3 * 0.3048 * 180 / 3.1415926535897931),
RotationalStiffnessUnit.MeganewtonMeterPerDegree => (_value * (180 / 3.1415926535897931)) * 1e6d,
RotationalStiffnessUnit.MeganewtonMeterPerRadian => (_value) * 1e6d,
RotationalStiffnessUnit.MeganewtonMillimeterPerDegree => (_value * 180 / 3.1415926535897931 * 0.001) * 1e6d,
@@ -517,8 +517,8 @@ private double GetValueInBaseUnit()
RotationalStiffnessUnit.NewtonMeterPerRadian => _value,
RotationalStiffnessUnit.NewtonMillimeterPerDegree => _value * 180 / 3.1415926535897931 * 0.001,
RotationalStiffnessUnit.NewtonMillimeterPerRadian => _value * 0.001,
- RotationalStiffnessUnit.PoundForceFeetPerRadian => _value * 1.3558179483314,
- RotationalStiffnessUnit.PoundForceFootPerDegrees => _value * 77.6826,
+ RotationalStiffnessUnit.PoundForceFeetPerRadian => _value * 4.4482216152605 * 0.3048,
+ RotationalStiffnessUnit.PoundForceFootPerDegrees => _value * (4.4482216152605 * 0.3048 * 180 / 3.1415926535897931),
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
}
@@ -545,7 +545,7 @@ private double GetValueAs(RotationalStiffnessUnit unit)
RotationalStiffnessUnit.KilonewtonMeterPerRadian => (baseUnitValue) / 1e3d,
RotationalStiffnessUnit.KilonewtonMillimeterPerDegree => (baseUnitValue / 180 * 3.1415926535897931 * 1000) / 1e3d,
RotationalStiffnessUnit.KilonewtonMillimeterPerRadian => (baseUnitValue * 1000) / 1e3d,
- RotationalStiffnessUnit.KilopoundForceFootPerDegrees => baseUnitValue / 77682.6,
+ RotationalStiffnessUnit.KilopoundForceFootPerDegrees => baseUnitValue / (4.4482216152605e3 * 0.3048 * 180 / 3.1415926535897931),
RotationalStiffnessUnit.MeganewtonMeterPerDegree => (baseUnitValue / (180 / 3.1415926535897931)) / 1e6d,
RotationalStiffnessUnit.MeganewtonMeterPerRadian => (baseUnitValue) / 1e6d,
RotationalStiffnessUnit.MeganewtonMillimeterPerDegree => (baseUnitValue / 180 * 3.1415926535897931 * 1000) / 1e6d,
@@ -563,8 +563,8 @@ private double GetValueAs(RotationalStiffnessUnit unit)
RotationalStiffnessUnit.NewtonMeterPerRadian => baseUnitValue,
RotationalStiffnessUnit.NewtonMillimeterPerDegree => baseUnitValue / 180 * 3.1415926535897931 * 1000,
RotationalStiffnessUnit.NewtonMillimeterPerRadian => baseUnitValue * 1000,
- RotationalStiffnessUnit.PoundForceFeetPerRadian => baseUnitValue / 1.3558179483314,
- RotationalStiffnessUnit.PoundForceFootPerDegrees => baseUnitValue / 77.6826,
+ RotationalStiffnessUnit.PoundForceFeetPerRadian => baseUnitValue / (4.4482216152605 * 0.3048),
+ RotationalStiffnessUnit.PoundForceFootPerDegrees => baseUnitValue / (4.4482216152605 * 0.3048 * 180 / 3.1415926535897931),
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
}
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs
index ce92814c71..bfc4baa829 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs
@@ -179,10 +179,10 @@ private double GetValueInBaseUnit()
return Unit switch
{
RotationalStiffnessPerLengthUnit.KilonewtonMeterPerRadianPerMeter => (_value) * 1e3d,
- RotationalStiffnessPerLengthUnit.KilopoundForceFootPerDegreesPerFoot => _value * 254864.324570,
+ RotationalStiffnessPerLengthUnit.KilopoundForceFootPerDegreesPerFoot => _value * (4.4482216152605e3 * 180 / 3.1415926535897931),
RotationalStiffnessPerLengthUnit.MeganewtonMeterPerRadianPerMeter => (_value) * 1e6d,
RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter => _value,
- RotationalStiffnessPerLengthUnit.PoundForceFootPerDegreesPerFoot => _value * 254.864324570,
+ RotationalStiffnessPerLengthUnit.PoundForceFootPerDegreesPerFoot => _value * (4.4482216152605 * 180 / 3.1415926535897931),
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
}
@@ -197,10 +197,10 @@ private double GetValueAs(RotationalStiffnessPerLengthUnit unit)
return unit switch
{
RotationalStiffnessPerLengthUnit.KilonewtonMeterPerRadianPerMeter => (baseUnitValue) / 1e3d,
- RotationalStiffnessPerLengthUnit.KilopoundForceFootPerDegreesPerFoot => baseUnitValue / 254864.324570,
+ RotationalStiffnessPerLengthUnit.KilopoundForceFootPerDegreesPerFoot => baseUnitValue / (4.4482216152605e3 * 180 / 3.1415926535897931),
RotationalStiffnessPerLengthUnit.MeganewtonMeterPerRadianPerMeter => (baseUnitValue) / 1e6d,
RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter => baseUnitValue,
- RotationalStiffnessPerLengthUnit.PoundForceFootPerDegreesPerFoot => baseUnitValue / 254.864324570,
+ RotationalStiffnessPerLengthUnit.PoundForceFootPerDegreesPerFoot => baseUnitValue / (4.4482216152605 * 180 / 3.1415926535897931),
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
}
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/SpecificEnergy.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/SpecificEnergy.g.cs
index ad1a2d05ea..5d7e26dcae 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/SpecificEnergy.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/SpecificEnergy.g.cs
@@ -456,7 +456,7 @@ private double GetValueInBaseUnit()
{
return Unit switch
{
- SpecificEnergyUnit.BtuPerPound => _value * 2326.000075362,
+ SpecificEnergyUnit.BtuPerPound => _value * 1055.05585262 / 0.45359237,
SpecificEnergyUnit.CaloriePerGram => _value * 4.184e3,
SpecificEnergyUnit.GigawattDayPerKilogram => (_value * (24 * 3.6e3)) * 1e9d,
SpecificEnergyUnit.GigawattDayPerShortTon => (_value * ((24 * 3.6e3) / 9.0718474e2)) * 1e9d,
@@ -499,7 +499,7 @@ private double GetValueAs(SpecificEnergyUnit unit)
return unit switch
{
- SpecificEnergyUnit.BtuPerPound => baseUnitValue / 2326.000075362,
+ SpecificEnergyUnit.BtuPerPound => baseUnitValue * 0.45359237 / 1055.05585262,
SpecificEnergyUnit.CaloriePerGram => baseUnitValue / 4.184e3,
SpecificEnergyUnit.GigawattDayPerKilogram => (baseUnitValue / (24 * 3.6e3)) / 1e9d,
SpecificEnergyUnit.GigawattDayPerShortTon => (baseUnitValue / ((24 * 3.6e3) / 9.0718474e2)) / 1e9d,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/SpecificFuelConsumption.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/SpecificFuelConsumption.g.cs
index dd602d6fa2..19d11d891b 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/SpecificFuelConsumption.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/SpecificFuelConsumption.g.cs
@@ -171,9 +171,9 @@ private double GetValueInBaseUnit()
return Unit switch
{
SpecificFuelConsumptionUnit.GramPerKiloNewtonSecond => _value,
- SpecificFuelConsumptionUnit.KilogramPerKilogramForceHour => _value * 28.33,
+ SpecificFuelConsumptionUnit.KilogramPerKilogramForceHour => _value * 453.59237 / (0.0044482216152605 * 3600),
SpecificFuelConsumptionUnit.KilogramPerKiloNewtonSecond => (_value) * 1e3d,
- SpecificFuelConsumptionUnit.PoundMassPerPoundForceHour => _value * 28.33,
+ SpecificFuelConsumptionUnit.PoundMassPerPoundForceHour => _value * 453.59237 / (0.0044482216152605 * 3600),
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
}
@@ -188,9 +188,9 @@ private double GetValueAs(SpecificFuelConsumptionUnit unit)
return unit switch
{
SpecificFuelConsumptionUnit.GramPerKiloNewtonSecond => baseUnitValue,
- SpecificFuelConsumptionUnit.KilogramPerKilogramForceHour => baseUnitValue / 28.33,
+ SpecificFuelConsumptionUnit.KilogramPerKilogramForceHour => baseUnitValue * (0.0044482216152605 * 3600) / 453.59237,
SpecificFuelConsumptionUnit.KilogramPerKiloNewtonSecond => (baseUnitValue) / 1e3d,
- SpecificFuelConsumptionUnit.PoundMassPerPoundForceHour => baseUnitValue / 28.33,
+ SpecificFuelConsumptionUnit.PoundMassPerPoundForceHour => baseUnitValue * (0.0044482216152605 * 3600) / 453.59237,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
}
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/SpecificVolume.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/SpecificVolume.g.cs
index 8997fc6fbc..fc11b59699 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/SpecificVolume.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/SpecificVolume.g.cs
@@ -156,7 +156,7 @@ private double GetValueInBaseUnit()
{
return Unit switch
{
- SpecificVolumeUnit.CubicFootPerPound => _value / 16.01846353,
+ SpecificVolumeUnit.CubicFootPerPound => _value * 0.028316846592 / 0.45359237,
SpecificVolumeUnit.CubicMeterPerKilogram => _value,
SpecificVolumeUnit.MillicubicMeterPerKilogram => (_value) * 1e-3d,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
@@ -172,7 +172,7 @@ private double GetValueAs(SpecificVolumeUnit unit)
return unit switch
{
- SpecificVolumeUnit.CubicFootPerPound => baseUnitValue * 16.01846353,
+ SpecificVolumeUnit.CubicFootPerPound => baseUnitValue * 0.45359237 / 0.028316846592,
SpecificVolumeUnit.CubicMeterPerKilogram => baseUnitValue,
SpecificVolumeUnit.MillicubicMeterPerKilogram => (baseUnitValue) / 1e-3d,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/SpecificWeight.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/SpecificWeight.g.cs
index 099d3bf206..c7f4af5f4d 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/SpecificWeight.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/SpecificWeight.g.cs
@@ -319,14 +319,14 @@ private double GetValueInBaseUnit()
SpecificWeightUnit.KilonewtonPerCubicCentimeter => (_value * 1000000) * 1e3d,
SpecificWeightUnit.KilonewtonPerCubicMeter => (_value) * 1e3d,
SpecificWeightUnit.KilonewtonPerCubicMillimeter => (_value * 1000000000) * 1e3d,
- SpecificWeightUnit.KilopoundForcePerCubicFoot => (_value * 1.570874638462462e2) * 1e3d,
- SpecificWeightUnit.KilopoundForcePerCubicInch => (_value * 2.714471375263134e5) * 1e3d,
+ SpecificWeightUnit.KilopoundForcePerCubicFoot => (_value * 4.4482216152605 / 0.028316846592) * 1e3d,
+ SpecificWeightUnit.KilopoundForcePerCubicInch => (_value * 4.4482216152605 / 1.6387064e-5) * 1e3d,
SpecificWeightUnit.MeganewtonPerCubicMeter => (_value) * 1e6d,
SpecificWeightUnit.NewtonPerCubicCentimeter => _value * 1000000,
SpecificWeightUnit.NewtonPerCubicMeter => _value,
SpecificWeightUnit.NewtonPerCubicMillimeter => _value * 1000000000,
- SpecificWeightUnit.PoundForcePerCubicFoot => _value * 1.570874638462462e2,
- SpecificWeightUnit.PoundForcePerCubicInch => _value * 2.714471375263134e5,
+ SpecificWeightUnit.PoundForcePerCubicFoot => _value * 4.4482216152605 / 0.028316846592,
+ SpecificWeightUnit.PoundForcePerCubicInch => _value * 4.4482216152605 / 1.6387064e-5,
SpecificWeightUnit.TonneForcePerCubicCentimeter => _value * 9.80665e9,
SpecificWeightUnit.TonneForcePerCubicMeter => _value * 9.80665e3,
SpecificWeightUnit.TonneForcePerCubicMillimeter => _value * 9.80665e12,
@@ -349,14 +349,14 @@ private double GetValueAs(SpecificWeightUnit unit)
SpecificWeightUnit.KilonewtonPerCubicCentimeter => (baseUnitValue * 0.000001) / 1e3d,
SpecificWeightUnit.KilonewtonPerCubicMeter => (baseUnitValue) / 1e3d,
SpecificWeightUnit.KilonewtonPerCubicMillimeter => (baseUnitValue * 0.000000001) / 1e3d,
- SpecificWeightUnit.KilopoundForcePerCubicFoot => (baseUnitValue / 1.570874638462462e2) / 1e3d,
- SpecificWeightUnit.KilopoundForcePerCubicInch => (baseUnitValue / 2.714471375263134e5) / 1e3d,
+ SpecificWeightUnit.KilopoundForcePerCubicFoot => (baseUnitValue * 0.028316846592 / 4.4482216152605) / 1e3d,
+ SpecificWeightUnit.KilopoundForcePerCubicInch => (baseUnitValue * 1.6387064e-5 / 4.4482216152605) / 1e3d,
SpecificWeightUnit.MeganewtonPerCubicMeter => (baseUnitValue) / 1e6d,
SpecificWeightUnit.NewtonPerCubicCentimeter => baseUnitValue * 0.000001,
SpecificWeightUnit.NewtonPerCubicMeter => baseUnitValue,
SpecificWeightUnit.NewtonPerCubicMillimeter => baseUnitValue * 0.000000001,
- SpecificWeightUnit.PoundForcePerCubicFoot => baseUnitValue / 1.570874638462462e2,
- SpecificWeightUnit.PoundForcePerCubicInch => baseUnitValue / 2.714471375263134e5,
+ SpecificWeightUnit.PoundForcePerCubicFoot => baseUnitValue * 0.028316846592 / 4.4482216152605,
+ SpecificWeightUnit.PoundForcePerCubicInch => baseUnitValue * 1.6387064e-5 / 4.4482216152605,
SpecificWeightUnit.TonneForcePerCubicCentimeter => baseUnitValue / 9.80665e9,
SpecificWeightUnit.TonneForcePerCubicMeter => baseUnitValue / 9.80665e3,
SpecificWeightUnit.TonneForcePerCubicMillimeter => baseUnitValue / 9.80665e12,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/StandardVolumeFlow.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/StandardVolumeFlow.g.cs
index 8107aeb5c8..3a769ec1f5 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/StandardVolumeFlow.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/StandardVolumeFlow.g.cs
@@ -223,9 +223,9 @@ private double GetValueInBaseUnit()
return Unit switch
{
StandardVolumeFlowUnit.StandardCubicCentimeterPerMinute => _value / 6e7,
- StandardVolumeFlowUnit.StandardCubicFootPerHour => _value * 7.8657907199999087346816086183876e-6,
- StandardVolumeFlowUnit.StandardCubicFootPerMinute => _value / 2118.88000326,
- StandardVolumeFlowUnit.StandardCubicFootPerSecond => _value / 35.314666721,
+ StandardVolumeFlowUnit.StandardCubicFootPerHour => _value * 0.028316846592 / 3600,
+ StandardVolumeFlowUnit.StandardCubicFootPerMinute => _value * 0.028316846592 / 60,
+ StandardVolumeFlowUnit.StandardCubicFootPerSecond => _value * 0.028316846592,
StandardVolumeFlowUnit.StandardCubicMeterPerDay => _value / 86400,
StandardVolumeFlowUnit.StandardCubicMeterPerHour => _value / 3600,
StandardVolumeFlowUnit.StandardCubicMeterPerMinute => _value / 60,
@@ -245,9 +245,9 @@ private double GetValueAs(StandardVolumeFlowUnit unit)
return unit switch
{
StandardVolumeFlowUnit.StandardCubicCentimeterPerMinute => baseUnitValue * 6e7,
- StandardVolumeFlowUnit.StandardCubicFootPerHour => baseUnitValue / 7.8657907199999087346816086183876e-6,
- StandardVolumeFlowUnit.StandardCubicFootPerMinute => baseUnitValue * 2118.88000326,
- StandardVolumeFlowUnit.StandardCubicFootPerSecond => baseUnitValue * 35.314666721,
+ StandardVolumeFlowUnit.StandardCubicFootPerHour => baseUnitValue / (0.028316846592 / 3600),
+ StandardVolumeFlowUnit.StandardCubicFootPerMinute => baseUnitValue / (0.028316846592 / 60),
+ StandardVolumeFlowUnit.StandardCubicFootPerSecond => baseUnitValue / 0.028316846592,
StandardVolumeFlowUnit.StandardCubicMeterPerDay => baseUnitValue * 86400,
StandardVolumeFlowUnit.StandardCubicMeterPerHour => baseUnitValue * 3600,
StandardVolumeFlowUnit.StandardCubicMeterPerMinute => baseUnitValue * 60,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ThermalConductivity.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ThermalConductivity.g.cs
index 8d51df2b7d..c547856f09 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ThermalConductivity.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ThermalConductivity.g.cs
@@ -148,7 +148,7 @@ private double GetValueInBaseUnit()
{
return Unit switch
{
- ThermalConductivityUnit.BtuPerHourFootFahrenheit => _value * 1.73073467,
+ ThermalConductivityUnit.BtuPerHourFootFahrenheit => _value * ((1055.05585262 / (0.3048 * 3600)) * 1.8),
ThermalConductivityUnit.WattPerMeterKelvin => _value,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
@@ -163,7 +163,7 @@ private double GetValueAs(ThermalConductivityUnit unit)
return unit switch
{
- ThermalConductivityUnit.BtuPerHourFootFahrenheit => baseUnitValue / 1.73073467,
+ ThermalConductivityUnit.BtuPerHourFootFahrenheit => baseUnitValue / ((1055.05585262 / (0.3048 * 3600)) * 1.8),
ThermalConductivityUnit.WattPerMeterKelvin => baseUnitValue,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ThermalResistance.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ThermalResistance.g.cs
index 6e1cdffac5..2a497f0c0c 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/ThermalResistance.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/ThermalResistance.g.cs
@@ -189,8 +189,8 @@ private double GetValueInBaseUnit()
{
return Unit switch
{
- ThermalResistanceUnit.HourSquareFeetDegreeFahrenheitPerBtu => _value * 176.1121482159839,
- ThermalResistanceUnit.SquareCentimeterHourDegreeCelsiusPerKilocalorie => _value * 0.0859779507590433,
+ ThermalResistanceUnit.HourSquareFeetDegreeFahrenheitPerBtu => _value * (1000 * 0.3048 * 0.3048 * 3600) / (1055.05585262 * 1.8),
+ ThermalResistanceUnit.SquareCentimeterHourDegreeCelsiusPerKilocalorie => _value * (0.0001 * 3600) / 4.184,
ThermalResistanceUnit.SquareCentimeterKelvinPerWatt => _value * 0.1,
ThermalResistanceUnit.SquareMeterDegreeCelsiusPerWatt => _value * 1000.0,
ThermalResistanceUnit.SquareMeterKelvinPerKilowatt => _value,
@@ -208,8 +208,8 @@ private double GetValueAs(ThermalResistanceUnit unit)
return unit switch
{
- ThermalResistanceUnit.HourSquareFeetDegreeFahrenheitPerBtu => baseUnitValue / 176.1121482159839,
- ThermalResistanceUnit.SquareCentimeterHourDegreeCelsiusPerKilocalorie => baseUnitValue / 0.0859779507590433,
+ ThermalResistanceUnit.HourSquareFeetDegreeFahrenheitPerBtu => baseUnitValue * (1055.05585262 * 1.8) / (1000 * 0.3048 * 0.3048 * 3600),
+ ThermalResistanceUnit.SquareCentimeterHourDegreeCelsiusPerKilocalorie => baseUnitValue * 4.184 / (0.0001 * 3600),
ThermalResistanceUnit.SquareCentimeterKelvinPerWatt => baseUnitValue / 0.1,
ThermalResistanceUnit.SquareMeterDegreeCelsiusPerWatt => baseUnitValue / 1000.0,
ThermalResistanceUnit.SquareMeterKelvinPerKilowatt => baseUnitValue,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Torque.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Torque.g.cs
index 3110da8adc..578cfd67b3 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Torque.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Torque.g.cs
@@ -407,19 +407,19 @@ private double GetValueInBaseUnit()
TorqueUnit.KilonewtonCentimeter => (_value * 0.01) * 1e3d,
TorqueUnit.KilonewtonMeter => (_value) * 1e3d,
TorqueUnit.KilonewtonMillimeter => (_value * 0.001) * 1e3d,
- TorqueUnit.KilopoundForceFoot => (_value * 1.3558179483314) * 1e3d,
- TorqueUnit.KilopoundForceInch => (_value * 1.129848290276167e-1) * 1e3d,
+ TorqueUnit.KilopoundForceFoot => (_value * 4.4482216152605 * 0.3048) * 1e3d,
+ TorqueUnit.KilopoundForceInch => (_value * 4.4482216152605 * 2.54e-2) * 1e3d,
TorqueUnit.MeganewtonCentimeter => (_value * 0.01) * 1e6d,
TorqueUnit.MeganewtonMeter => (_value) * 1e6d,
TorqueUnit.MeganewtonMillimeter => (_value * 0.001) * 1e6d,
- TorqueUnit.MegapoundForceFoot => (_value * 1.3558179483314) * 1e6d,
- TorqueUnit.MegapoundForceInch => (_value * 1.129848290276167e-1) * 1e6d,
+ TorqueUnit.MegapoundForceFoot => (_value * 4.4482216152605 * 0.3048) * 1e6d,
+ TorqueUnit.MegapoundForceInch => (_value * 4.4482216152605 * 2.54e-2) * 1e6d,
TorqueUnit.NewtonCentimeter => _value * 0.01,
TorqueUnit.NewtonMeter => _value,
TorqueUnit.NewtonMillimeter => _value * 0.001,
- TorqueUnit.PoundalFoot => _value * 4.21401100938048e-2,
- TorqueUnit.PoundForceFoot => _value * 1.3558179483314,
- TorqueUnit.PoundForceInch => _value * 1.129848290276167e-1,
+ TorqueUnit.PoundalFoot => _value * 0.138254954376 * 0.3048,
+ TorqueUnit.PoundForceFoot => _value * 4.4482216152605 * 0.3048,
+ TorqueUnit.PoundForceInch => _value * 4.4482216152605 * 2.54e-2,
TorqueUnit.TonneForceCentimeter => _value * 9.80665e1,
TorqueUnit.TonneForceMeter => _value * 9.80665e3,
TorqueUnit.TonneForceMillimeter => _value * 9.80665,
@@ -445,19 +445,19 @@ private double GetValueAs(TorqueUnit unit)
TorqueUnit.KilonewtonCentimeter => (baseUnitValue * 100) / 1e3d,
TorqueUnit.KilonewtonMeter => (baseUnitValue) / 1e3d,
TorqueUnit.KilonewtonMillimeter => (baseUnitValue * 1000) / 1e3d,
- TorqueUnit.KilopoundForceFoot => (baseUnitValue / 1.3558179483314) / 1e3d,
- TorqueUnit.KilopoundForceInch => (baseUnitValue / 1.129848290276167e-1) / 1e3d,
+ TorqueUnit.KilopoundForceFoot => (baseUnitValue / (4.4482216152605 * 0.3048)) / 1e3d,
+ TorqueUnit.KilopoundForceInch => (baseUnitValue / (4.4482216152605 * 2.54e-2)) / 1e3d,
TorqueUnit.MeganewtonCentimeter => (baseUnitValue * 100) / 1e6d,
TorqueUnit.MeganewtonMeter => (baseUnitValue) / 1e6d,
TorqueUnit.MeganewtonMillimeter => (baseUnitValue * 1000) / 1e6d,
- TorqueUnit.MegapoundForceFoot => (baseUnitValue / 1.3558179483314) / 1e6d,
- TorqueUnit.MegapoundForceInch => (baseUnitValue / 1.129848290276167e-1) / 1e6d,
+ TorqueUnit.MegapoundForceFoot => (baseUnitValue / (4.4482216152605 * 0.3048)) / 1e6d,
+ TorqueUnit.MegapoundForceInch => (baseUnitValue / (4.4482216152605 * 2.54e-2)) / 1e6d,
TorqueUnit.NewtonCentimeter => baseUnitValue * 100,
TorqueUnit.NewtonMeter => baseUnitValue,
TorqueUnit.NewtonMillimeter => baseUnitValue * 1000,
- TorqueUnit.PoundalFoot => baseUnitValue / 4.21401100938048e-2,
- TorqueUnit.PoundForceFoot => baseUnitValue / 1.3558179483314,
- TorqueUnit.PoundForceInch => baseUnitValue / 1.129848290276167e-1,
+ TorqueUnit.PoundalFoot => baseUnitValue / (0.138254954376 * 0.3048),
+ TorqueUnit.PoundForceFoot => baseUnitValue / (4.4482216152605 * 0.3048),
+ TorqueUnit.PoundForceInch => baseUnitValue / (4.4482216152605 * 2.54e-2),
TorqueUnit.TonneForceCentimeter => baseUnitValue / 9.80665e1,
TorqueUnit.TonneForceMeter => baseUnitValue / 9.80665e3,
TorqueUnit.TonneForceMillimeter => baseUnitValue / 9.80665,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/TorquePerLength.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/TorquePerLength.g.cs
index f913bf039d..08df4915e7 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/TorquePerLength.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/TorquePerLength.g.cs
@@ -354,27 +354,27 @@ private double GetValueInBaseUnit()
{
return Unit switch
{
- TorquePerLengthUnit.KilogramForceCentimeterPerMeter => _value * 0.0980665019960652,
- TorquePerLengthUnit.KilogramForceMeterPerMeter => _value * 9.80665019960652,
- TorquePerLengthUnit.KilogramForceMillimeterPerMeter => _value * 0.00980665019960652,
+ TorquePerLengthUnit.KilogramForceCentimeterPerMeter => _value * 9.80665e-2,
+ TorquePerLengthUnit.KilogramForceMeterPerMeter => _value * 9.80665,
+ TorquePerLengthUnit.KilogramForceMillimeterPerMeter => _value * 9.80665e-3,
TorquePerLengthUnit.KilonewtonCentimeterPerMeter => (_value * 0.01) * 1e3d,
TorquePerLengthUnit.KilonewtonMeterPerMeter => (_value) * 1e3d,
TorquePerLengthUnit.KilonewtonMillimeterPerMeter => (_value * 0.001) * 1e3d,
- TorquePerLengthUnit.KilopoundForceFootPerFoot => (_value * 4.44822161526) * 1e3d,
- TorquePerLengthUnit.KilopoundForceInchPerFoot => (_value * 0.370685147638) * 1e3d,
+ TorquePerLengthUnit.KilopoundForceFootPerFoot => (_value * 4.4482216152605) * 1e3d,
+ TorquePerLengthUnit.KilopoundForceInchPerFoot => (_value * (4.4482216152605 * 2.54e-2) / 0.3048) * 1e3d,
TorquePerLengthUnit.MeganewtonCentimeterPerMeter => (_value * 0.01) * 1e6d,
TorquePerLengthUnit.MeganewtonMeterPerMeter => (_value) * 1e6d,
TorquePerLengthUnit.MeganewtonMillimeterPerMeter => (_value * 0.001) * 1e6d,
- TorquePerLengthUnit.MegapoundForceFootPerFoot => (_value * 4.44822161526) * 1e6d,
- TorquePerLengthUnit.MegapoundForceInchPerFoot => (_value * 0.370685147638) * 1e6d,
+ TorquePerLengthUnit.MegapoundForceFootPerFoot => (_value * 4.4482216152605) * 1e6d,
+ TorquePerLengthUnit.MegapoundForceInchPerFoot => (_value * (4.4482216152605 * 2.54e-2) / 0.3048) * 1e6d,
TorquePerLengthUnit.NewtonCentimeterPerMeter => _value * 0.01,
TorquePerLengthUnit.NewtonMeterPerMeter => _value,
TorquePerLengthUnit.NewtonMillimeterPerMeter => _value * 0.001,
- TorquePerLengthUnit.PoundForceFootPerFoot => _value * 4.44822161526,
- TorquePerLengthUnit.PoundForceInchPerFoot => _value * 0.370685147638,
- TorquePerLengthUnit.TonneForceCentimeterPerMeter => _value * 98.0665019960652,
- TorquePerLengthUnit.TonneForceMeterPerMeter => _value * 9806.65019960653,
- TorquePerLengthUnit.TonneForceMillimeterPerMeter => _value * 9.80665019960652,
+ TorquePerLengthUnit.PoundForceFootPerFoot => _value * 4.4482216152605,
+ TorquePerLengthUnit.PoundForceInchPerFoot => _value * (4.4482216152605 * 2.54e-2) / 0.3048,
+ TorquePerLengthUnit.TonneForceCentimeterPerMeter => _value * 9.80665e1,
+ TorquePerLengthUnit.TonneForceMeterPerMeter => _value * 9.80665e3,
+ TorquePerLengthUnit.TonneForceMillimeterPerMeter => _value * 9.80665,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
}
@@ -388,27 +388,27 @@ private double GetValueAs(TorquePerLengthUnit unit)
return unit switch
{
- TorquePerLengthUnit.KilogramForceCentimeterPerMeter => baseUnitValue * 10.1971619222242,
- TorquePerLengthUnit.KilogramForceMeterPerMeter => baseUnitValue * 0.101971619222242,
- TorquePerLengthUnit.KilogramForceMillimeterPerMeter => baseUnitValue * 101.971619222242,
+ TorquePerLengthUnit.KilogramForceCentimeterPerMeter => baseUnitValue / 9.80665e-2,
+ TorquePerLengthUnit.KilogramForceMeterPerMeter => baseUnitValue / 9.80665,
+ TorquePerLengthUnit.KilogramForceMillimeterPerMeter => baseUnitValue / 9.80665e-3,
TorquePerLengthUnit.KilonewtonCentimeterPerMeter => (baseUnitValue * 100) / 1e3d,
TorquePerLengthUnit.KilonewtonMeterPerMeter => (baseUnitValue) / 1e3d,
TorquePerLengthUnit.KilonewtonMillimeterPerMeter => (baseUnitValue * 1000) / 1e3d,
- TorquePerLengthUnit.KilopoundForceFootPerFoot => (baseUnitValue / 4.44822161526) / 1e3d,
- TorquePerLengthUnit.KilopoundForceInchPerFoot => (baseUnitValue / 0.370685147638) / 1e3d,
+ TorquePerLengthUnit.KilopoundForceFootPerFoot => (baseUnitValue / 4.4482216152605) / 1e3d,
+ TorquePerLengthUnit.KilopoundForceInchPerFoot => (baseUnitValue * 0.3048 / (4.4482216152605 * 2.54e-2)) / 1e3d,
TorquePerLengthUnit.MeganewtonCentimeterPerMeter => (baseUnitValue * 100) / 1e6d,
TorquePerLengthUnit.MeganewtonMeterPerMeter => (baseUnitValue) / 1e6d,
TorquePerLengthUnit.MeganewtonMillimeterPerMeter => (baseUnitValue * 1000) / 1e6d,
- TorquePerLengthUnit.MegapoundForceFootPerFoot => (baseUnitValue / 4.44822161526) / 1e6d,
- TorquePerLengthUnit.MegapoundForceInchPerFoot => (baseUnitValue / 0.370685147638) / 1e6d,
+ TorquePerLengthUnit.MegapoundForceFootPerFoot => (baseUnitValue / 4.4482216152605) / 1e6d,
+ TorquePerLengthUnit.MegapoundForceInchPerFoot => (baseUnitValue * 0.3048 / (4.4482216152605 * 2.54e-2)) / 1e6d,
TorquePerLengthUnit.NewtonCentimeterPerMeter => baseUnitValue * 100,
TorquePerLengthUnit.NewtonMeterPerMeter => baseUnitValue,
TorquePerLengthUnit.NewtonMillimeterPerMeter => baseUnitValue * 1000,
- TorquePerLengthUnit.PoundForceFootPerFoot => baseUnitValue / 4.44822161526,
- TorquePerLengthUnit.PoundForceInchPerFoot => baseUnitValue / 0.370685147638,
- TorquePerLengthUnit.TonneForceCentimeterPerMeter => baseUnitValue * 0.0101971619222242,
- TorquePerLengthUnit.TonneForceMeterPerMeter => baseUnitValue * 0.000101971619222242,
- TorquePerLengthUnit.TonneForceMillimeterPerMeter => baseUnitValue * 0.101971619222242,
+ TorquePerLengthUnit.PoundForceFootPerFoot => baseUnitValue / 4.4482216152605,
+ TorquePerLengthUnit.PoundForceInchPerFoot => baseUnitValue * 0.3048 / (4.4482216152605 * 2.54e-2),
+ TorquePerLengthUnit.TonneForceCentimeterPerMeter => baseUnitValue / 9.80665e1,
+ TorquePerLengthUnit.TonneForceMeterPerMeter => baseUnitValue / 9.80665e3,
+ TorquePerLengthUnit.TonneForceMillimeterPerMeter => baseUnitValue / 9.80665,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
}
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Volume.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Volume.g.cs
index ab1ed14870..a60abbaa43 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/Volume.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/Volume.g.cs
@@ -717,41 +717,41 @@ private double GetValueInBaseUnit()
{
return Unit switch
{
- VolumeUnit.AcreFoot => _value / 0.000810714,
+ VolumeUnit.AcreFoot => _value * 1233.48183754752,
VolumeUnit.AuTablespoon => _value * 2e-5,
- VolumeUnit.BoardFoot => _value * 2.3597372158e-3,
+ VolumeUnit.BoardFoot => _value * (0.028316846592 / 12),
VolumeUnit.Centiliter => (_value / 1e3) * 1e-2d,
VolumeUnit.CubicCentimeter => _value / 1e6,
VolumeUnit.CubicDecimeter => _value / 1e3,
- VolumeUnit.CubicFoot => _value * 2.8316846592e-2,
+ VolumeUnit.CubicFoot => _value * 0.028316846592,
VolumeUnit.CubicHectometer => _value * 1e6,
VolumeUnit.CubicInch => _value * 1.6387064e-5,
VolumeUnit.CubicKilometer => _value * 1e9,
VolumeUnit.CubicMeter => _value,
VolumeUnit.CubicMicrometer => _value / 1e18,
- VolumeUnit.CubicMile => _value * 4.16818182544058e9,
+ VolumeUnit.CubicMile => _value * 4.168181825440579584e9,
VolumeUnit.CubicMillimeter => _value / 1e9,
- VolumeUnit.CubicYard => _value * 0.764554858,
+ VolumeUnit.CubicYard => _value * 0.764554857984,
VolumeUnit.Decaliter => (_value / 1e3) * 1e1d,
VolumeUnit.DecausGallon => (_value * 0.003785411784) * 1e1d,
VolumeUnit.Deciliter => (_value / 1e3) * 1e-1d,
VolumeUnit.DeciusGallon => (_value * 0.003785411784) * 1e-1d,
- VolumeUnit.HectocubicFoot => (_value * 2.8316846592e-2) * 1e2d,
+ VolumeUnit.HectocubicFoot => (_value * 0.028316846592) * 1e2d,
VolumeUnit.HectocubicMeter => (_value) * 1e2d,
VolumeUnit.Hectoliter => (_value / 1e3) * 1e2d,
VolumeUnit.HectousGallon => (_value * 0.003785411784) * 1e2d,
VolumeUnit.ImperialBeerBarrel => _value * 0.16365924,
VolumeUnit.ImperialGallon => _value * 0.00454609,
- VolumeUnit.ImperialOunce => _value * 2.8413062499962901241875439064617e-5,
+ VolumeUnit.ImperialOunce => _value * 2.84130625e-5,
VolumeUnit.ImperialPint => _value * 5.6826125e-4,
VolumeUnit.ImperialQuart => _value * 1.1365225e-3,
- VolumeUnit.KilocubicFoot => (_value * 2.8316846592e-2) * 1e3d,
+ VolumeUnit.KilocubicFoot => (_value * 0.028316846592) * 1e3d,
VolumeUnit.KilocubicMeter => (_value) * 1e3d,
VolumeUnit.KiloimperialGallon => (_value * 0.00454609) * 1e3d,
VolumeUnit.Kiloliter => (_value / 1e3) * 1e3d,
VolumeUnit.KilousGallon => (_value * 0.003785411784) * 1e3d,
VolumeUnit.Liter => _value / 1e3,
- VolumeUnit.MegacubicFoot => (_value * 2.8316846592e-2) * 1e6d,
+ VolumeUnit.MegacubicFoot => (_value * 0.028316846592) * 1e6d,
VolumeUnit.MegaimperialGallon => (_value * 0.00454609) * 1e6d,
VolumeUnit.Megaliter => (_value / 1e3) * 1e6d,
VolumeUnit.MegausGallon => (_value * 0.003785411784) * 1e6d,
@@ -762,11 +762,11 @@ private double GetValueInBaseUnit()
VolumeUnit.Nanoliter => (_value / 1e3) * 1e-9d,
VolumeUnit.OilBarrel => _value * 0.158987294928,
VolumeUnit.UkTablespoon => _value * 1.5e-5,
- VolumeUnit.UsBeerBarrel => _value * 0.1173477658,
+ VolumeUnit.UsBeerBarrel => _value * 0.117347765304,
VolumeUnit.UsCustomaryCup => _value * 0.0002365882365,
VolumeUnit.UsGallon => _value * 0.003785411784,
VolumeUnit.UsLegalCup => _value * 0.00024,
- VolumeUnit.UsOunce => _value * 2.957352956253760505068307980135e-5,
+ VolumeUnit.UsOunce => _value * 2.95735295625e-5,
VolumeUnit.UsPint => _value * 4.73176473e-4,
VolumeUnit.UsQuart => _value * 9.46352946e-4,
VolumeUnit.UsTablespoon => _value * 1.478676478125e-5,
@@ -784,41 +784,41 @@ private double GetValueAs(VolumeUnit unit)
return unit switch
{
- VolumeUnit.AcreFoot => baseUnitValue * 0.000810714,
+ VolumeUnit.AcreFoot => baseUnitValue / 1233.48183754752,
VolumeUnit.AuTablespoon => baseUnitValue / 2e-5,
- VolumeUnit.BoardFoot => baseUnitValue / 2.3597372158e-3,
+ VolumeUnit.BoardFoot => baseUnitValue / (0.028316846592 / 12),
VolumeUnit.Centiliter => (baseUnitValue * 1e3) / 1e-2d,
VolumeUnit.CubicCentimeter => baseUnitValue * 1e6,
VolumeUnit.CubicDecimeter => baseUnitValue * 1e3,
- VolumeUnit.CubicFoot => baseUnitValue / 2.8316846592e-2,
+ VolumeUnit.CubicFoot => baseUnitValue / 0.028316846592,
VolumeUnit.CubicHectometer => baseUnitValue / 1e6,
VolumeUnit.CubicInch => baseUnitValue / 1.6387064e-5,
VolumeUnit.CubicKilometer => baseUnitValue / 1e9,
VolumeUnit.CubicMeter => baseUnitValue,
VolumeUnit.CubicMicrometer => baseUnitValue * 1e18,
- VolumeUnit.CubicMile => baseUnitValue / 4.16818182544058e9,
+ VolumeUnit.CubicMile => baseUnitValue / 4.168181825440579584e9,
VolumeUnit.CubicMillimeter => baseUnitValue * 1e9,
- VolumeUnit.CubicYard => baseUnitValue / 0.764554858,
+ VolumeUnit.CubicYard => baseUnitValue / 0.764554857984,
VolumeUnit.Decaliter => (baseUnitValue * 1e3) / 1e1d,
VolumeUnit.DecausGallon => (baseUnitValue / 0.003785411784) / 1e1d,
VolumeUnit.Deciliter => (baseUnitValue * 1e3) / 1e-1d,
VolumeUnit.DeciusGallon => (baseUnitValue / 0.003785411784) / 1e-1d,
- VolumeUnit.HectocubicFoot => (baseUnitValue / 2.8316846592e-2) / 1e2d,
+ VolumeUnit.HectocubicFoot => (baseUnitValue / 0.028316846592) / 1e2d,
VolumeUnit.HectocubicMeter => (baseUnitValue) / 1e2d,
VolumeUnit.Hectoliter => (baseUnitValue * 1e3) / 1e2d,
VolumeUnit.HectousGallon => (baseUnitValue / 0.003785411784) / 1e2d,
VolumeUnit.ImperialBeerBarrel => baseUnitValue / 0.16365924,
VolumeUnit.ImperialGallon => baseUnitValue / 0.00454609,
- VolumeUnit.ImperialOunce => baseUnitValue / 2.8413062499962901241875439064617e-5,
+ VolumeUnit.ImperialOunce => baseUnitValue / 2.84130625e-5,
VolumeUnit.ImperialPint => baseUnitValue / 5.6826125e-4,
VolumeUnit.ImperialQuart => baseUnitValue / 1.1365225e-3,
- VolumeUnit.KilocubicFoot => (baseUnitValue / 2.8316846592e-2) / 1e3d,
+ VolumeUnit.KilocubicFoot => (baseUnitValue / 0.028316846592) / 1e3d,
VolumeUnit.KilocubicMeter => (baseUnitValue) / 1e3d,
VolumeUnit.KiloimperialGallon => (baseUnitValue / 0.00454609) / 1e3d,
VolumeUnit.Kiloliter => (baseUnitValue * 1e3) / 1e3d,
VolumeUnit.KilousGallon => (baseUnitValue / 0.003785411784) / 1e3d,
VolumeUnit.Liter => baseUnitValue * 1e3,
- VolumeUnit.MegacubicFoot => (baseUnitValue / 2.8316846592e-2) / 1e6d,
+ VolumeUnit.MegacubicFoot => (baseUnitValue / 0.028316846592) / 1e6d,
VolumeUnit.MegaimperialGallon => (baseUnitValue / 0.00454609) / 1e6d,
VolumeUnit.Megaliter => (baseUnitValue * 1e3) / 1e6d,
VolumeUnit.MegausGallon => (baseUnitValue / 0.003785411784) / 1e6d,
@@ -829,11 +829,11 @@ private double GetValueAs(VolumeUnit unit)
VolumeUnit.Nanoliter => (baseUnitValue * 1e3) / 1e-9d,
VolumeUnit.OilBarrel => baseUnitValue / 0.158987294928,
VolumeUnit.UkTablespoon => baseUnitValue / 1.5e-5,
- VolumeUnit.UsBeerBarrel => baseUnitValue / 0.1173477658,
+ VolumeUnit.UsBeerBarrel => baseUnitValue / 0.117347765304,
VolumeUnit.UsCustomaryCup => baseUnitValue / 0.0002365882365,
VolumeUnit.UsGallon => baseUnitValue / 0.003785411784,
VolumeUnit.UsLegalCup => baseUnitValue / 0.00024,
- VolumeUnit.UsOunce => baseUnitValue / 2.957352956253760505068307980135e-5,
+ VolumeUnit.UsOunce => baseUnitValue / 2.95735295625e-5,
VolumeUnit.UsPint => baseUnitValue / 4.73176473e-4,
VolumeUnit.UsQuart => baseUnitValue / 9.46352946e-4,
VolumeUnit.UsTablespoon => baseUnitValue / 1.478676478125e-5,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/VolumeFlow.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/VolumeFlow.g.cs
index 4e23c92fb5..9d2d35f5a9 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/VolumeFlow.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/VolumeFlow.g.cs
@@ -948,81 +948,81 @@ private double GetValueInBaseUnit()
{
return Unit switch
{
- VolumeFlowUnit.AcreFootPerDay => _value / 70.0457,
- VolumeFlowUnit.AcreFootPerHour => _value / 2.91857,
- VolumeFlowUnit.AcreFootPerMinute => _value / 0.0486427916,
- VolumeFlowUnit.AcreFootPerSecond => _value / 0.000810713194,
- VolumeFlowUnit.CentiliterPerDay => (_value / 86400000) * 1e-2d,
- VolumeFlowUnit.CentiliterPerHour => (_value / 3600000.000) * 1e-2d,
- VolumeFlowUnit.CentiliterPerMinute => (_value / 60000.00000) * 1e-2d,
+ VolumeFlowUnit.AcreFootPerDay => _value * 1233.48183754752 / 86400,
+ VolumeFlowUnit.AcreFootPerHour => _value * 1233.48183754752 / 3600,
+ VolumeFlowUnit.AcreFootPerMinute => _value * 1233.48183754752 / 60,
+ VolumeFlowUnit.AcreFootPerSecond => _value * 1233.48183754752,
+ VolumeFlowUnit.CentiliterPerDay => (_value / (1000 * 86400)) * 1e-2d,
+ VolumeFlowUnit.CentiliterPerHour => (_value / (1000 * 3600)) * 1e-2d,
+ VolumeFlowUnit.CentiliterPerMinute => (_value / (1000 * 60)) * 1e-2d,
VolumeFlowUnit.CentiliterPerSecond => (_value / 1000) * 1e-2d,
- VolumeFlowUnit.CubicCentimeterPerMinute => _value * 1.6666666666667e-8,
+ VolumeFlowUnit.CubicCentimeterPerMinute => _value * 1e-6 / 60,
VolumeFlowUnit.CubicDecimeterPerMinute => _value / 60000.00000,
- VolumeFlowUnit.CubicFootPerHour => _value * 7.8657907199999087346816086183876e-6,
- VolumeFlowUnit.CubicFootPerMinute => _value / 2118.88000326,
- VolumeFlowUnit.CubicFootPerSecond => _value / 35.314666721,
+ VolumeFlowUnit.CubicFootPerHour => _value * 0.028316846592 / 3600,
+ VolumeFlowUnit.CubicFootPerMinute => _value * 0.028316846592 / 60,
+ VolumeFlowUnit.CubicFootPerSecond => _value * 0.028316846592,
VolumeFlowUnit.CubicMeterPerDay => _value / 86400,
VolumeFlowUnit.CubicMeterPerHour => _value / 3600,
VolumeFlowUnit.CubicMeterPerMinute => _value / 60,
VolumeFlowUnit.CubicMeterPerSecond => _value,
VolumeFlowUnit.CubicMillimeterPerSecond => _value * 1e-9,
- VolumeFlowUnit.CubicYardPerDay => _value / 113007,
- VolumeFlowUnit.CubicYardPerHour => _value * 2.1237634944E-4,
- VolumeFlowUnit.CubicYardPerMinute => _value * 0.0127425809664,
+ VolumeFlowUnit.CubicYardPerDay => _value * 0.764554857984 / 86400,
+ VolumeFlowUnit.CubicYardPerHour => _value * 0.764554857984 / 3600,
+ VolumeFlowUnit.CubicYardPerMinute => _value * 0.764554857984 / 60,
VolumeFlowUnit.CubicYardPerSecond => _value * 0.764554857984,
- VolumeFlowUnit.DecaliterPerDay => (_value / 86400000) * 1e1d,
- VolumeFlowUnit.DecaliterPerHour => (_value / 3600000.000) * 1e1d,
- VolumeFlowUnit.DecaliterPerMinute => (_value / 60000.00000) * 1e1d,
+ VolumeFlowUnit.DecaliterPerDay => (_value / (1000 * 86400)) * 1e1d,
+ VolumeFlowUnit.DecaliterPerHour => (_value / (1000 * 3600)) * 1e1d,
+ VolumeFlowUnit.DecaliterPerMinute => (_value / (1000 * 60)) * 1e1d,
VolumeFlowUnit.DecaliterPerSecond => (_value / 1000) * 1e1d,
- VolumeFlowUnit.DeciliterPerDay => (_value / 86400000) * 1e-1d,
- VolumeFlowUnit.DeciliterPerHour => (_value / 3600000.000) * 1e-1d,
- VolumeFlowUnit.DeciliterPerMinute => (_value / 60000.00000) * 1e-1d,
+ VolumeFlowUnit.DeciliterPerDay => (_value / (1000 * 86400)) * 1e-1d,
+ VolumeFlowUnit.DeciliterPerHour => (_value / (1000 * 3600)) * 1e-1d,
+ VolumeFlowUnit.DeciliterPerMinute => (_value / (1000 * 60)) * 1e-1d,
VolumeFlowUnit.DeciliterPerSecond => (_value / 1000) * 1e-1d,
- VolumeFlowUnit.HectoliterPerDay => (_value / 86400000) * 1e2d,
- VolumeFlowUnit.HectoliterPerHour => (_value / 3600000.000) * 1e2d,
- VolumeFlowUnit.HectoliterPerMinute => (_value / 60000.00000) * 1e2d,
+ VolumeFlowUnit.HectoliterPerDay => (_value / (1000 * 86400)) * 1e2d,
+ VolumeFlowUnit.HectoliterPerHour => (_value / (1000 * 3600)) * 1e2d,
+ VolumeFlowUnit.HectoliterPerMinute => (_value / (1000 * 60)) * 1e2d,
VolumeFlowUnit.HectoliterPerSecond => (_value / 1000) * 1e2d,
- VolumeFlowUnit.KiloliterPerDay => (_value / 86400000) * 1e3d,
- VolumeFlowUnit.KiloliterPerHour => (_value / 3600000.000) * 1e3d,
- VolumeFlowUnit.KiloliterPerMinute => (_value / 60000.00000) * 1e3d,
+ VolumeFlowUnit.KiloliterPerDay => (_value / (1000 * 86400)) * 1e3d,
+ VolumeFlowUnit.KiloliterPerHour => (_value / (1000 * 3600)) * 1e3d,
+ VolumeFlowUnit.KiloliterPerMinute => (_value / (1000 * 60)) * 1e3d,
VolumeFlowUnit.KiloliterPerSecond => (_value / 1000) * 1e3d,
- VolumeFlowUnit.KilousGallonPerMinute => _value / 15.850323141489,
- VolumeFlowUnit.LiterPerDay => _value / 86400000,
- VolumeFlowUnit.LiterPerHour => _value / 3600000.000,
- VolumeFlowUnit.LiterPerMinute => _value / 60000.00000,
+ VolumeFlowUnit.KilousGallonPerMinute => _value * 1000 * 0.003785411784 / 60,
+ VolumeFlowUnit.LiterPerDay => _value / (1000 * 86400),
+ VolumeFlowUnit.LiterPerHour => _value / (1000 * 3600),
+ VolumeFlowUnit.LiterPerMinute => _value / (1000 * 60),
VolumeFlowUnit.LiterPerSecond => _value / 1000,
- VolumeFlowUnit.MegaliterPerDay => (_value / 86400000) * 1e6d,
- VolumeFlowUnit.MegaliterPerHour => (_value / 3600000.000) * 1e6d,
- VolumeFlowUnit.MegaliterPerMinute => (_value / 60000.00000) * 1e6d,
+ VolumeFlowUnit.MegaliterPerDay => (_value / (1000 * 86400)) * 1e6d,
+ VolumeFlowUnit.MegaliterPerHour => (_value / (1000 * 3600)) * 1e6d,
+ VolumeFlowUnit.MegaliterPerMinute => (_value / (1000 * 60)) * 1e6d,
VolumeFlowUnit.MegaliterPerSecond => (_value / 1000) * 1e6d,
- VolumeFlowUnit.MegaukGallonPerDay => (_value / 19005304) * 1e6d,
- VolumeFlowUnit.MegaukGallonPerSecond => (_value / 219.969) * 1e6d,
- VolumeFlowUnit.MegausGallonPerDay => (_value / 22824465.227) * 1e6d,
- VolumeFlowUnit.MicroliterPerDay => (_value / 86400000) * 1e-6d,
- VolumeFlowUnit.MicroliterPerHour => (_value / 3600000.000) * 1e-6d,
- VolumeFlowUnit.MicroliterPerMinute => (_value / 60000.00000) * 1e-6d,
+ VolumeFlowUnit.MegaukGallonPerDay => (_value * 0.00454609 / 86400) * 1e6d,
+ VolumeFlowUnit.MegaukGallonPerSecond => (_value * 0.00454609) * 1e6d,
+ VolumeFlowUnit.MegausGallonPerDay => (_value * 0.003785411784 / 86400) * 1e6d,
+ VolumeFlowUnit.MicroliterPerDay => (_value / (1000 * 86400)) * 1e-6d,
+ VolumeFlowUnit.MicroliterPerHour => (_value / (1000 * 3600)) * 1e-6d,
+ VolumeFlowUnit.MicroliterPerMinute => (_value / (1000 * 60)) * 1e-6d,
VolumeFlowUnit.MicroliterPerSecond => (_value / 1000) * 1e-6d,
- VolumeFlowUnit.MilliliterPerDay => (_value / 86400000) * 1e-3d,
- VolumeFlowUnit.MilliliterPerHour => (_value / 3600000.000) * 1e-3d,
- VolumeFlowUnit.MilliliterPerMinute => (_value / 60000.00000) * 1e-3d,
+ VolumeFlowUnit.MilliliterPerDay => (_value / (1000 * 86400)) * 1e-3d,
+ VolumeFlowUnit.MilliliterPerHour => (_value / (1000 * 3600)) * 1e-3d,
+ VolumeFlowUnit.MilliliterPerMinute => (_value / (1000 * 60)) * 1e-3d,
VolumeFlowUnit.MilliliterPerSecond => (_value / 1000) * 1e-3d,
- VolumeFlowUnit.MillionUsGallonPerDay => _value / 22.824465227,
- VolumeFlowUnit.NanoliterPerDay => (_value / 86400000) * 1e-9d,
- VolumeFlowUnit.NanoliterPerHour => (_value / 3600000.000) * 1e-9d,
- VolumeFlowUnit.NanoliterPerMinute => (_value / 60000.00000) * 1e-9d,
+ VolumeFlowUnit.MillionUsGallonPerDay => _value * 1e6 * 0.003785411784 / 86400,
+ VolumeFlowUnit.NanoliterPerDay => (_value / (1000 * 86400)) * 1e-9d,
+ VolumeFlowUnit.NanoliterPerHour => (_value / (1000 * 3600)) * 1e-9d,
+ VolumeFlowUnit.NanoliterPerMinute => (_value / (1000 * 60)) * 1e-9d,
VolumeFlowUnit.NanoliterPerSecond => (_value / 1000) * 1e-9d,
- VolumeFlowUnit.OilBarrelPerDay => _value * 1.8401307283333333333333333333333e-6,
- VolumeFlowUnit.OilBarrelPerHour => _value * 4.41631375e-5,
- VolumeFlowUnit.OilBarrelPerMinute => _value * 2.64978825e-3,
- VolumeFlowUnit.OilBarrelPerSecond => _value / 6.28981,
- VolumeFlowUnit.UkGallonPerDay => _value / 19005304,
- VolumeFlowUnit.UkGallonPerHour => _value / 791887.667,
- VolumeFlowUnit.UkGallonPerMinute => _value / 13198.2,
- VolumeFlowUnit.UkGallonPerSecond => _value / 219.969,
- VolumeFlowUnit.UsGallonPerDay => _value / 22824465.227,
- VolumeFlowUnit.UsGallonPerHour => _value / 951019.38848933424,
- VolumeFlowUnit.UsGallonPerMinute => _value / 15850.323141489,
- VolumeFlowUnit.UsGallonPerSecond => _value / 264.1720523581484,
+ VolumeFlowUnit.OilBarrelPerDay => _value * 0.158987294928 / 86400,
+ VolumeFlowUnit.OilBarrelPerHour => _value * 0.158987294928 / 3600,
+ VolumeFlowUnit.OilBarrelPerMinute => _value * 0.158987294928 / 60,
+ VolumeFlowUnit.OilBarrelPerSecond => _value * 0.158987294928,
+ VolumeFlowUnit.UkGallonPerDay => _value * 0.00454609 / 86400,
+ VolumeFlowUnit.UkGallonPerHour => _value * 0.00454609 / 3600,
+ VolumeFlowUnit.UkGallonPerMinute => _value * 0.00454609 / 60,
+ VolumeFlowUnit.UkGallonPerSecond => _value * 0.00454609,
+ VolumeFlowUnit.UsGallonPerDay => _value * 0.003785411784 / 86400,
+ VolumeFlowUnit.UsGallonPerHour => _value * 0.003785411784 / 3600,
+ VolumeFlowUnit.UsGallonPerMinute => _value * 0.003785411784 / 60,
+ VolumeFlowUnit.UsGallonPerSecond => _value * 0.003785411784,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
}
@@ -1036,81 +1036,81 @@ private double GetValueAs(VolumeFlowUnit unit)
return unit switch
{
- VolumeFlowUnit.AcreFootPerDay => baseUnitValue * 70.0457,
- VolumeFlowUnit.AcreFootPerHour => baseUnitValue * 2.91857,
- VolumeFlowUnit.AcreFootPerMinute => baseUnitValue * 0.0486427916,
- VolumeFlowUnit.AcreFootPerSecond => baseUnitValue * 0.000810713194,
- VolumeFlowUnit.CentiliterPerDay => (baseUnitValue * 86400000) / 1e-2d,
- VolumeFlowUnit.CentiliterPerHour => (baseUnitValue * 3600000.000) / 1e-2d,
- VolumeFlowUnit.CentiliterPerMinute => (baseUnitValue * 60000.00000) / 1e-2d,
+ VolumeFlowUnit.AcreFootPerDay => baseUnitValue / (1233.48183754752 / 86400),
+ VolumeFlowUnit.AcreFootPerHour => baseUnitValue / (1233.48183754752 / 3600),
+ VolumeFlowUnit.AcreFootPerMinute => baseUnitValue / (1233.48183754752 / 60),
+ VolumeFlowUnit.AcreFootPerSecond => baseUnitValue / 1233.48183754752,
+ VolumeFlowUnit.CentiliterPerDay => (baseUnitValue * (1000 * 86400)) / 1e-2d,
+ VolumeFlowUnit.CentiliterPerHour => (baseUnitValue * (1000 * 3600)) / 1e-2d,
+ VolumeFlowUnit.CentiliterPerMinute => (baseUnitValue * (1000 * 60)) / 1e-2d,
VolumeFlowUnit.CentiliterPerSecond => (baseUnitValue * 1000) / 1e-2d,
- VolumeFlowUnit.CubicCentimeterPerMinute => baseUnitValue / 1.6666666666667e-8,
+ VolumeFlowUnit.CubicCentimeterPerMinute => baseUnitValue / (1e-6 / 60),
VolumeFlowUnit.CubicDecimeterPerMinute => baseUnitValue * 60000.00000,
- VolumeFlowUnit.CubicFootPerHour => baseUnitValue / 7.8657907199999087346816086183876e-6,
- VolumeFlowUnit.CubicFootPerMinute => baseUnitValue * 2118.88000326,
- VolumeFlowUnit.CubicFootPerSecond => baseUnitValue * 35.314666721,
+ VolumeFlowUnit.CubicFootPerHour => baseUnitValue / (0.028316846592 / 3600),
+ VolumeFlowUnit.CubicFootPerMinute => baseUnitValue / (0.028316846592 / 60),
+ VolumeFlowUnit.CubicFootPerSecond => baseUnitValue / 0.028316846592,
VolumeFlowUnit.CubicMeterPerDay => baseUnitValue * 86400,
VolumeFlowUnit.CubicMeterPerHour => baseUnitValue * 3600,
VolumeFlowUnit.CubicMeterPerMinute => baseUnitValue * 60,
VolumeFlowUnit.CubicMeterPerSecond => baseUnitValue,
VolumeFlowUnit.CubicMillimeterPerSecond => baseUnitValue / 1e-9,
- VolumeFlowUnit.CubicYardPerDay => baseUnitValue * 113007,
- VolumeFlowUnit.CubicYardPerHour => baseUnitValue / 2.1237634944E-4,
- VolumeFlowUnit.CubicYardPerMinute => baseUnitValue / 0.0127425809664,
+ VolumeFlowUnit.CubicYardPerDay => baseUnitValue / (0.764554857984 / 86400),
+ VolumeFlowUnit.CubicYardPerHour => baseUnitValue / (0.764554857984 / 3600),
+ VolumeFlowUnit.CubicYardPerMinute => baseUnitValue / (0.764554857984 / 60),
VolumeFlowUnit.CubicYardPerSecond => baseUnitValue / 0.764554857984,
- VolumeFlowUnit.DecaliterPerDay => (baseUnitValue * 86400000) / 1e1d,
- VolumeFlowUnit.DecaliterPerHour => (baseUnitValue * 3600000.000) / 1e1d,
- VolumeFlowUnit.DecaliterPerMinute => (baseUnitValue * 60000.00000) / 1e1d,
+ VolumeFlowUnit.DecaliterPerDay => (baseUnitValue * (1000 * 86400)) / 1e1d,
+ VolumeFlowUnit.DecaliterPerHour => (baseUnitValue * (1000 * 3600)) / 1e1d,
+ VolumeFlowUnit.DecaliterPerMinute => (baseUnitValue * (1000 * 60)) / 1e1d,
VolumeFlowUnit.DecaliterPerSecond => (baseUnitValue * 1000) / 1e1d,
- VolumeFlowUnit.DeciliterPerDay => (baseUnitValue * 86400000) / 1e-1d,
- VolumeFlowUnit.DeciliterPerHour => (baseUnitValue * 3600000.000) / 1e-1d,
- VolumeFlowUnit.DeciliterPerMinute => (baseUnitValue * 60000.00000) / 1e-1d,
+ VolumeFlowUnit.DeciliterPerDay => (baseUnitValue * (1000 * 86400)) / 1e-1d,
+ VolumeFlowUnit.DeciliterPerHour => (baseUnitValue * (1000 * 3600)) / 1e-1d,
+ VolumeFlowUnit.DeciliterPerMinute => (baseUnitValue * (1000 * 60)) / 1e-1d,
VolumeFlowUnit.DeciliterPerSecond => (baseUnitValue * 1000) / 1e-1d,
- VolumeFlowUnit.HectoliterPerDay => (baseUnitValue * 86400000) / 1e2d,
- VolumeFlowUnit.HectoliterPerHour => (baseUnitValue * 3600000.000) / 1e2d,
- VolumeFlowUnit.HectoliterPerMinute => (baseUnitValue * 60000.00000) / 1e2d,
+ VolumeFlowUnit.HectoliterPerDay => (baseUnitValue * (1000 * 86400)) / 1e2d,
+ VolumeFlowUnit.HectoliterPerHour => (baseUnitValue * (1000 * 3600)) / 1e2d,
+ VolumeFlowUnit.HectoliterPerMinute => (baseUnitValue * (1000 * 60)) / 1e2d,
VolumeFlowUnit.HectoliterPerSecond => (baseUnitValue * 1000) / 1e2d,
- VolumeFlowUnit.KiloliterPerDay => (baseUnitValue * 86400000) / 1e3d,
- VolumeFlowUnit.KiloliterPerHour => (baseUnitValue * 3600000.000) / 1e3d,
- VolumeFlowUnit.KiloliterPerMinute => (baseUnitValue * 60000.00000) / 1e3d,
+ VolumeFlowUnit.KiloliterPerDay => (baseUnitValue * (1000 * 86400)) / 1e3d,
+ VolumeFlowUnit.KiloliterPerHour => (baseUnitValue * (1000 * 3600)) / 1e3d,
+ VolumeFlowUnit.KiloliterPerMinute => (baseUnitValue * (1000 * 60)) / 1e3d,
VolumeFlowUnit.KiloliterPerSecond => (baseUnitValue * 1000) / 1e3d,
- VolumeFlowUnit.KilousGallonPerMinute => baseUnitValue * 15.850323141489,
- VolumeFlowUnit.LiterPerDay => baseUnitValue * 86400000,
- VolumeFlowUnit.LiterPerHour => baseUnitValue * 3600000.000,
- VolumeFlowUnit.LiterPerMinute => baseUnitValue * 60000.00000,
+ VolumeFlowUnit.KilousGallonPerMinute => baseUnitValue / (1000 * 0.003785411784 / 60),
+ VolumeFlowUnit.LiterPerDay => baseUnitValue * (1000 * 86400),
+ VolumeFlowUnit.LiterPerHour => baseUnitValue * (1000 * 3600),
+ VolumeFlowUnit.LiterPerMinute => baseUnitValue * (1000 * 60),
VolumeFlowUnit.LiterPerSecond => baseUnitValue * 1000,
- VolumeFlowUnit.MegaliterPerDay => (baseUnitValue * 86400000) / 1e6d,
- VolumeFlowUnit.MegaliterPerHour => (baseUnitValue * 3600000.000) / 1e6d,
- VolumeFlowUnit.MegaliterPerMinute => (baseUnitValue * 60000.00000) / 1e6d,
+ VolumeFlowUnit.MegaliterPerDay => (baseUnitValue * (1000 * 86400)) / 1e6d,
+ VolumeFlowUnit.MegaliterPerHour => (baseUnitValue * (1000 * 3600)) / 1e6d,
+ VolumeFlowUnit.MegaliterPerMinute => (baseUnitValue * (1000 * 60)) / 1e6d,
VolumeFlowUnit.MegaliterPerSecond => (baseUnitValue * 1000) / 1e6d,
- VolumeFlowUnit.MegaukGallonPerDay => (baseUnitValue * 19005304) / 1e6d,
- VolumeFlowUnit.MegaukGallonPerSecond => (baseUnitValue * 219.969) / 1e6d,
- VolumeFlowUnit.MegausGallonPerDay => (baseUnitValue * 22824465.227) / 1e6d,
- VolumeFlowUnit.MicroliterPerDay => (baseUnitValue * 86400000) / 1e-6d,
- VolumeFlowUnit.MicroliterPerHour => (baseUnitValue * 3600000.000) / 1e-6d,
- VolumeFlowUnit.MicroliterPerMinute => (baseUnitValue * 60000.00000) / 1e-6d,
+ VolumeFlowUnit.MegaukGallonPerDay => (baseUnitValue / (0.00454609 / 86400)) / 1e6d,
+ VolumeFlowUnit.MegaukGallonPerSecond => (baseUnitValue / 0.00454609) / 1e6d,
+ VolumeFlowUnit.MegausGallonPerDay => (baseUnitValue / (0.003785411784 / 86400)) / 1e6d,
+ VolumeFlowUnit.MicroliterPerDay => (baseUnitValue * (1000 * 86400)) / 1e-6d,
+ VolumeFlowUnit.MicroliterPerHour => (baseUnitValue * (1000 * 3600)) / 1e-6d,
+ VolumeFlowUnit.MicroliterPerMinute => (baseUnitValue * (1000 * 60)) / 1e-6d,
VolumeFlowUnit.MicroliterPerSecond => (baseUnitValue * 1000) / 1e-6d,
- VolumeFlowUnit.MilliliterPerDay => (baseUnitValue * 86400000) / 1e-3d,
- VolumeFlowUnit.MilliliterPerHour => (baseUnitValue * 3600000.000) / 1e-3d,
- VolumeFlowUnit.MilliliterPerMinute => (baseUnitValue * 60000.00000) / 1e-3d,
+ VolumeFlowUnit.MilliliterPerDay => (baseUnitValue * (1000 * 86400)) / 1e-3d,
+ VolumeFlowUnit.MilliliterPerHour => (baseUnitValue * (1000 * 3600)) / 1e-3d,
+ VolumeFlowUnit.MilliliterPerMinute => (baseUnitValue * (1000 * 60)) / 1e-3d,
VolumeFlowUnit.MilliliterPerSecond => (baseUnitValue * 1000) / 1e-3d,
- VolumeFlowUnit.MillionUsGallonPerDay => baseUnitValue * 22.824465227,
- VolumeFlowUnit.NanoliterPerDay => (baseUnitValue * 86400000) / 1e-9d,
- VolumeFlowUnit.NanoliterPerHour => (baseUnitValue * 3600000.000) / 1e-9d,
- VolumeFlowUnit.NanoliterPerMinute => (baseUnitValue * 60000.00000) / 1e-9d,
+ VolumeFlowUnit.MillionUsGallonPerDay => baseUnitValue / (1e6 * 0.003785411784 / 86400),
+ VolumeFlowUnit.NanoliterPerDay => (baseUnitValue * (1000 * 86400)) / 1e-9d,
+ VolumeFlowUnit.NanoliterPerHour => (baseUnitValue * (1000 * 3600)) / 1e-9d,
+ VolumeFlowUnit.NanoliterPerMinute => (baseUnitValue * (1000 * 60)) / 1e-9d,
VolumeFlowUnit.NanoliterPerSecond => (baseUnitValue * 1000) / 1e-9d,
- VolumeFlowUnit.OilBarrelPerDay => baseUnitValue / 1.8401307283333333333333333333333e-6,
- VolumeFlowUnit.OilBarrelPerHour => baseUnitValue / 4.41631375e-5,
- VolumeFlowUnit.OilBarrelPerMinute => baseUnitValue / 2.64978825e-3,
- VolumeFlowUnit.OilBarrelPerSecond => baseUnitValue * 6.28981,
- VolumeFlowUnit.UkGallonPerDay => baseUnitValue * 19005304,
- VolumeFlowUnit.UkGallonPerHour => baseUnitValue * 791887.667,
- VolumeFlowUnit.UkGallonPerMinute => baseUnitValue * 13198.2,
- VolumeFlowUnit.UkGallonPerSecond => baseUnitValue * 219.969,
- VolumeFlowUnit.UsGallonPerDay => baseUnitValue * 22824465.227,
- VolumeFlowUnit.UsGallonPerHour => baseUnitValue * 951019.38848933424,
- VolumeFlowUnit.UsGallonPerMinute => baseUnitValue * 15850.323141489,
- VolumeFlowUnit.UsGallonPerSecond => baseUnitValue * 264.1720523581484,
+ VolumeFlowUnit.OilBarrelPerDay => baseUnitValue / (0.158987294928 / 86400),
+ VolumeFlowUnit.OilBarrelPerHour => baseUnitValue / (0.158987294928 / 3600),
+ VolumeFlowUnit.OilBarrelPerMinute => baseUnitValue / (0.158987294928 / 60),
+ VolumeFlowUnit.OilBarrelPerSecond => baseUnitValue / 0.158987294928,
+ VolumeFlowUnit.UkGallonPerDay => baseUnitValue / (0.00454609 / 86400),
+ VolumeFlowUnit.UkGallonPerHour => baseUnitValue / (0.00454609 / 3600),
+ VolumeFlowUnit.UkGallonPerMinute => baseUnitValue / (0.00454609 / 60),
+ VolumeFlowUnit.UkGallonPerSecond => baseUnitValue / 0.00454609,
+ VolumeFlowUnit.UsGallonPerDay => baseUnitValue / (0.003785411784 / 86400),
+ VolumeFlowUnit.UsGallonPerHour => baseUnitValue / (0.003785411784 / 3600),
+ VolumeFlowUnit.UsGallonPerMinute => baseUnitValue / (0.003785411784 / 60),
+ VolumeFlowUnit.UsGallonPerSecond => baseUnitValue / 0.003785411784,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
}
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/VolumeFlowPerArea.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/VolumeFlowPerArea.g.cs
index ff377e8767..e1a254efb1 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/VolumeFlowPerArea.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/VolumeFlowPerArea.g.cs
@@ -145,7 +145,7 @@ private double GetValueInBaseUnit()
{
return Unit switch
{
- VolumeFlowPerAreaUnit.CubicFootPerMinutePerSquareFoot => _value / 196.850394,
+ VolumeFlowPerAreaUnit.CubicFootPerMinutePerSquareFoot => _value * (0.028316846592 / 60) / 9.290304e-2,
VolumeFlowPerAreaUnit.CubicMeterPerSecondPerSquareMeter => _value,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
@@ -160,7 +160,7 @@ private double GetValueAs(VolumeFlowPerAreaUnit unit)
return unit switch
{
- VolumeFlowPerAreaUnit.CubicFootPerMinutePerSquareFoot => baseUnitValue * 196.850394,
+ VolumeFlowPerAreaUnit.CubicFootPerMinutePerSquareFoot => baseUnitValue * 9.290304e-2 / (0.028316846592 / 60),
VolumeFlowPerAreaUnit.CubicMeterPerSecondPerSquareMeter => baseUnitValue,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/VolumePerLength.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/VolumePerLength.g.cs
index a6cadbc648..ab85df6067 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/VolumePerLength.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/VolumePerLength.g.cs
@@ -223,14 +223,14 @@ private double GetValueInBaseUnit()
return Unit switch
{
VolumePerLengthUnit.CubicMeterPerMeter => _value,
- VolumePerLengthUnit.CubicYardPerFoot => _value * 2.50838208,
- VolumePerLengthUnit.CubicYardPerUsSurveyFoot => _value * 2.50837706323584,
- VolumePerLengthUnit.ImperialGallonPerMile => _value / (1000 * 1609.344 / 4.54609),
+ VolumePerLengthUnit.CubicYardPerFoot => _value * 0.764554857984 / 0.3048,
+ VolumePerLengthUnit.CubicYardPerUsSurveyFoot => _value * 0.764554857984 * 3937 / 1200,
+ VolumePerLengthUnit.ImperialGallonPerMile => _value * 0.00454609 / 1609.344,
VolumePerLengthUnit.LiterPerKilometer => _value / 1e6,
VolumePerLengthUnit.LiterPerMeter => _value / 1000,
VolumePerLengthUnit.LiterPerMillimeter => _value,
- VolumePerLengthUnit.OilBarrelPerFoot => _value / 1.91713408,
- VolumePerLengthUnit.UsGallonPerMile => _value / (1000 * 1609.344 / 3.785411784),
+ VolumePerLengthUnit.OilBarrelPerFoot => _value * 0.158987294928 / 0.3048,
+ VolumePerLengthUnit.UsGallonPerMile => _value * 0.003785411784 / 1609.344,
_ => throw new NotImplementedException($"Can not convert {Unit} to base units.")
};
}
@@ -245,14 +245,14 @@ private double GetValueAs(VolumePerLengthUnit unit)
return unit switch
{
VolumePerLengthUnit.CubicMeterPerMeter => baseUnitValue,
- VolumePerLengthUnit.CubicYardPerFoot => baseUnitValue / 2.50838208,
- VolumePerLengthUnit.CubicYardPerUsSurveyFoot => baseUnitValue / 2.50837706323584,
- VolumePerLengthUnit.ImperialGallonPerMile => baseUnitValue * (1000 * 1609.344 / 4.54609),
+ VolumePerLengthUnit.CubicYardPerFoot => baseUnitValue * 0.3048 / 0.764554857984,
+ VolumePerLengthUnit.CubicYardPerUsSurveyFoot => baseUnitValue * 1200 / (0.764554857984 * 3937),
+ VolumePerLengthUnit.ImperialGallonPerMile => baseUnitValue * 1609.344 / 0.00454609,
VolumePerLengthUnit.LiterPerKilometer => baseUnitValue * 1e6,
VolumePerLengthUnit.LiterPerMeter => baseUnitValue * 1000,
VolumePerLengthUnit.LiterPerMillimeter => baseUnitValue,
- VolumePerLengthUnit.OilBarrelPerFoot => baseUnitValue * 1.91713408,
- VolumePerLengthUnit.UsGallonPerMile => baseUnitValue * (1000 * 1609.344 / 3.785411784),
+ VolumePerLengthUnit.OilBarrelPerFoot => baseUnitValue * 0.3048 / 0.158987294928,
+ VolumePerLengthUnit.UsGallonPerMile => baseUnitValue * 1609.344 / 0.003785411784,
_ => throw new NotImplementedException($"Can not convert {Unit} to {unit}.")
};
}
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Quantities/VolumetricHeatCapacity.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Quantities/VolumetricHeatCapacity.g.cs
index 8e6df60ed4..47a4b6882d 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Quantities/VolumetricHeatCapacity.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Quantities/VolumetricHeatCapacity.g.cs
@@ -225,11 +225,11 @@ private double GetValueInBaseUnit()
{
return Unit switch
{
- VolumetricHeatCapacityUnit.BtuPerCubicFootDegreeFahrenheit => _value / 1.4910660e-5,
- VolumetricHeatCapacityUnit.CaloriePerCubicCentimeterDegreeCelsius => _value / 2.388459e-7,
+ VolumetricHeatCapacityUnit.BtuPerCubicFootDegreeFahrenheit => _value * (1055.05585262 / 0.028316846592) * 1.8,
+ VolumetricHeatCapacityUnit.CaloriePerCubicCentimeterDegreeCelsius => _value * 4.184e6,
VolumetricHeatCapacityUnit.JoulePerCubicMeterDegreeCelsius => _value,
VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin => _value,
- VolumetricHeatCapacityUnit.KilocaloriePerCubicCentimeterDegreeCelsius => (_value / 2.388459e-7) * 1e3d,
+ VolumetricHeatCapacityUnit.KilocaloriePerCubicCentimeterDegreeCelsius => (_value * 4.184e6) * 1e3d,
VolumetricHeatCapacityUnit.KilojoulePerCubicMeterDegreeCelsius => (_value) * 1e3d,
VolumetricHeatCapacityUnit.KilojoulePerCubicMeterKelvin => (_value) * 1e3d,
VolumetricHeatCapacityUnit.MegajoulePerCubicMeterDegreeCelsius => (_value) * 1e6d,
@@ -247,11 +247,11 @@ private double GetValueAs(VolumetricHeatCapacityUnit unit)
return unit switch
{
- VolumetricHeatCapacityUnit.BtuPerCubicFootDegreeFahrenheit => baseUnitValue * 1.4910660e-5,
- VolumetricHeatCapacityUnit.CaloriePerCubicCentimeterDegreeCelsius => baseUnitValue * 2.388459e-7,
+ VolumetricHeatCapacityUnit.BtuPerCubicFootDegreeFahrenheit => baseUnitValue / ((1055.05585262 / 0.028316846592) * 1.8),
+ VolumetricHeatCapacityUnit.CaloriePerCubicCentimeterDegreeCelsius => baseUnitValue / 4.184e6,
VolumetricHeatCapacityUnit.JoulePerCubicMeterDegreeCelsius => baseUnitValue,
VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin => baseUnitValue,
- VolumetricHeatCapacityUnit.KilocaloriePerCubicCentimeterDegreeCelsius => (baseUnitValue * 2.388459e-7) / 1e3d,
+ VolumetricHeatCapacityUnit.KilocaloriePerCubicCentimeterDegreeCelsius => (baseUnitValue / 4.184e6) / 1e3d,
VolumetricHeatCapacityUnit.KilojoulePerCubicMeterDegreeCelsius => (baseUnitValue) / 1e3d,
VolumetricHeatCapacityUnit.KilojoulePerCubicMeterKelvin => (baseUnitValue) / 1e3d,
VolumetricHeatCapacityUnit.MegajoulePerCubicMeterDegreeCelsius => (baseUnitValue) / 1e6d,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Units/AccelerationUnit.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Units/AccelerationUnit.g.cs
index b4f1c48938..a514c50ff7 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Units/AccelerationUnit.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Units/AccelerationUnit.g.cs
@@ -30,7 +30,17 @@ public enum AccelerationUnit
FootPerSecondSquared = 3,
InchPerSecondSquared = 4,
KilometerPerSecondSquared = 5,
+
+ ///
+ /// The knot (/nɒt/) is a unit of speed equal to one nautical mile per hour, exactly 1.852 km/h (approximately 1.151 mph or 0.514 m/s).
+ ///
+ /// https://en.wikipedia.org/wiki/Knot_(unit)
KnotPerHour = 6,
+
+ ///
+ /// The knot (/nɒt/) is a unit of speed equal to one nautical mile per hour, exactly 1.852 km/h (approximately 1.151 mph or 0.514 m/s).
+ ///
+ /// https://en.wikipedia.org/wiki/Knot_(unit)
KnotPerMinute = 7,
KnotPerSecond = 8,
MeterPerSecondSquared = 9,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Units/DensityUnit.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Units/DensityUnit.g.cs
index 70b4e91fc7..638b21b01a 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Units/DensityUnit.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Units/DensityUnit.g.cs
@@ -70,7 +70,7 @@ public enum DensityUnit
PoundPerCubicMillimeter = 39,
///
- /// Calculated from the definition of pound and yard compared to metric kilogram and meter.
+ /// Calculated from the definition of pound and Cubic yard compared to metric kilogram and meter.
///
PoundPerCubicYard = 58,
PoundPerImperialGallon = 40,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Units/EnergyUnit.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Units/EnergyUnit.g.cs
index 392f8f736a..87b58d3a8a 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Units/EnergyUnit.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Units/EnergyUnit.g.cs
@@ -30,14 +30,34 @@ public enum EnergyUnit
DecathermEc = 3,
DecathermImperial = 4,
DecathermUs = 5,
+
+ ///
+ /// In physics, an electronvolt (symbol eV, also written electron-volt and electron volt) is the measure of an amount of kinetic energy gained by a single electron accelerating from rest through an electric potential difference of one volt in vacuum. When used as a unit of energy, the numerical value of 1 eV in joules (symbol J) is equivalent to the numerical value of the charge of an electron in coulombs (symbol C). Under the 2019 redefinition of the SI base units, this sets 1 eV equal to the exact value 1.602176634×10−19 J.
+ ///
+ /// https://en.wikipedia.org/wiki/Electronvolt
ElectronVolt = 6,
+
+ ///
+ /// The erg is a unit of energy equal to 10−7 joules (100 nJ). It originated in the Centimetre–gram–second system of units (CGS). It has the symbol erg. The erg is not an SI unit. Its name is derived from ergon (ἔργον), a Greek word meaning 'work' or 'task'.
+ ///
+ /// https://en.wikipedia.org/wiki/Erg
Erg = 7,
+
+ ///
+ /// A pound-foot (lb⋅ft), abbreviated from pound-force foot (lbf · ft), is a unit of torque representing one pound of force acting at a perpendicular distance of one foot from a pivot point. Conversely one foot pound-force (ft · lbf) is the moment about an axis that applies one pound-force at a radius of one foot.
+ ///
+ /// https://en.wikipedia.org/wiki/Pound-foot_(torque)
FootPound = 8,
GigabritishThermalUnit = 9,
GigaelectronVolt = 10,
Gigajoule = 11,
GigawattDay = 12,
GigawattHour = 13,
+
+ ///
+ /// A horsepower-hour (symbol: hp⋅h) is an outdated unit of energy, not used in the International System of Units. The unit represents an amount of work a horse is supposed capable of delivering during an hour (1 horsepower integrated over a time interval of an hour).
+ ///
+ /// https://en.wikipedia.org/wiki/Horsepower-hour
HorsepowerHour = 14,
Joule = 15,
KilobritishThermalUnit = 16,
@@ -60,8 +80,23 @@ public enum EnergyUnit
Terajoule = 37,
TerawattDay = 30,
TerawattHour = 31,
+
+ ///
+ /// The therm (symbol, thm) is a non-SI unit of heat energy equal to 100,000 British thermal units (BTU), and approximately 105 megajoules, 29.3 kilowatt-hours, 25,200 kilocalories and 25.2 thermies. One therm is the energy content of approximately 100 cubic feet (2.83 cubic metres) of natural gas at standard temperature and pressure. However, the BTU is not standardised worldwide, with slightly different values in the EU, UK, and United States, meaning that the energy content of the therm also varies by territory.
+ ///
+ /// https://en.wikipedia.org/wiki/Therm
ThermEc = 32,
+
+ ///
+ /// The therm (symbol, thm) is a non-SI unit of heat energy equal to 100,000 British thermal units (BTU), and approximately 105 megajoules, 29.3 kilowatt-hours, 25,200 kilocalories and 25.2 thermies. One therm is the energy content of approximately 100 cubic feet (2.83 cubic metres) of natural gas at standard temperature and pressure. However, the BTU is not standardised worldwide, with slightly different values in the EU, UK, and United States, meaning that the energy content of the therm also varies by territory.
+ ///
+ /// https://en.wikipedia.org/wiki/Therm
ThermImperial = 33,
+
+ ///
+ /// The therm (symbol, thm) is a non-SI unit of heat energy equal to 100,000 British thermal units (BTU), and approximately 105 megajoules, 29.3 kilowatt-hours, 25,200 kilocalories and 25.2 thermies. One therm is the energy content of approximately 100 cubic feet (2.83 cubic metres) of natural gas at standard temperature and pressure. However, the BTU is not standardised worldwide, with slightly different values in the EU, UK, and United States, meaning that the energy content of the therm also varies by territory.
+ ///
+ /// https://en.wikipedia.org/wiki/Therm
ThermUs = 34,
WattDay = 35,
WattHour = 36,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Units/FrequencyUnit.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Units/FrequencyUnit.g.cs
index 370d1d3ccd..9bd8b9aa0e 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Units/FrequencyUnit.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Units/FrequencyUnit.g.cs
@@ -36,6 +36,11 @@ public enum FrequencyUnit
Microhertz = 16,
Millihertz = 21,
PerSecond = 9,
+
+ ///
+ /// In SI units, angular frequency is normally presented with the unit radian per second, and need not express a rotational value. The unit hertz (Hz) is dimensionally equivalent, but by convention it is only used for frequency f, never for angular frequency ω. This convention is used to help avoid the confusion that arises when dealing with quantities such as frequency and angular quantities because the units of measure (such as cycle or radian) are considered to be one and hence may be omitted when expressing quantities in terms of SI units.
+ ///
+ /// https://en.wikipedia.org/wiki/Angular_frequency
RadianPerSecond = 10,
Terahertz = 11,
}
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Units/LengthUnit.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Units/LengthUnit.g.cs
index 9323e39ba8..0c92578089 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Units/LengthUnit.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Units/LengthUnit.g.cs
@@ -38,6 +38,11 @@ public enum LengthUnit
/// https://en.wikipedia.org/wiki/Astronomical_unit
AstronomicalUnit = 2,
Centimeter = 3,
+
+ ///
+ /// The chain (abbreviated ch) is a unit of length equal to 66 feet (22 yards), used in both the US customary and Imperial unit systems. It is subdivided into 100 links. There are 10 chains in a furlong, and 80 chains in one statute mile. In metric terms, it is 20.1168 m long.
+ ///
+ /// https://en.wikipedia.org/wiki/Chain_(unit)
Chain = 4,
///
@@ -47,14 +52,39 @@ public enum LengthUnit
DataMile = 5,
Decameter = 6,
Decimeter = 7,
+
+ ///
+ /// The pica is a typographic unit of measure corresponding to approximately 1⁄6 of an inch, or from 1⁄68 to 1⁄73 of a foot. One pica is further divided into 12 points.
+ ///
+ /// https://en.wikipedia.org/wiki/Pica_(typography)
DtpPica = 8,
+
+ ///
+ /// The desktop publishing point (DTP) is defined as 1⁄72 of an inch (1/72 × 25.4 mm ≈ 0.353 mm) and, as with earlier American point sizes, is considered to be 1⁄12 of a pica.
+ ///
+ /// https://en.wikipedia.org/wiki/Point_(typography)
DtpPoint = 9,
Fathom = 10,
Femtometer = 48,
+
+ ///
+ /// The foot (pl. feet; standard symbol: ft) is a unit of length in the British imperial and United States customary systems of measurement. The prime symbol, ′, is commonly used to represent the foot. In both customary and imperial units, one foot comprises 12 inches, and one yard comprises three feet. Since an international agreement in 1959, the foot is defined as equal to exactly 0.3048 meters.
+ ///
+ /// https://en.wikipedia.org/wiki/Foot_(unit)
Foot = 11,
Gigameter = 44,
+
+ ///
+ /// The hand is a non-SI unit of measurement of length standardized to 4 in (101.6 mm). It is used to measure the height of horses in many English-speaking countries, including Australia, Canada, Ireland, the United Kingdom, and the United States. It was originally based on the breadth of a human hand.
+ ///
+ /// https://en.wikipedia.org/wiki/Hand_(unit)
Hand = 12,
Hectometer = 13,
+
+ ///
+ /// The inch (symbol: in or ″) is a unit of length in the British Imperial and the United States customary systems of measurement. It is equal to 1/36 yard or 1/12 of a foot. Derived from the Roman uncia ("twelfth"), the word inch is also sometimes used to translate similar units in other measurement systems, usually understood as deriving from the width of the human thumb.
+ ///
+ /// https://en.wikipedia.org/wiki/Inch
Inch = 14,
Kilofoot = 45,
KilolightYear = 15,
@@ -90,7 +120,17 @@ public enum LengthUnit
/// https://en.wikipedia.org/wiki/Parsec
Parsec = 29,
Picometer = 43,
+
+ ///
+ /// The American pica of 0.16604 inches (~4.217 mm) was established by the United States Type Founders' Association in 1886. In TeX one pica is 400⁄2409 of an inch.
+ ///
+ /// https://en.wikipedia.org/wiki/Pica_(typography)
PrinterPica = 30,
+
+ ///
+ /// In typography, the point is the smallest unit of measure. It is used for measuring font size, leading, and other items on a printed page. In modern times this size of the point has been approximated as exactly 1⁄72.27 (0.01383700013837) of the inch by Donald Knuth for the default unit of his TeX computer typesetting system and is thus sometimes known as the TeX point.
+ ///
+ /// https://en.wikipedia.org/wiki/Point_(typography)
PrinterPoint = 31,
Shackle = 32,
@@ -99,6 +139,11 @@ public enum LengthUnit
///
/// https://en.wikipedia.org/wiki/Stellar_classification
SolarRadius = 33,
+
+ ///
+ /// A twip (abbreviating "twentieth of a point" or "twentieth of an inch point") is a typographical measurement, defined as 1⁄20 of a typographical point. One twip is 1⁄1440 inch, or ~17.64 μm.
+ ///
+ /// https://en.wikipedia.org/wiki/Twip
Twip = 34,
///
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Units/LuminosityUnit.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Units/LuminosityUnit.g.cs
index 44cdfec58c..f15cfe1cef 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Units/LuminosityUnit.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Units/LuminosityUnit.g.cs
@@ -36,7 +36,11 @@ public enum LuminosityUnit
Nanowatt = 9,
Petawatt = 10,
Picowatt = 11,
- /// https://www.britannica.com/science/luminosity
+
+ ///
+ /// The IAU has defined a nominal solar luminosity of 3.828×10^26 W to promote publication of consistent and comparable values in units of the solar luminosity.
+ ///
+ /// https://en.wikipedia.org/wiki/Luminosity#Measurement
SolarLuminosity = 12,
Terawatt = 13,
Watt = 14,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Units/MassUnit.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Units/MassUnit.g.cs
index 40dca115f1..8bf661827e 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Units/MassUnit.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Units/MassUnit.g.cs
@@ -106,6 +106,11 @@ public enum MassUnit
///
/// http://en.wikipedia.org/wiki/Stone_(unit)
Stone = 24,
+
+ ///
+ /// The tonne is a unit of mass equal to 1,000 kilograms. It is a non-SI unit accepted for use with SI. It is also referred to as a metric ton in the United States to distinguish it from the non-metric units of the short ton (United States customary units) and the long ton (British imperial units). It is equivalent to approximately 2,204.6 pounds, 1.102 short tons, and 0.984 long tons.
+ ///
+ /// https://en.wikipedia.org/wiki/Tonne
Tonne = 25,
}
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Units/PorousMediumPermeabilityUnit.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Units/PorousMediumPermeabilityUnit.g.cs
index 9b57db7199..0ef3c52664 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Units/PorousMediumPermeabilityUnit.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Units/PorousMediumPermeabilityUnit.g.cs
@@ -25,6 +25,11 @@ namespace UnitsNet.Units
public enum PorousMediumPermeabilityUnit
{
+
+ ///
+ /// The darcy (or darcy unit) and millidarcy (md or mD) are units of permeability, named after Henry Darcy. They are not SI units, but they are widely used in petroleum engineering and geology.
+ ///
+ /// https://en.wikipedia.org/wiki/Darcy_(unit)
Darcy = 1,
Microdarcy = 2,
Millidarcy = 3,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Units/PowerUnit.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Units/PowerUnit.g.cs
index 303f690f6e..cde5717808 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Units/PowerUnit.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Units/PowerUnit.g.cs
@@ -25,23 +25,48 @@ namespace UnitsNet.Units
public enum PowerUnit
{
+
+ ///
+ /// Boiler horsepower is a boiler's capacity to deliver steam to a steam engine and is not the same unit of power as the 550 ft lb/s definition. One boiler horsepower is equal to the thermal energy rate required to evaporate 34.5 pounds (15.6 kg) of fresh water at 212 °F (100 °C) in one hour.
+ ///
+ /// https://en.wikipedia.org/wiki/Horsepower#Boiler_horsepower
BoilerHorsepower = 1,
BritishThermalUnitPerHour = 2,
Decawatt = 3,
Deciwatt = 4,
+
+ ///
+ /// Nameplates on electrical motors show their power output, not the power input (the power delivered at the shaft, not the power consumed to drive the motor). This power output is ordinarily stated in watts or kilowatts. In the United States, the power output is stated in horsepower, which for this purpose is defined as exactly 746 W.
+ ///
+ /// https://en.wikipedia.org/wiki/Horsepower#Electrical_horsepower
ElectricalHorsepower = 5,
Femtowatt = 6,
GigajoulePerHour = 7,
Gigawatt = 8,
+
+ ///
+ /// Hydraulic horsepower can represent the power available within hydraulic machinery, power through the down-hole nozzle of a drilling rig, or can be used to estimate the mechanical power needed to generate a known hydraulic flow rate.
+ ///
+ /// https://en.wikipedia.org/wiki/Horsepower#Hydraulic_horsepower
HydraulicHorsepower = 9,
JoulePerHour = 10,
KilobritishThermalUnitPerHour = 11,
KilojoulePerHour = 12,
Kilowatt = 13,
+
+ ///
+ /// Assuming the third CGPM (1901, CR 70) definition of standard gravity, gn = 9.80665 m/s2, is used to define the pound-force as well as the kilogram force, and the international avoirdupois pound (1959), one imperial horsepower is: 76.0402249 × 9.80665 kg⋅m2/s3
+ ///
+ /// https://en.wikipedia.org/wiki/Horsepower#Imperial_horsepower
MechanicalHorsepower = 14,
MegabritishThermalUnitPerHour = 15,
MegajoulePerHour = 16,
Megawatt = 17,
+
+ ///
+ /// DIN 66036 defines one metric horsepower as the power to raise a mass of 75 kilograms against the Earth's gravitational force over a distance of one metre in one second:[18] 75 kg × 9.80665 m/s2 × 1 m / 1 s = 75 kgf⋅m/s = 1 PS. This is equivalent to 735.49875 W, or 98.6% of an imperial horsepower.
+ ///
+ /// https://en.wikipedia.org/wiki/Horsepower#Metric_horsepower_(PS,_KM,_cv,_hk,_pk,_k,_ks,_ch)
MetricHorsepower = 18,
Microwatt = 19,
MillijoulePerHour = 20,
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Units/PressureUnit.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Units/PressureUnit.g.cs
index 69a642d708..175f6dbcc5 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Units/PressureUnit.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Units/PressureUnit.g.cs
@@ -25,7 +25,17 @@ namespace UnitsNet.Units
public enum PressureUnit
{
+
+ ///
+ /// The standard atmosphere (symbol: atm) is a unit of pressure defined as 101325 Pa. It is sometimes used as a reference pressure or standard pressure. It is approximately equal to Earth's average atmospheric pressure at sea level.
+ ///
+ /// https://en.wikipedia.org/wiki/Standard_atmosphere_(unit)
Atmosphere = 1,
+
+ ///
+ /// The bar is a metric unit of pressure defined as 100,000 Pa (100 kPa), though not part of the International System of Units (SI). A pressure of 1 bar is slightly less than the current average atmospheric pressure on Earth at sea level (approximately 1.013 bar).
+ ///
+ /// https://en.wikipedia.org/wiki/Bar_(unit)
Bar = 2,
Centibar = 3,
CentimeterOfWaterColumn = 48,
@@ -36,9 +46,24 @@ public enum PressureUnit
FootOfHead = 8,
Gigapascal = 9,
Hectopascal = 10,
+
+ ///
+ /// Inch of mercury (inHg and ″Hg) is a non-SI unit of measurement for pressure. It is used for barometric pressure in weather reports, refrigeration and aviation in the United States. It is the pressure exerted by a column of mercury 1 inch (25.4 mm) in height at the standard acceleration of gravity.
+ ///
+ /// https://en.wikipedia.org/wiki/Inch_of_mercury
InchOfMercury = 11,
+
+ ///
+ /// Inches of water is a non-SI unit for pressure. It is defined as the pressure exerted by a column of water of 1 inch in height at defined conditions. At a temperature of 4 °C (39.2 °F) pure water has its highest density (1000 kg/m3). At that temperature and assuming the standard acceleration of gravity, 1 inAq is approximately 249.082 pascals (0.0361263 psi).
+ ///
+ /// https://en.wikipedia.org/wiki/Inch_of_water
InchOfWaterColumn = 12,
Kilobar = 13,
+
+ ///
+ /// A kilogram-force per centimetre square (kgf/cm2), often just kilogram per square centimetre (kg/cm2), or kilopond per centimetre square (kp/cm2) is a deprecated unit of pressure using metric units. It is not a part of the International System of Units (SI), the modern metric system. 1 kgf/cm2 equals 98.0665 kPa (kilopascals). It is also known as a technical atmosphere (symbol: at).
+ ///
+ /// https://en.wikipedia.org/wiki/Kilogram-force_per_square_centimetre
KilogramForcePerSquareCentimeter = 14,
KilogramForcePerSquareMeter = 15,
KilogramForcePerSquareMillimeter = 16,
@@ -54,10 +79,20 @@ public enum PressureUnit
Megapascal = 26,
MeterOfElevation = 27,
MeterOfHead = 28,
+
+ ///
+ /// A centimetre of water is defined as the pressure exerted by a column of water of 1 cm in height at 4 °C (temperature of maximum density) at the standard acceleration of gravity, so that 1 cmH2O (4°C) = 999.9720 kg/m3 × 9.80665 m/s2 × 1 cm = 98.063754138 Pa, but conventionally a nominal maximum water density of 1000 kg/m3 is used, giving 98.0665 Pa.
+ ///
+ /// https://en.wikipedia.org/wiki/Centimetre_or_millimetre_of_water
MeterOfWaterColumn = 57,
Microbar = 29,
Micropascal = 30,
Millibar = 31,
+
+ ///
+ /// A millimetre of mercury is a manometric unit of pressure, formerly defined as the extra pressure generated by a column of mercury one millimetre high, and currently defined as exactly 133.322387415 pascals.
+ ///
+ /// https://en.wikipedia.org/wiki/Millimetre_of_mercury
MillimeterOfMercury = 32,
MillimeterOfWaterColumn = 33,
Millipascal = 34,
@@ -69,10 +104,20 @@ public enum PressureUnit
PoundForcePerSquareInch = 40,
PoundForcePerSquareMil = 41,
PoundPerInchSecondSquared = 42,
+
+ ///
+ /// A kilogram-force per centimetre square (kgf/cm2), often just kilogram per square centimetre (kg/cm2), or kilopond per centimetre square (kp/cm2) is a deprecated unit of pressure using metric units. It is not a part of the International System of Units (SI), the modern metric system. 1 kgf/cm2 equals 98.0665 kPa (kilopascals). It is also known as a technical atmosphere (symbol: at).
+ ///
+ /// https://en.wikipedia.org/wiki/Kilogram-force_per_square_centimetre
TechnicalAtmosphere = 43,
TonneForcePerSquareCentimeter = 44,
TonneForcePerSquareMeter = 45,
TonneForcePerSquareMillimeter = 46,
+
+ ///
+ /// The torr (symbol: Torr) is a unit of pressure based on an absolute scale, defined as exactly 1/760 of a standard atmosphere (101325 Pa). Thus one torr is exactly 101325/760 pascals (≈ 133.32 Pa).
+ ///
+ /// https://en.wikipedia.org/wiki/Torr
Torr = 47,
}
diff --git a/UnitsNet.NanoFramework/GeneratedCode/Units/VolumeUnit.g.cs b/UnitsNet.NanoFramework/GeneratedCode/Units/VolumeUnit.g.cs
index c35715428b..84dbccfb05 100644
--- a/UnitsNet.NanoFramework/GeneratedCode/Units/VolumeUnit.g.cs
+++ b/UnitsNet.NanoFramework/GeneratedCode/Units/VolumeUnit.g.cs
@@ -25,20 +25,55 @@ namespace UnitsNet.Units
public enum VolumeUnit
{
+
+ ///
+ /// An acre-foot is 43,560 cubic feet (~1,233.5 m3).
+ ///
+ /// https://en.wikipedia.org/wiki/Acre-foot
AcreFoot = 1,
+
+ ///
+ /// In Australia, the definition of the tablespoon is 20 ml (0.70 imp fl oz).
+ ///
+ /// https://en.wikipedia.org/wiki/Tablespoon#Australia
AuTablespoon = 2,
+
+ ///
+ /// The board foot or board-foot is a unit of measurement for the volume of lumber in the United States and Canada. It equals the volume of a board that is one-foot (305 mm) in length, one-foot (305 mm) in width, and one-inch (25.4 mm) in thickness.
+ ///
+ /// https://en.wikipedia.org/wiki/Board_foot
BoardFoot = 3,
Centiliter = 4,
CubicCentimeter = 5,
CubicDecimeter = 6,
+
+ ///
+ /// The cubic foot (symbol ft3 or cu ft) is an imperial and US customary (non-metric) unit of volume, used in the United States and the United Kingdom. It is defined as the volume of a cube with sides of one foot (0.3048 m) in length.
+ ///
+ /// https://en.wikipedia.org/wiki/Cubic_foot
CubicFoot = 7,
CubicHectometer = 8,
+
+ ///
+ /// The cubic inch (symbol in3) is a unit of volume in the Imperial units and United States customary units systems. It is the volume of a cube with each of its three dimensions (length, width, and height) being one inch long which is equivalent to 1/231 of a US gallon.
+ ///
+ /// https://en.wikipedia.org/wiki/Cubic_yard
CubicInch = 9,
CubicKilometer = 10,
CubicMeter = 11,
CubicMicrometer = 12,
+
+ ///
+ /// A cubic mile (abbreviation: cu mi or mi3) is an imperial and US customary (non-SI non-metric) unit of volume, used in the United States, Canada and the United Kingdom. It is defined as the volume of a cube with sides of 1 mile (63360 inches, 5280 feet, 1760 yards or ~1.609 kilometres) in length.
+ ///
+ /// https://en.wikipedia.org/wiki/Cubic_mile
CubicMile = 13,
CubicMillimeter = 14,
+
+ ///
+ /// A cubic yard is an Imperial / U.S. customary (non-SI non-metric) unit of volume, used in Canada and the United States. It is defined as the volume of a cube with sides of 1 yard (3 feet, 36 inches, 0.9144 meters) in length.
+ ///
+ /// https://en.wikipedia.org/wiki/Cubic_yard
CubicYard = 15,
Decaliter = 16,
DecausGallon = 17,
@@ -48,6 +83,11 @@ public enum VolumeUnit
HectocubicMeter = 21,
Hectoliter = 22,
HectousGallon = 23,
+
+ ///
+ /// Fluid barrels vary depending on what is being measured and where. In the UK a beer barrel is 36 imperial gallons (43 US gal; ~164 L).
+ ///
+ /// https://en.wikipedia.org/wiki/Barrel_(unit)#Fluid_barrel_in_the_US_and_UK
ImperialBeerBarrel = 24,
///
@@ -55,8 +95,23 @@ public enum VolumeUnit
///
/// https://en.wikipedia.org/wiki/Gallon#Imperial_gallon
ImperialGallon = 25,
+
+ ///
+ /// An imperial fluid ounce is 1⁄20 of an imperial pint, 1⁄160 of an imperial gallon or exactly 28.4130625 mL.
+ ///
+ /// https://en.wikipedia.org/wiki/Fluid_ounce
ImperialOunce = 26,
+
+ ///
+ /// The pint is a unit of volume or capacity in both the imperial and United States customary measurement systems. In both of those systems it is traditionally one eighth of a gallon. The British imperial pint is about 20% larger than the American pint because the two systems are defined differently.
+ ///
+ /// https://en.wikipedia.org/wiki/Pint#Imperial_pint
ImperialPint = 27,
+
+ ///
+ /// The imperial quart, which is used for both liquid and dry capacity, is equal to one quarter of an imperial gallon, or exactly 1.1365225 liters.
+ ///
+ /// https://en.wikipedia.org/wiki/Quart#Imperial_quart
ImperialQuart = 57,
KilocubicFoot = 28,
KilocubicMeter = 29,
@@ -68,14 +123,44 @@ public enum VolumeUnit
MegaimperialGallon = 35,
Megaliter = 36,
MegausGallon = 37,
+
+ ///
+ /// Australia, Canada, New Zealand, and some other members of the Commonwealth of Nations, being former British colonies that have since metricated, employ a metric cup of 250 millilitres. Although derived from the metric system, it is not an SI unit.
+ ///
+ /// https://en.wikipedia.org/wiki/Cup_(unit)#Metric_cup
MetricCup = 38,
+
+ ///
+ /// The metric teaspoon as a unit of culinary measure is 5 ml (0.18 imp fl oz; 0.17 US fl oz),[17] equal to 5 cm3, 1⁄3 UK/Canadian metric tablespoon, or 1⁄4 Australian metric tablespoon.
+ ///
+ /// https://en.wikipedia.org/wiki/Teaspoon#Metric_teaspoon
MetricTeaspoon = 39,
Microliter = 40,
Milliliter = 41,
Nanoliter = 53,
+
+ ///
+ /// In the oil industry, one barrel (unit symbol bbl) is a unit of volume used for measuring oil defined as exactly 42 US gallons, approximately 159 liters, or 35 imperial gallons.
+ ///
+ /// https://en.wikipedia.org/wiki/Barrel_(unit)#Oil_barrel
OilBarrel = 42,
+
+ ///
+ /// In nutrition labeling in the U.S. and the U.K., a tablespoon is defined as 15 ml (0.51 US fl oz). In Australia, the definition of the tablespoon is 20 ml (0.70 imp fl oz).
+ ///
+ /// https://en.wikipedia.org/wiki/Tablespoon#International
UkTablespoon = 43,
+
+ ///
+ /// Fluid barrels vary depending on what is being measured and where. In the US most fluid barrels (apart from oil) are 31.5 US gallons (26 imp gal; 119 L) (half a hogshead), but a beer barrel is 31 US gallons (26 imp gal; 117 L).
+ ///
+ /// https://en.wikipedia.org/wiki/Barrel_(unit)#Fluid_barrel_in_the_US_and_UK
UsBeerBarrel = 44,
+
+ ///
+ /// In the United States, the customary cup is half of a liquid pint or 1⁄16 US customary gallon which is 236.5882365 milliliters exactly.
+ ///
+ /// https://en.wikipedia.org/wiki/Cup_(unit)#Customary_cup
UsCustomaryCup = 45,
///
@@ -83,11 +168,41 @@ public enum VolumeUnit
///
/// https://en.wikipedia.org/wiki/Gallon#US_liquid_gallon
UsGallon = 46,
+
+ ///
+ /// The cup currently used in the United States for nutrition labelling is defined in United States law as 240 ml.
+ ///
+ /// https://en.wikipedia.org/wiki/Cup_(unit)#Legal_cup
UsLegalCup = 47,
+
+ ///
+ /// A US customary fluid ounce is 1⁄16 of a US liquid pint and 1⁄128 of a US liquid gallon or exactly 29.5735295625 mL, making it about 4.08% larger than the imperial fluid ounce.
+ ///
+ /// https://en.wikipedia.org/wiki/Fluid_ounce
UsOunce = 48,
+
+ ///
+ /// The pint is a unit of volume or capacity in both the imperial and United States customary measurement systems. In both of those systems it is traditionally one eighth of a gallon. The British imperial pint is about 20% larger than the American pint because the two systems are defined differently.
+ ///
+ /// https://en.wikipedia.org/wiki/Pint#US_liquid_pint
UsPint = 49,
+
+ ///
+ /// The US liquid quart equals 57.75 cubic inches, which is exactly equal to 0.946352946 L.
+ ///
+ /// https://en.wikipedia.org/wiki/Quart#US_liquid_quart
UsQuart = 50,
+
+ ///
+ /// The traditional U.S. interpretation of the tablespoon as a unit of volume is: 1 US tablespoon = 4 fluid drams, or 3 teaspoons or 1/2 US fluid ounce (≈ 14.8 ml)
+ ///
+ /// https://en.wikipedia.org/wiki/Tablespoon#United_States
UsTablespoon = 51,
+
+ ///
+ /// As a unit of culinary measure, one teaspoon in the United States is 1⁄3 tablespoon, exactly 4.92892159375 ml, 1 1⁄3 US fluid drams, 1⁄6 US fl oz, 1⁄48 US cup, 1⁄768 US liquid gallon, or 77⁄256 (0.30078125) cubic inches.
+ ///
+ /// https://en.wikipedia.org/wiki/Teaspoon#United_States_customary_unit
UsTeaspoon = 52,
}
diff --git a/UnitsNet.Tests/CustomCode/HeatFluxTests.cs b/UnitsNet.Tests/CustomCode/HeatFluxTests.cs
index 0c9b742538..7a040b5f2d 100644
--- a/UnitsNet.Tests/CustomCode/HeatFluxTests.cs
+++ b/UnitsNet.Tests/CustomCode/HeatFluxTests.cs
@@ -33,11 +33,11 @@ public class HeatFluxTests : HeatFluxTestsBase
protected override double BtusPerMinuteSquareFootInOneWattPerSquareMeter => 5.28330551e-3;
protected override double BtusPerSecondSquareFootInOneWattPerSquareMeter => 8.80550918e-5;
protected override double BtusPerSecondSquareInchInOneWattPerSquareMeter => 6.11493693e-7;
- protected override double CaloriesPerSecondSquareCentimeterInOneWattPerSquareMeter => 2.388458966e-5;
+ protected override double CaloriesPerSecondSquareCentimeterInOneWattPerSquareMeter => 2.390057361376673e-05;
protected override double CentiwattsPerSquareMeterInOneWattPerSquareMeter => 1e2;
protected override double DeciwattsPerSquareMeterInOneWattPerSquareMeter => 1e1;
- protected override double KilocaloriesPerSecondSquareCentimeterInOneWattPerSquareMeter => 2.388458966e-8;
- protected override double KilocaloriesPerHourSquareMeterInOneWattPerSquareMeter => 8.59845227859e-1;
+ protected override double KilocaloriesPerSecondSquareCentimeterInOneWattPerSquareMeter => 2.390057361376673e-8;
+ protected override double KilocaloriesPerHourSquareMeterInOneWattPerSquareMeter => 0.8604206500956023;
protected override double KilowattsPerSquareMeterInOneWattPerSquareMeter => 1e-3;
protected override double MicrowattsPerSquareMeterInOneWattPerSquareMeter => 1e6;
protected override double MilliwattsPerSquareMeterInOneWattPerSquareMeter => 1e3;
diff --git a/UnitsNet.Tests/CustomCode/HeatTransferCoefficientTests.cs b/UnitsNet.Tests/CustomCode/HeatTransferCoefficientTests.cs
index ab1846a381..4d5de3837f 100644
--- a/UnitsNet.Tests/CustomCode/HeatTransferCoefficientTests.cs
+++ b/UnitsNet.Tests/CustomCode/HeatTransferCoefficientTests.cs
@@ -31,8 +31,8 @@ public class HeatTransferCoefficientTests : HeatTransferCoefficientTestsBase
protected override double WattsPerSquareMeterCelsiusInOneWattPerSquareMeterKelvin => 1;
protected override double WattsPerSquareMeterKelvinInOneWattPerSquareMeterKelvin => 1;
protected override double BtusPerHourSquareFootDegreeFahrenheitInOneWattPerSquareMeterKelvin => 1.7611018368230584e-1;
- protected override double KilocaloriesPerHourSquareMeterDegreeCelsiusInOneWattPerSquareMeterKelvin => 0.859845227859;
+ protected override double KilocaloriesPerHourSquareMeterDegreeCelsiusInOneWattPerSquareMeterKelvin => 0.8604206500956023;
protected override double BtusPerSquareFootDegreeFahrenheitInOneWattPerSquareMeterKelvin => 1.7611018368230584e-1;
- protected override double CaloriesPerHourSquareMeterDegreeCelsiusInOneWattPerSquareMeterKelvin => 859.845227859;
+ protected override double CaloriesPerHourSquareMeterDegreeCelsiusInOneWattPerSquareMeterKelvin => 860.4206500956023;
}
}
diff --git a/UnitsNet.Tests/CustomCode/ImpulseTests.cs b/UnitsNet.Tests/CustomCode/ImpulseTests.cs
index b4a4ed2c42..9581c53948 100644
--- a/UnitsNet.Tests/CustomCode/ImpulseTests.cs
+++ b/UnitsNet.Tests/CustomCode/ImpulseTests.cs
@@ -1,4 +1,4 @@
-//------------------------------------------------------------------------------
+//------------------------------------------------------------------------------
//
// This code was generated by \generate-code.bat.
//
@@ -34,8 +34,8 @@ public class ImpulseTests : ImpulseTestsBase
protected override double MillinewtonSecondsInOneNewtonSecond => 1E3;
protected override double NanonewtonSecondsInOneNewtonSecond => 1E9;
protected override double NewtonSecondsInOneNewtonSecond => 1;
- protected override double PoundFeetPerSecondInOneNewtonSecond => 7.230657989877;
- protected override double PoundForceSecondsInOneNewtonSecond => 0.2248089430997;
- protected override double SlugFeetPerSecondInOneNewtonSecond => 0.224735720691;
+ protected override double PoundFeetPerSecondInOneNewtonSecond => 7.233013851209894;
+ protected override double PoundForceSecondsInOneNewtonSecond => 0.2248089430997105;
+ protected override double SlugFeetPerSecondInOneNewtonSecond => 0.2248089330130927;
}
}
diff --git a/UnitsNet.Tests/CustomCode/LuminosityTests.cs b/UnitsNet.Tests/CustomCode/LuminosityTests.cs
index 02882c3f3c..75223cf3af 100644
--- a/UnitsNet.Tests/CustomCode/LuminosityTests.cs
+++ b/UnitsNet.Tests/CustomCode/LuminosityTests.cs
@@ -50,7 +50,7 @@ public class LuminosityTests : LuminosityTestsBase
protected override double PetawattsInOneWatt => 1e-15;
- protected override double SolarLuminositiesInOneWatt => 2.6001040041601700000000000E-27;
+ protected override double SolarLuminositiesInOneWatt => 2.612330198537095E-27;
}
}
diff --git a/UnitsNet.Tests/CustomCode/PowerTests.cs b/UnitsNet.Tests/CustomCode/PowerTests.cs
index 99ebcec1cc..2f10ae8f40 100644
--- a/UnitsNet.Tests/CustomCode/PowerTests.cs
+++ b/UnitsNet.Tests/CustomCode/PowerTests.cs
@@ -57,7 +57,7 @@ public class PowerTests : PowerTestsBase
protected override decimal HydraulicHorsepowerInOneWatt => 0.00134102207184949258114167291719m;
- protected override decimal MechanicalHorsepowerInOneWatt => 0.00134103984229371454625916935992m;
+ protected override decimal MechanicalHorsepowerInOneWatt => 0.001341022089714950649192639m;
protected override decimal MetricHorsepowerInOneWatt => 0.00135962161730390432342679032425m;
diff --git a/UnitsNet.Tests/CustomCode/PressureTests.cs b/UnitsNet.Tests/CustomCode/PressureTests.cs
index f369b61f9e..66b2e7bb25 100644
--- a/UnitsNet.Tests/CustomCode/PressureTests.cs
+++ b/UnitsNet.Tests/CustomCode/PressureTests.cs
@@ -55,7 +55,7 @@ public class PressureTests : PressureTestsBase
protected override double PoundsForcePerSquareMilInOnePascal => 1.450377377302092e-10;
- protected override double TechnicalAtmospheresInOnePascal => 1.0197 * 1E-5;
+ protected override double TechnicalAtmospheresInOnePascal => 1.019716212977928E-05;
protected override double TonnesForcePerSquareCentimeterInOnePascal => 1.019716212977928e-8;
diff --git a/UnitsNet.Tests/CustomCode/SpecificFuelConsumptionTests.cs b/UnitsNet.Tests/CustomCode/SpecificFuelConsumptionTests.cs
index ee24c7758d..c311863956 100644
--- a/UnitsNet.Tests/CustomCode/SpecificFuelConsumptionTests.cs
+++ b/UnitsNet.Tests/CustomCode/SpecificFuelConsumptionTests.cs
@@ -30,8 +30,8 @@ public class SpecificFuelConsumptionTests : SpecificFuelConsumptionTestsBase
protected override double KilogramsPerKiloNewtonSecondInOneGramPerKiloNewtonSecond => 1e-3;
- protected override double PoundsMassPerPoundForceHourInOneGramPerKiloNewtonSecond => 0.03529827;
+ protected override double PoundsMassPerPoundForceHourInOneGramPerKiloNewtonSecond => 0.03530394;
- protected override double KilogramsPerKilogramForceHourInOneGramPerKiloNewtonSecond => 0.03529827;
+ protected override double KilogramsPerKilogramForceHourInOneGramPerKiloNewtonSecond => 0.03530394;
}
}
diff --git a/UnitsNet.Tests/CustomCode/ThermalResistanceTests.cs b/UnitsNet.Tests/CustomCode/ThermalResistanceTests.cs
index 840c14c1d0..8ed3fcf2bf 100644
--- a/UnitsNet.Tests/CustomCode/ThermalResistanceTests.cs
+++ b/UnitsNet.Tests/CustomCode/ThermalResistanceTests.cs
@@ -28,8 +28,8 @@ namespace UnitsNet.Tests.CustomCode
public class ThermalResistanceTests : ThermalResistanceTestsBase
{
protected override bool SupportsSIUnitSystem => false;
- protected override double HourSquareFeetDegreesFahrenheitPerBtuInOneSquareMeterKelvinPerKilowatt => 0.0056782d;
- protected override double SquareCentimeterHourDegreesCelsiusPerKilocalorieInOneSquareMeterKelvinPerKilowatt => 11.63088897992627d;
+ protected override double HourSquareFeetDegreesFahrenheitPerBtuInOneSquareMeterKelvinPerKilowatt => 0.005678263341113488;
+ protected override double SquareCentimeterHourDegreesCelsiusPerKilocalorieInOneSquareMeterKelvinPerKilowatt => 11.62222222222222;
protected override double SquareCentimeterKelvinsPerWattInOneSquareMeterKelvinPerKilowatt => 10;
protected override double SquareMeterDegreesCelsiusPerWattInOneSquareMeterKelvinPerKilowatt => 1e-3;
protected override double SquareMeterKelvinsPerKilowattInOneSquareMeterKelvinPerKilowatt => 1;
diff --git a/UnitsNet.Tests/CustomCode/VolumetricHeatCapacityTests.cs b/UnitsNet.Tests/CustomCode/VolumetricHeatCapacityTests.cs
index 07ebe462ba..1a86c0785a 100644
--- a/UnitsNet.Tests/CustomCode/VolumetricHeatCapacityTests.cs
+++ b/UnitsNet.Tests/CustomCode/VolumetricHeatCapacityTests.cs
@@ -31,8 +31,8 @@ public class VolumetricHeatCapacityTests : VolumetricHeatCapacityTestsBase
protected override double BtusPerCubicFootDegreeFahrenheitInOneJoulePerCubicMeterKelvin => 1.491066E-5;
- protected override double CaloriesPerCubicCentimeterDegreeCelsiusInOneJoulePerCubicMeterKelvin => 2.388459E-7;
- protected override double KilocaloriesPerCubicCentimeterDegreeCelsiusInOneJoulePerCubicMeterKelvin => 2.388459E-10;
+ protected override double CaloriesPerCubicCentimeterDegreeCelsiusInOneJoulePerCubicMeterKelvin => 2.390057361376673E-07;
+ protected override double KilocaloriesPerCubicCentimeterDegreeCelsiusInOneJoulePerCubicMeterKelvin => 2.390057361376673E-10;
protected override double JoulesPerCubicMeterDegreeCelsiusInOneJoulePerCubicMeterKelvin => 1;
protected override double KilojoulesPerCubicMeterDegreeCelsiusInOneJoulePerCubicMeterKelvin => 1E-3;
diff --git a/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs b/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs
index 9d339c9f58..fca78d9069 100644
--- a/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Acceleration.g.cs
@@ -959,9 +959,9 @@ private bool TryToUnit(AccelerationUnit unit, [NotNullWhen(true)] out Accelerati
(AccelerationUnit.FootPerSecondSquared, AccelerationUnit.MeterPerSecondSquared) => new Acceleration(_value * 0.304800, AccelerationUnit.MeterPerSecondSquared),
(AccelerationUnit.InchPerSecondSquared, AccelerationUnit.MeterPerSecondSquared) => new Acceleration(_value * 0.0254, AccelerationUnit.MeterPerSecondSquared),
(AccelerationUnit.KilometerPerSecondSquared, AccelerationUnit.MeterPerSecondSquared) => new Acceleration((_value) * 1e3d, AccelerationUnit.MeterPerSecondSquared),
- (AccelerationUnit.KnotPerHour, AccelerationUnit.MeterPerSecondSquared) => new Acceleration(_value * 0.5144444444444 / 3600, AccelerationUnit.MeterPerSecondSquared),
- (AccelerationUnit.KnotPerMinute, AccelerationUnit.MeterPerSecondSquared) => new Acceleration(_value * 0.5144444444444 / 60, AccelerationUnit.MeterPerSecondSquared),
- (AccelerationUnit.KnotPerSecond, AccelerationUnit.MeterPerSecondSquared) => new Acceleration(_value * 0.5144444444444, AccelerationUnit.MeterPerSecondSquared),
+ (AccelerationUnit.KnotPerHour, AccelerationUnit.MeterPerSecondSquared) => new Acceleration(_value * (1852.0 / 3600.0) / 3600, AccelerationUnit.MeterPerSecondSquared),
+ (AccelerationUnit.KnotPerMinute, AccelerationUnit.MeterPerSecondSquared) => new Acceleration(_value * (1852.0 / 3600.0) / 60, AccelerationUnit.MeterPerSecondSquared),
+ (AccelerationUnit.KnotPerSecond, AccelerationUnit.MeterPerSecondSquared) => new Acceleration(_value * (1852.0 / 3600.0), AccelerationUnit.MeterPerSecondSquared),
(AccelerationUnit.MicrometerPerSecondSquared, AccelerationUnit.MeterPerSecondSquared) => new Acceleration((_value) * 1e-6d, AccelerationUnit.MeterPerSecondSquared),
(AccelerationUnit.MillimeterPerSecondSquared, AccelerationUnit.MeterPerSecondSquared) => new Acceleration((_value) * 1e-3d, AccelerationUnit.MeterPerSecondSquared),
(AccelerationUnit.MillistandardGravity, AccelerationUnit.MeterPerSecondSquared) => new Acceleration((_value * 9.80665) * 1e-3d, AccelerationUnit.MeterPerSecondSquared),
@@ -974,9 +974,9 @@ private bool TryToUnit(AccelerationUnit unit, [NotNullWhen(true)] out Accelerati
(AccelerationUnit.MeterPerSecondSquared, AccelerationUnit.FootPerSecondSquared) => new Acceleration(_value / 0.304800, AccelerationUnit.FootPerSecondSquared),
(AccelerationUnit.MeterPerSecondSquared, AccelerationUnit.InchPerSecondSquared) => new Acceleration(_value / 0.0254, AccelerationUnit.InchPerSecondSquared),
(AccelerationUnit.MeterPerSecondSquared, AccelerationUnit.KilometerPerSecondSquared) => new Acceleration((_value) / 1e3d, AccelerationUnit.KilometerPerSecondSquared),
- (AccelerationUnit.MeterPerSecondSquared, AccelerationUnit.KnotPerHour) => new Acceleration(_value / 0.5144444444444 * 3600, AccelerationUnit.KnotPerHour),
- (AccelerationUnit.MeterPerSecondSquared, AccelerationUnit.KnotPerMinute) => new Acceleration(_value / 0.5144444444444 * 60, AccelerationUnit.KnotPerMinute),
- (AccelerationUnit.MeterPerSecondSquared, AccelerationUnit.KnotPerSecond) => new Acceleration(_value / 0.5144444444444, AccelerationUnit.KnotPerSecond),
+ (AccelerationUnit.MeterPerSecondSquared, AccelerationUnit.KnotPerHour) => new Acceleration(_value * 3600 / (1852.0 / 3600.0), AccelerationUnit.KnotPerHour),
+ (AccelerationUnit.MeterPerSecondSquared, AccelerationUnit.KnotPerMinute) => new Acceleration(_value * 60 / (1852.0 / 3600.0), AccelerationUnit.KnotPerMinute),
+ (AccelerationUnit.MeterPerSecondSquared, AccelerationUnit.KnotPerSecond) => new Acceleration(_value / (1852.0 / 3600.0), AccelerationUnit.KnotPerSecond),
(AccelerationUnit.MeterPerSecondSquared, AccelerationUnit.MicrometerPerSecondSquared) => new Acceleration((_value) / 1e-6d, AccelerationUnit.MicrometerPerSecondSquared),
(AccelerationUnit.MeterPerSecondSquared, AccelerationUnit.MillimeterPerSecondSquared) => new Acceleration((_value) / 1e-3d, AccelerationUnit.MillimeterPerSecondSquared),
(AccelerationUnit.MeterPerSecondSquared, AccelerationUnit.MillistandardGravity) => new Acceleration((_value / 9.80665) / 1e-3d, AccelerationUnit.MillistandardGravity),
diff --git a/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs b/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs
index 79a9f1765b..8102da7f04 100644
--- a/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/AreaMomentOfInertia.g.cs
@@ -812,15 +812,15 @@ private bool TryToUnit(AreaMomentOfInertiaUnit unit, [NotNullWhen(true)] out Are
// AreaMomentOfInertiaUnit -> BaseUnit
(AreaMomentOfInertiaUnit.CentimeterToTheFourth, AreaMomentOfInertiaUnit.MeterToTheFourth) => new AreaMomentOfInertia(_value / 1e8, AreaMomentOfInertiaUnit.MeterToTheFourth),
(AreaMomentOfInertiaUnit.DecimeterToTheFourth, AreaMomentOfInertiaUnit.MeterToTheFourth) => new AreaMomentOfInertia(_value / 1e4, AreaMomentOfInertiaUnit.MeterToTheFourth),
- (AreaMomentOfInertiaUnit.FootToTheFourth, AreaMomentOfInertiaUnit.MeterToTheFourth) => new AreaMomentOfInertia(_value * Math.Pow(0.3048, 4), AreaMomentOfInertiaUnit.MeterToTheFourth),
- (AreaMomentOfInertiaUnit.InchToTheFourth, AreaMomentOfInertiaUnit.MeterToTheFourth) => new AreaMomentOfInertia(_value * Math.Pow(2.54e-2, 4), AreaMomentOfInertiaUnit.MeterToTheFourth),
+ (AreaMomentOfInertiaUnit.FootToTheFourth, AreaMomentOfInertiaUnit.MeterToTheFourth) => new AreaMomentOfInertia(_value * 0.0086309748412416, AreaMomentOfInertiaUnit.MeterToTheFourth),
+ (AreaMomentOfInertiaUnit.InchToTheFourth, AreaMomentOfInertiaUnit.MeterToTheFourth) => new AreaMomentOfInertia(_value * 0.0000004162314256, AreaMomentOfInertiaUnit.MeterToTheFourth),
(AreaMomentOfInertiaUnit.MillimeterToTheFourth, AreaMomentOfInertiaUnit.MeterToTheFourth) => new AreaMomentOfInertia(_value / 1e12, AreaMomentOfInertiaUnit.MeterToTheFourth),
// BaseUnit -> AreaMomentOfInertiaUnit
(AreaMomentOfInertiaUnit.MeterToTheFourth, AreaMomentOfInertiaUnit.CentimeterToTheFourth) => new AreaMomentOfInertia(_value * 1e8, AreaMomentOfInertiaUnit.CentimeterToTheFourth),
(AreaMomentOfInertiaUnit.MeterToTheFourth, AreaMomentOfInertiaUnit.DecimeterToTheFourth) => new AreaMomentOfInertia(_value * 1e4, AreaMomentOfInertiaUnit.DecimeterToTheFourth),
- (AreaMomentOfInertiaUnit.MeterToTheFourth, AreaMomentOfInertiaUnit.FootToTheFourth) => new AreaMomentOfInertia(_value / Math.Pow(0.3048, 4), AreaMomentOfInertiaUnit.FootToTheFourth),
- (AreaMomentOfInertiaUnit.MeterToTheFourth, AreaMomentOfInertiaUnit.InchToTheFourth) => new AreaMomentOfInertia(_value / Math.Pow(2.54e-2, 4), AreaMomentOfInertiaUnit.InchToTheFourth),
+ (AreaMomentOfInertiaUnit.MeterToTheFourth, AreaMomentOfInertiaUnit.FootToTheFourth) => new AreaMomentOfInertia(_value / 0.0086309748412416, AreaMomentOfInertiaUnit.FootToTheFourth),
+ (AreaMomentOfInertiaUnit.MeterToTheFourth, AreaMomentOfInertiaUnit.InchToTheFourth) => new AreaMomentOfInertia(_value / 0.0000004162314256, AreaMomentOfInertiaUnit.InchToTheFourth),
(AreaMomentOfInertiaUnit.MeterToTheFourth, AreaMomentOfInertiaUnit.MillimeterToTheFourth) => new AreaMomentOfInertia(_value * 1e12, AreaMomentOfInertiaUnit.MillimeterToTheFourth),
_ => null
diff --git a/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs b/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs
index e35937eb22..6fd4231c92 100644
--- a/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/BrakeSpecificFuelConsumption.g.cs
@@ -757,11 +757,11 @@ private bool TryToUnit(BrakeSpecificFuelConsumptionUnit unit, [NotNullWhen(true)
{
// BrakeSpecificFuelConsumptionUnit -> BaseUnit
(BrakeSpecificFuelConsumptionUnit.GramPerKiloWattHour, BrakeSpecificFuelConsumptionUnit.KilogramPerJoule) => new BrakeSpecificFuelConsumption(_value / 3.6e9, BrakeSpecificFuelConsumptionUnit.KilogramPerJoule),
- (BrakeSpecificFuelConsumptionUnit.PoundPerMechanicalHorsepowerHour, BrakeSpecificFuelConsumptionUnit.KilogramPerJoule) => new BrakeSpecificFuelConsumption(_value * 1.689659410672e-7, BrakeSpecificFuelConsumptionUnit.KilogramPerJoule),
+ (BrakeSpecificFuelConsumptionUnit.PoundPerMechanicalHorsepowerHour, BrakeSpecificFuelConsumptionUnit.KilogramPerJoule) => new BrakeSpecificFuelConsumption(_value * (0.45359237 / (76.0402249 * 9.80665))/3600, BrakeSpecificFuelConsumptionUnit.KilogramPerJoule),
// BaseUnit -> BrakeSpecificFuelConsumptionUnit
(BrakeSpecificFuelConsumptionUnit.KilogramPerJoule, BrakeSpecificFuelConsumptionUnit.GramPerKiloWattHour) => new BrakeSpecificFuelConsumption(_value * 3.6e9, BrakeSpecificFuelConsumptionUnit.GramPerKiloWattHour),
- (BrakeSpecificFuelConsumptionUnit.KilogramPerJoule, BrakeSpecificFuelConsumptionUnit.PoundPerMechanicalHorsepowerHour) => new BrakeSpecificFuelConsumption(_value / 1.689659410672e-7, BrakeSpecificFuelConsumptionUnit.PoundPerMechanicalHorsepowerHour),
+ (BrakeSpecificFuelConsumptionUnit.KilogramPerJoule, BrakeSpecificFuelConsumptionUnit.PoundPerMechanicalHorsepowerHour) => new BrakeSpecificFuelConsumption(_value * 3600 / (0.45359237 / (76.0402249 * 9.80665)), BrakeSpecificFuelConsumptionUnit.PoundPerMechanicalHorsepowerHour),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/Density.g.cs b/UnitsNet/GeneratedCode/Quantities/Density.g.cs
index e2931faaa7..0073f177cd 100644
--- a/UnitsNet/GeneratedCode/Quantities/Density.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Density.g.cs
@@ -1723,8 +1723,8 @@ private bool TryToUnit(DensityUnit unit, [NotNullWhen(true)] out Density? conver
(DensityUnit.FemtogramPerLiter, DensityUnit.KilogramPerCubicMeter) => new Density((_value / 1) * 1e-15d, DensityUnit.KilogramPerCubicMeter),
(DensityUnit.FemtogramPerMilliliter, DensityUnit.KilogramPerCubicMeter) => new Density((_value / 1e-3) * 1e-15d, DensityUnit.KilogramPerCubicMeter),
(DensityUnit.GramPerCubicCentimeter, DensityUnit.KilogramPerCubicMeter) => new Density(_value / 1e-3, DensityUnit.KilogramPerCubicMeter),
- (DensityUnit.GramPerCubicFoot, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 0.0353146667214886, DensityUnit.KilogramPerCubicMeter),
- (DensityUnit.GramPerCubicInch, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 61.0237440947323, DensityUnit.KilogramPerCubicMeter),
+ (DensityUnit.GramPerCubicFoot, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 0.001 / 0.028316846592, DensityUnit.KilogramPerCubicMeter),
+ (DensityUnit.GramPerCubicInch, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 0.001 / 1.6387064e-5, DensityUnit.KilogramPerCubicMeter),
(DensityUnit.GramPerCubicMeter, DensityUnit.KilogramPerCubicMeter) => new Density(_value / 1e3, DensityUnit.KilogramPerCubicMeter),
(DensityUnit.GramPerCubicMillimeter, DensityUnit.KilogramPerCubicMeter) => new Density(_value / 1e-6, DensityUnit.KilogramPerCubicMeter),
(DensityUnit.GramPerDeciliter, DensityUnit.KilogramPerCubicMeter) => new Density(_value / 1e-1, DensityUnit.KilogramPerCubicMeter),
@@ -1733,9 +1733,9 @@ private bool TryToUnit(DensityUnit unit, [NotNullWhen(true)] out Density? conver
(DensityUnit.KilogramPerCubicCentimeter, DensityUnit.KilogramPerCubicMeter) => new Density((_value / 1e-3) * 1e3d, DensityUnit.KilogramPerCubicMeter),
(DensityUnit.KilogramPerCubicMillimeter, DensityUnit.KilogramPerCubicMeter) => new Density((_value / 1e-6) * 1e3d, DensityUnit.KilogramPerCubicMeter),
(DensityUnit.KilogramPerLiter, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 1e3, DensityUnit.KilogramPerCubicMeter),
- (DensityUnit.KilopoundPerCubicFoot, DensityUnit.KilogramPerCubicMeter) => new Density((_value / 0.062427961) * 1e3d, DensityUnit.KilogramPerCubicMeter),
- (DensityUnit.KilopoundPerCubicInch, DensityUnit.KilogramPerCubicMeter) => new Density((_value / 3.6127298147753e-5) * 1e3d, DensityUnit.KilogramPerCubicMeter),
- (DensityUnit.KilopoundPerCubicYard, DensityUnit.KilogramPerCubicMeter) => new Density((_value * (0.45359237 / 0.9144 / 0.9144 / 0.9144)) * 1e3d, DensityUnit.KilogramPerCubicMeter),
+ (DensityUnit.KilopoundPerCubicFoot, DensityUnit.KilogramPerCubicMeter) => new Density((_value * 0.45359237 / 0.028316846592) * 1e3d, DensityUnit.KilogramPerCubicMeter),
+ (DensityUnit.KilopoundPerCubicInch, DensityUnit.KilogramPerCubicMeter) => new Density((_value * 0.45359237 / 1.6387064e-5) * 1e3d, DensityUnit.KilogramPerCubicMeter),
+ (DensityUnit.KilopoundPerCubicYard, DensityUnit.KilogramPerCubicMeter) => new Density((_value * 0.45359237 / 0.764554857984) * 1e3d, DensityUnit.KilogramPerCubicMeter),
(DensityUnit.MicrogramPerCubicMeter, DensityUnit.KilogramPerCubicMeter) => new Density((_value / 1e3) * 1e-6d, DensityUnit.KilogramPerCubicMeter),
(DensityUnit.MicrogramPerDeciliter, DensityUnit.KilogramPerCubicMeter) => new Density((_value / 1e-1) * 1e-6d, DensityUnit.KilogramPerCubicMeter),
(DensityUnit.MicrogramPerLiter, DensityUnit.KilogramPerCubicMeter) => new Density((_value / 1) * 1e-6d, DensityUnit.KilogramPerCubicMeter),
@@ -1750,22 +1750,22 @@ private bool TryToUnit(DensityUnit unit, [NotNullWhen(true)] out Density? conver
(DensityUnit.PicogramPerDeciliter, DensityUnit.KilogramPerCubicMeter) => new Density((_value / 1e-1) * 1e-12d, DensityUnit.KilogramPerCubicMeter),
(DensityUnit.PicogramPerLiter, DensityUnit.KilogramPerCubicMeter) => new Density((_value / 1) * 1e-12d, DensityUnit.KilogramPerCubicMeter),
(DensityUnit.PicogramPerMilliliter, DensityUnit.KilogramPerCubicMeter) => new Density((_value / 1e-3) * 1e-12d, DensityUnit.KilogramPerCubicMeter),
- (DensityUnit.PoundPerCubicCentimeter, DensityUnit.KilogramPerCubicMeter) => new Density(_value / 2.204622621848775e-6, DensityUnit.KilogramPerCubicMeter),
- (DensityUnit.PoundPerCubicFoot, DensityUnit.KilogramPerCubicMeter) => new Density(_value / 0.062427961, DensityUnit.KilogramPerCubicMeter),
- (DensityUnit.PoundPerCubicInch, DensityUnit.KilogramPerCubicMeter) => new Density(_value / 3.6127298147753e-5, DensityUnit.KilogramPerCubicMeter),
- (DensityUnit.PoundPerCubicMeter, DensityUnit.KilogramPerCubicMeter) => new Density(_value / 2.204622621848775, DensityUnit.KilogramPerCubicMeter),
- (DensityUnit.PoundPerCubicMillimeter, DensityUnit.KilogramPerCubicMeter) => new Density(_value / 2.204622621848775e-9, DensityUnit.KilogramPerCubicMeter),
- (DensityUnit.PoundPerCubicYard, DensityUnit.KilogramPerCubicMeter) => new Density(_value * (0.45359237 / 0.9144 / 0.9144 / 0.9144), DensityUnit.KilogramPerCubicMeter),
- (DensityUnit.PoundPerImperialGallon, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 9.9776398e1, DensityUnit.KilogramPerCubicMeter),
- (DensityUnit.PoundPerUSGallon, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 1.19826427e2, DensityUnit.KilogramPerCubicMeter),
- (DensityUnit.SlugPerCubicCentimeter, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 14593903, DensityUnit.KilogramPerCubicMeter),
- (DensityUnit.SlugPerCubicFoot, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 515.378818, DensityUnit.KilogramPerCubicMeter),
- (DensityUnit.SlugPerCubicInch, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 890574.60201535, DensityUnit.KilogramPerCubicMeter),
- (DensityUnit.SlugPerCubicMeter, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 14.5939, DensityUnit.KilogramPerCubicMeter),
- (DensityUnit.SlugPerCubicMillimeter, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 14593903000, DensityUnit.KilogramPerCubicMeter),
+ (DensityUnit.PoundPerCubicCentimeter, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 0.45359237e6, DensityUnit.KilogramPerCubicMeter),
+ (DensityUnit.PoundPerCubicFoot, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 0.45359237 / 0.028316846592, DensityUnit.KilogramPerCubicMeter),
+ (DensityUnit.PoundPerCubicInch, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 0.45359237 / 1.6387064e-5, DensityUnit.KilogramPerCubicMeter),
+ (DensityUnit.PoundPerCubicMeter, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 0.45359237, DensityUnit.KilogramPerCubicMeter),
+ (DensityUnit.PoundPerCubicMillimeter, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 0.45359237e9, DensityUnit.KilogramPerCubicMeter),
+ (DensityUnit.PoundPerCubicYard, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 0.45359237 / 0.764554857984, DensityUnit.KilogramPerCubicMeter),
+ (DensityUnit.PoundPerImperialGallon, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 0.45359237 / 0.00454609, DensityUnit.KilogramPerCubicMeter),
+ (DensityUnit.PoundPerUSGallon, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 0.45359237 / 0.003785411784, DensityUnit.KilogramPerCubicMeter),
+ (DensityUnit.SlugPerCubicCentimeter, DensityUnit.KilogramPerCubicMeter) => new Density(_value * (32.17405 * 0.45359237e6), DensityUnit.KilogramPerCubicMeter),
+ (DensityUnit.SlugPerCubicFoot, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 14.59390 / 0.028316846592, DensityUnit.KilogramPerCubicMeter),
+ (DensityUnit.SlugPerCubicInch, DensityUnit.KilogramPerCubicMeter) => new Density(_value * (32.17405 * 0.45359237 / 1.6387064e-5), DensityUnit.KilogramPerCubicMeter),
+ (DensityUnit.SlugPerCubicMeter, DensityUnit.KilogramPerCubicMeter) => new Density(_value * (32.17405 * 0.45359237), DensityUnit.KilogramPerCubicMeter),
+ (DensityUnit.SlugPerCubicMillimeter, DensityUnit.KilogramPerCubicMeter) => new Density(_value * (32.17405 * 0.45359237e9), DensityUnit.KilogramPerCubicMeter),
(DensityUnit.TonnePerCubicCentimeter, DensityUnit.KilogramPerCubicMeter) => new Density(_value / 1e-9, DensityUnit.KilogramPerCubicMeter),
- (DensityUnit.TonnePerCubicFoot, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 3.53146667214886e4, DensityUnit.KilogramPerCubicMeter),
- (DensityUnit.TonnePerCubicInch, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 6.10237440947323e7, DensityUnit.KilogramPerCubicMeter),
+ (DensityUnit.TonnePerCubicFoot, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 1000 / 0.028316846592, DensityUnit.KilogramPerCubicMeter),
+ (DensityUnit.TonnePerCubicInch, DensityUnit.KilogramPerCubicMeter) => new Density(_value * 1000 / 1.6387064e-5, DensityUnit.KilogramPerCubicMeter),
(DensityUnit.TonnePerCubicMeter, DensityUnit.KilogramPerCubicMeter) => new Density(_value / 0.001, DensityUnit.KilogramPerCubicMeter),
(DensityUnit.TonnePerCubicMillimeter, DensityUnit.KilogramPerCubicMeter) => new Density(_value / 1e-12, DensityUnit.KilogramPerCubicMeter),
@@ -1780,8 +1780,8 @@ private bool TryToUnit(DensityUnit unit, [NotNullWhen(true)] out Density? conver
(DensityUnit.KilogramPerCubicMeter, DensityUnit.FemtogramPerLiter) => new Density((_value * 1) / 1e-15d, DensityUnit.FemtogramPerLiter),
(DensityUnit.KilogramPerCubicMeter, DensityUnit.FemtogramPerMilliliter) => new Density((_value * 1e-3) / 1e-15d, DensityUnit.FemtogramPerMilliliter),
(DensityUnit.KilogramPerCubicMeter, DensityUnit.GramPerCubicCentimeter) => new Density(_value * 1e-3, DensityUnit.GramPerCubicCentimeter),
- (DensityUnit.KilogramPerCubicMeter, DensityUnit.GramPerCubicFoot) => new Density(_value / 0.0353146667214886, DensityUnit.GramPerCubicFoot),
- (DensityUnit.KilogramPerCubicMeter, DensityUnit.GramPerCubicInch) => new Density(_value / 61.0237440947323, DensityUnit.GramPerCubicInch),
+ (DensityUnit.KilogramPerCubicMeter, DensityUnit.GramPerCubicFoot) => new Density(_value * 0.028316846592 / 0.001, DensityUnit.GramPerCubicFoot),
+ (DensityUnit.KilogramPerCubicMeter, DensityUnit.GramPerCubicInch) => new Density(_value * 1.6387064e-5 / 0.001, DensityUnit.GramPerCubicInch),
(DensityUnit.KilogramPerCubicMeter, DensityUnit.GramPerCubicMeter) => new Density(_value * 1e3, DensityUnit.GramPerCubicMeter),
(DensityUnit.KilogramPerCubicMeter, DensityUnit.GramPerCubicMillimeter) => new Density(_value * 1e-6, DensityUnit.GramPerCubicMillimeter),
(DensityUnit.KilogramPerCubicMeter, DensityUnit.GramPerDeciliter) => new Density(_value * 1e-1, DensityUnit.GramPerDeciliter),
@@ -1790,9 +1790,9 @@ private bool TryToUnit(DensityUnit unit, [NotNullWhen(true)] out Density? conver
(DensityUnit.KilogramPerCubicMeter, DensityUnit.KilogramPerCubicCentimeter) => new Density((_value * 1e-3) / 1e3d, DensityUnit.KilogramPerCubicCentimeter),
(DensityUnit.KilogramPerCubicMeter, DensityUnit.KilogramPerCubicMillimeter) => new Density((_value * 1e-6) / 1e3d, DensityUnit.KilogramPerCubicMillimeter),
(DensityUnit.KilogramPerCubicMeter, DensityUnit.KilogramPerLiter) => new Density(_value / 1e3, DensityUnit.KilogramPerLiter),
- (DensityUnit.KilogramPerCubicMeter, DensityUnit.KilopoundPerCubicFoot) => new Density((_value * 0.062427961) / 1e3d, DensityUnit.KilopoundPerCubicFoot),
- (DensityUnit.KilogramPerCubicMeter, DensityUnit.KilopoundPerCubicInch) => new Density((_value * 3.6127298147753e-5) / 1e3d, DensityUnit.KilopoundPerCubicInch),
- (DensityUnit.KilogramPerCubicMeter, DensityUnit.KilopoundPerCubicYard) => new Density((_value / (0.45359237 / 0.9144 / 0.9144 / 0.9144)) / 1e3d, DensityUnit.KilopoundPerCubicYard),
+ (DensityUnit.KilogramPerCubicMeter, DensityUnit.KilopoundPerCubicFoot) => new Density((_value * 0.028316846592 / 0.45359237) / 1e3d, DensityUnit.KilopoundPerCubicFoot),
+ (DensityUnit.KilogramPerCubicMeter, DensityUnit.KilopoundPerCubicInch) => new Density((_value * 1.6387064e-5 / 0.45359237) / 1e3d, DensityUnit.KilopoundPerCubicInch),
+ (DensityUnit.KilogramPerCubicMeter, DensityUnit.KilopoundPerCubicYard) => new Density((_value * 0.764554857984 / 0.45359237) / 1e3d, DensityUnit.KilopoundPerCubicYard),
(DensityUnit.KilogramPerCubicMeter, DensityUnit.MicrogramPerCubicMeter) => new Density((_value * 1e3) / 1e-6d, DensityUnit.MicrogramPerCubicMeter),
(DensityUnit.KilogramPerCubicMeter, DensityUnit.MicrogramPerDeciliter) => new Density((_value * 1e-1) / 1e-6d, DensityUnit.MicrogramPerDeciliter),
(DensityUnit.KilogramPerCubicMeter, DensityUnit.MicrogramPerLiter) => new Density((_value * 1) / 1e-6d, DensityUnit.MicrogramPerLiter),
@@ -1807,22 +1807,22 @@ private bool TryToUnit(DensityUnit unit, [NotNullWhen(true)] out Density? conver
(DensityUnit.KilogramPerCubicMeter, DensityUnit.PicogramPerDeciliter) => new Density((_value * 1e-1) / 1e-12d, DensityUnit.PicogramPerDeciliter),
(DensityUnit.KilogramPerCubicMeter, DensityUnit.PicogramPerLiter) => new Density((_value * 1) / 1e-12d, DensityUnit.PicogramPerLiter),
(DensityUnit.KilogramPerCubicMeter, DensityUnit.PicogramPerMilliliter) => new Density((_value * 1e-3) / 1e-12d, DensityUnit.PicogramPerMilliliter),
- (DensityUnit.KilogramPerCubicMeter, DensityUnit.PoundPerCubicCentimeter) => new Density(_value * 2.204622621848775e-6, DensityUnit.PoundPerCubicCentimeter),
- (DensityUnit.KilogramPerCubicMeter, DensityUnit.PoundPerCubicFoot) => new Density(_value * 0.062427961, DensityUnit.PoundPerCubicFoot),
- (DensityUnit.KilogramPerCubicMeter, DensityUnit.PoundPerCubicInch) => new Density(_value * 3.6127298147753e-5, DensityUnit.PoundPerCubicInch),
- (DensityUnit.KilogramPerCubicMeter, DensityUnit.PoundPerCubicMeter) => new Density(_value * 2.204622621848775, DensityUnit.PoundPerCubicMeter),
- (DensityUnit.KilogramPerCubicMeter, DensityUnit.PoundPerCubicMillimeter) => new Density(_value * 2.204622621848775e-9, DensityUnit.PoundPerCubicMillimeter),
- (DensityUnit.KilogramPerCubicMeter, DensityUnit.PoundPerCubicYard) => new Density(_value / (0.45359237 / 0.9144 / 0.9144 / 0.9144), DensityUnit.PoundPerCubicYard),
- (DensityUnit.KilogramPerCubicMeter, DensityUnit.PoundPerImperialGallon) => new Density(_value / 9.9776398e1, DensityUnit.PoundPerImperialGallon),
- (DensityUnit.KilogramPerCubicMeter, DensityUnit.PoundPerUSGallon) => new Density(_value / 1.19826427e2, DensityUnit.PoundPerUSGallon),
- (DensityUnit.KilogramPerCubicMeter, DensityUnit.SlugPerCubicCentimeter) => new Density(_value / 14593903, DensityUnit.SlugPerCubicCentimeter),
- (DensityUnit.KilogramPerCubicMeter, DensityUnit.SlugPerCubicFoot) => new Density(_value * 0.00194032033, DensityUnit.SlugPerCubicFoot),
- (DensityUnit.KilogramPerCubicMeter, DensityUnit.SlugPerCubicInch) => new Density(_value / 890574.60201535, DensityUnit.SlugPerCubicInch),
- (DensityUnit.KilogramPerCubicMeter, DensityUnit.SlugPerCubicMeter) => new Density(_value / 14.5939, DensityUnit.SlugPerCubicMeter),
- (DensityUnit.KilogramPerCubicMeter, DensityUnit.SlugPerCubicMillimeter) => new Density(_value / 14593903000, DensityUnit.SlugPerCubicMillimeter),
+ (DensityUnit.KilogramPerCubicMeter, DensityUnit.PoundPerCubicCentimeter) => new Density(_value / 0.45359237e6, DensityUnit.PoundPerCubicCentimeter),
+ (DensityUnit.KilogramPerCubicMeter, DensityUnit.PoundPerCubicFoot) => new Density(_value * 0.028316846592 / 0.45359237, DensityUnit.PoundPerCubicFoot),
+ (DensityUnit.KilogramPerCubicMeter, DensityUnit.PoundPerCubicInch) => new Density(_value * 1.6387064e-5 / 0.45359237, DensityUnit.PoundPerCubicInch),
+ (DensityUnit.KilogramPerCubicMeter, DensityUnit.PoundPerCubicMeter) => new Density(_value / 0.45359237, DensityUnit.PoundPerCubicMeter),
+ (DensityUnit.KilogramPerCubicMeter, DensityUnit.PoundPerCubicMillimeter) => new Density(_value / 0.45359237e9, DensityUnit.PoundPerCubicMillimeter),
+ (DensityUnit.KilogramPerCubicMeter, DensityUnit.PoundPerCubicYard) => new Density(_value * 0.764554857984 / 0.45359237, DensityUnit.PoundPerCubicYard),
+ (DensityUnit.KilogramPerCubicMeter, DensityUnit.PoundPerImperialGallon) => new Density(_value * 0.00454609 / 0.45359237, DensityUnit.PoundPerImperialGallon),
+ (DensityUnit.KilogramPerCubicMeter, DensityUnit.PoundPerUSGallon) => new Density(_value * 0.003785411784 / 0.45359237, DensityUnit.PoundPerUSGallon),
+ (DensityUnit.KilogramPerCubicMeter, DensityUnit.SlugPerCubicCentimeter) => new Density(_value / (32.17405 * 0.45359237e6), DensityUnit.SlugPerCubicCentimeter),
+ (DensityUnit.KilogramPerCubicMeter, DensityUnit.SlugPerCubicFoot) => new Density(_value * 0.028316846592 / 14.59390, DensityUnit.SlugPerCubicFoot),
+ (DensityUnit.KilogramPerCubicMeter, DensityUnit.SlugPerCubicInch) => new Density(_value / (32.17405 * 0.45359237 / 1.6387064e-5), DensityUnit.SlugPerCubicInch),
+ (DensityUnit.KilogramPerCubicMeter, DensityUnit.SlugPerCubicMeter) => new Density(_value / (32.17405 * 0.45359237), DensityUnit.SlugPerCubicMeter),
+ (DensityUnit.KilogramPerCubicMeter, DensityUnit.SlugPerCubicMillimeter) => new Density(_value / (32.17405 * 0.45359237e9), DensityUnit.SlugPerCubicMillimeter),
(DensityUnit.KilogramPerCubicMeter, DensityUnit.TonnePerCubicCentimeter) => new Density(_value * 1e-9, DensityUnit.TonnePerCubicCentimeter),
- (DensityUnit.KilogramPerCubicMeter, DensityUnit.TonnePerCubicFoot) => new Density(_value / 3.53146667214886e4, DensityUnit.TonnePerCubicFoot),
- (DensityUnit.KilogramPerCubicMeter, DensityUnit.TonnePerCubicInch) => new Density(_value / 6.10237440947323e7, DensityUnit.TonnePerCubicInch),
+ (DensityUnit.KilogramPerCubicMeter, DensityUnit.TonnePerCubicFoot) => new Density(_value * 0.028316846592 / 1000, DensityUnit.TonnePerCubicFoot),
+ (DensityUnit.KilogramPerCubicMeter, DensityUnit.TonnePerCubicInch) => new Density(_value * 1.6387064e-5 / 1000, DensityUnit.TonnePerCubicInch),
(DensityUnit.KilogramPerCubicMeter, DensityUnit.TonnePerCubicMeter) => new Density(_value * 0.001, DensityUnit.TonnePerCubicMeter),
(DensityUnit.KilogramPerCubicMeter, DensityUnit.TonnePerCubicMillimeter) => new Density(_value * 1e-12, DensityUnit.TonnePerCubicMillimeter),
diff --git a/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs b/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs
index 967eef2877..de30993349 100644
--- a/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/DynamicViscosity.g.cs
@@ -890,10 +890,10 @@ private bool TryToUnit(DynamicViscosityUnit unit, [NotNullWhen(true)] out Dynami
(DynamicViscosityUnit.MillipascalSecond, DynamicViscosityUnit.NewtonSecondPerMeterSquared) => new DynamicViscosity((_value) * 1e-3d, DynamicViscosityUnit.NewtonSecondPerMeterSquared),
(DynamicViscosityUnit.PascalSecond, DynamicViscosityUnit.NewtonSecondPerMeterSquared) => new DynamicViscosity(_value, DynamicViscosityUnit.NewtonSecondPerMeterSquared),
(DynamicViscosityUnit.Poise, DynamicViscosityUnit.NewtonSecondPerMeterSquared) => new DynamicViscosity(_value / 10, DynamicViscosityUnit.NewtonSecondPerMeterSquared),
- (DynamicViscosityUnit.PoundForceSecondPerSquareFoot, DynamicViscosityUnit.NewtonSecondPerMeterSquared) => new DynamicViscosity(_value * 4.7880258980335843e1, DynamicViscosityUnit.NewtonSecondPerMeterSquared),
- (DynamicViscosityUnit.PoundForceSecondPerSquareInch, DynamicViscosityUnit.NewtonSecondPerMeterSquared) => new DynamicViscosity(_value * 6.8947572931683613e3, DynamicViscosityUnit.NewtonSecondPerMeterSquared),
- (DynamicViscosityUnit.PoundPerFootSecond, DynamicViscosityUnit.NewtonSecondPerMeterSquared) => new DynamicViscosity(_value * 1.4881639, DynamicViscosityUnit.NewtonSecondPerMeterSquared),
- (DynamicViscosityUnit.Reyn, DynamicViscosityUnit.NewtonSecondPerMeterSquared) => new DynamicViscosity(_value * 6.8947572931683613e3, DynamicViscosityUnit.NewtonSecondPerMeterSquared),
+ (DynamicViscosityUnit.PoundForceSecondPerSquareFoot, DynamicViscosityUnit.NewtonSecondPerMeterSquared) => new DynamicViscosity(_value * 4.4482216152605 / 9.290304e-2, DynamicViscosityUnit.NewtonSecondPerMeterSquared),
+ (DynamicViscosityUnit.PoundForceSecondPerSquareInch, DynamicViscosityUnit.NewtonSecondPerMeterSquared) => new DynamicViscosity(_value * 4.4482216152605 / 0.00064516, DynamicViscosityUnit.NewtonSecondPerMeterSquared),
+ (DynamicViscosityUnit.PoundPerFootSecond, DynamicViscosityUnit.NewtonSecondPerMeterSquared) => new DynamicViscosity(_value * 0.45359237 / 0.3048, DynamicViscosityUnit.NewtonSecondPerMeterSquared),
+ (DynamicViscosityUnit.Reyn, DynamicViscosityUnit.NewtonSecondPerMeterSquared) => new DynamicViscosity(_value * 4.4482216152605 / 0.00064516, DynamicViscosityUnit.NewtonSecondPerMeterSquared),
// BaseUnit -> DynamicViscosityUnit
(DynamicViscosityUnit.NewtonSecondPerMeterSquared, DynamicViscosityUnit.Centipoise) => new DynamicViscosity((_value * 10) / 1e-2d, DynamicViscosityUnit.Centipoise),
@@ -901,10 +901,10 @@ private bool TryToUnit(DynamicViscosityUnit unit, [NotNullWhen(true)] out Dynami
(DynamicViscosityUnit.NewtonSecondPerMeterSquared, DynamicViscosityUnit.MillipascalSecond) => new DynamicViscosity((_value) / 1e-3d, DynamicViscosityUnit.MillipascalSecond),
(DynamicViscosityUnit.NewtonSecondPerMeterSquared, DynamicViscosityUnit.PascalSecond) => new DynamicViscosity(_value, DynamicViscosityUnit.PascalSecond),
(DynamicViscosityUnit.NewtonSecondPerMeterSquared, DynamicViscosityUnit.Poise) => new DynamicViscosity(_value * 10, DynamicViscosityUnit.Poise),
- (DynamicViscosityUnit.NewtonSecondPerMeterSquared, DynamicViscosityUnit.PoundForceSecondPerSquareFoot) => new DynamicViscosity(_value / 4.7880258980335843e1, DynamicViscosityUnit.PoundForceSecondPerSquareFoot),
- (DynamicViscosityUnit.NewtonSecondPerMeterSquared, DynamicViscosityUnit.PoundForceSecondPerSquareInch) => new DynamicViscosity(_value / 6.8947572931683613e3, DynamicViscosityUnit.PoundForceSecondPerSquareInch),
- (DynamicViscosityUnit.NewtonSecondPerMeterSquared, DynamicViscosityUnit.PoundPerFootSecond) => new DynamicViscosity(_value / 1.4881639, DynamicViscosityUnit.PoundPerFootSecond),
- (DynamicViscosityUnit.NewtonSecondPerMeterSquared, DynamicViscosityUnit.Reyn) => new DynamicViscosity(_value / 6.8947572931683613e3, DynamicViscosityUnit.Reyn),
+ (DynamicViscosityUnit.NewtonSecondPerMeterSquared, DynamicViscosityUnit.PoundForceSecondPerSquareFoot) => new DynamicViscosity(_value * 9.290304e-2 / 4.4482216152605, DynamicViscosityUnit.PoundForceSecondPerSquareFoot),
+ (DynamicViscosityUnit.NewtonSecondPerMeterSquared, DynamicViscosityUnit.PoundForceSecondPerSquareInch) => new DynamicViscosity(_value * 0.00064516 / 4.4482216152605, DynamicViscosityUnit.PoundForceSecondPerSquareInch),
+ (DynamicViscosityUnit.NewtonSecondPerMeterSquared, DynamicViscosityUnit.PoundPerFootSecond) => new DynamicViscosity(_value * 0.3048 / 0.45359237, DynamicViscosityUnit.PoundPerFootSecond),
+ (DynamicViscosityUnit.NewtonSecondPerMeterSquared, DynamicViscosityUnit.Reyn) => new DynamicViscosity(_value * 0.00064516 / 4.4482216152605, DynamicViscosityUnit.Reyn),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs
index 37af59b8d6..77ba16410f 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricCharge.g.cs
@@ -903,25 +903,25 @@ private bool TryToUnit(ElectricChargeUnit unit, [NotNullWhen(true)] out Electric
ElectricCharge? convertedOrNull = (Unit, unit) switch
{
// ElectricChargeUnit -> BaseUnit
- (ElectricChargeUnit.AmpereHour, ElectricChargeUnit.Coulomb) => new ElectricCharge(_value / 2.77777777777e-4, ElectricChargeUnit.Coulomb),
- (ElectricChargeUnit.KiloampereHour, ElectricChargeUnit.Coulomb) => new ElectricCharge((_value / 2.77777777777e-4) * 1e3d, ElectricChargeUnit.Coulomb),
+ (ElectricChargeUnit.AmpereHour, ElectricChargeUnit.Coulomb) => new ElectricCharge(_value * 3600, ElectricChargeUnit.Coulomb),
+ (ElectricChargeUnit.KiloampereHour, ElectricChargeUnit.Coulomb) => new ElectricCharge((_value * 3600) * 1e3d, ElectricChargeUnit.Coulomb),
(ElectricChargeUnit.Kilocoulomb, ElectricChargeUnit.Coulomb) => new ElectricCharge((_value) * 1e3d, ElectricChargeUnit.Coulomb),
- (ElectricChargeUnit.MegaampereHour, ElectricChargeUnit.Coulomb) => new ElectricCharge((_value / 2.77777777777e-4) * 1e6d, ElectricChargeUnit.Coulomb),
+ (ElectricChargeUnit.MegaampereHour, ElectricChargeUnit.Coulomb) => new ElectricCharge((_value * 3600) * 1e6d, ElectricChargeUnit.Coulomb),
(ElectricChargeUnit.Megacoulomb, ElectricChargeUnit.Coulomb) => new ElectricCharge((_value) * 1e6d, ElectricChargeUnit.Coulomb),
(ElectricChargeUnit.Microcoulomb, ElectricChargeUnit.Coulomb) => new ElectricCharge((_value) * 1e-6d, ElectricChargeUnit.Coulomb),
- (ElectricChargeUnit.MilliampereHour, ElectricChargeUnit.Coulomb) => new ElectricCharge((_value / 2.77777777777e-4) * 1e-3d, ElectricChargeUnit.Coulomb),
+ (ElectricChargeUnit.MilliampereHour, ElectricChargeUnit.Coulomb) => new ElectricCharge((_value * 3600) * 1e-3d, ElectricChargeUnit.Coulomb),
(ElectricChargeUnit.Millicoulomb, ElectricChargeUnit.Coulomb) => new ElectricCharge((_value) * 1e-3d, ElectricChargeUnit.Coulomb),
(ElectricChargeUnit.Nanocoulomb, ElectricChargeUnit.Coulomb) => new ElectricCharge((_value) * 1e-9d, ElectricChargeUnit.Coulomb),
(ElectricChargeUnit.Picocoulomb, ElectricChargeUnit.Coulomb) => new ElectricCharge((_value) * 1e-12d, ElectricChargeUnit.Coulomb),
// BaseUnit -> ElectricChargeUnit
- (ElectricChargeUnit.Coulomb, ElectricChargeUnit.AmpereHour) => new ElectricCharge(_value * 2.77777777777e-4, ElectricChargeUnit.AmpereHour),
- (ElectricChargeUnit.Coulomb, ElectricChargeUnit.KiloampereHour) => new ElectricCharge((_value * 2.77777777777e-4) / 1e3d, ElectricChargeUnit.KiloampereHour),
+ (ElectricChargeUnit.Coulomb, ElectricChargeUnit.AmpereHour) => new ElectricCharge(_value / 3600, ElectricChargeUnit.AmpereHour),
+ (ElectricChargeUnit.Coulomb, ElectricChargeUnit.KiloampereHour) => new ElectricCharge((_value / 3600) / 1e3d, ElectricChargeUnit.KiloampereHour),
(ElectricChargeUnit.Coulomb, ElectricChargeUnit.Kilocoulomb) => new ElectricCharge((_value) / 1e3d, ElectricChargeUnit.Kilocoulomb),
- (ElectricChargeUnit.Coulomb, ElectricChargeUnit.MegaampereHour) => new ElectricCharge((_value * 2.77777777777e-4) / 1e6d, ElectricChargeUnit.MegaampereHour),
+ (ElectricChargeUnit.Coulomb, ElectricChargeUnit.MegaampereHour) => new ElectricCharge((_value / 3600) / 1e6d, ElectricChargeUnit.MegaampereHour),
(ElectricChargeUnit.Coulomb, ElectricChargeUnit.Megacoulomb) => new ElectricCharge((_value) / 1e6d, ElectricChargeUnit.Megacoulomb),
(ElectricChargeUnit.Coulomb, ElectricChargeUnit.Microcoulomb) => new ElectricCharge((_value) / 1e-6d, ElectricChargeUnit.Microcoulomb),
- (ElectricChargeUnit.Coulomb, ElectricChargeUnit.MilliampereHour) => new ElectricCharge((_value * 2.77777777777e-4) / 1e-3d, ElectricChargeUnit.MilliampereHour),
+ (ElectricChargeUnit.Coulomb, ElectricChargeUnit.MilliampereHour) => new ElectricCharge((_value / 3600) / 1e-3d, ElectricChargeUnit.MilliampereHour),
(ElectricChargeUnit.Coulomb, ElectricChargeUnit.Millicoulomb) => new ElectricCharge((_value) / 1e-3d, ElectricChargeUnit.Millicoulomb),
(ElectricChargeUnit.Coulomb, ElectricChargeUnit.Nanocoulomb) => new ElectricCharge((_value) / 1e-9d, ElectricChargeUnit.Nanocoulomb),
(ElectricChargeUnit.Coulomb, ElectricChargeUnit.Picocoulomb) => new ElectricCharge((_value) / 1e-12d, ElectricChargeUnit.Picocoulomb),
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs
index 59b59081ce..fd34844ccc 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricConductivity.g.cs
@@ -816,15 +816,15 @@ private bool TryToUnit(ElectricConductivityUnit unit, [NotNullWhen(true)] out El
(ElectricConductivityUnit.MicrosiemensPerCentimeter, ElectricConductivityUnit.SiemensPerMeter) => new ElectricConductivity((_value * 1e2) * 1e-6d, ElectricConductivityUnit.SiemensPerMeter),
(ElectricConductivityUnit.MillisiemensPerCentimeter, ElectricConductivityUnit.SiemensPerMeter) => new ElectricConductivity((_value * 1e2) * 1e-3d, ElectricConductivityUnit.SiemensPerMeter),
(ElectricConductivityUnit.SiemensPerCentimeter, ElectricConductivityUnit.SiemensPerMeter) => new ElectricConductivity(_value * 1e2, ElectricConductivityUnit.SiemensPerMeter),
- (ElectricConductivityUnit.SiemensPerFoot, ElectricConductivityUnit.SiemensPerMeter) => new ElectricConductivity(_value * 3.2808398950131234, ElectricConductivityUnit.SiemensPerMeter),
- (ElectricConductivityUnit.SiemensPerInch, ElectricConductivityUnit.SiemensPerMeter) => new ElectricConductivity(_value * 3.937007874015748e1, ElectricConductivityUnit.SiemensPerMeter),
+ (ElectricConductivityUnit.SiemensPerFoot, ElectricConductivityUnit.SiemensPerMeter) => new ElectricConductivity(_value / 0.3048, ElectricConductivityUnit.SiemensPerMeter),
+ (ElectricConductivityUnit.SiemensPerInch, ElectricConductivityUnit.SiemensPerMeter) => new ElectricConductivity(_value / 2.54e-2, ElectricConductivityUnit.SiemensPerMeter),
// BaseUnit -> ElectricConductivityUnit
(ElectricConductivityUnit.SiemensPerMeter, ElectricConductivityUnit.MicrosiemensPerCentimeter) => new ElectricConductivity((_value / 1e2) / 1e-6d, ElectricConductivityUnit.MicrosiemensPerCentimeter),
(ElectricConductivityUnit.SiemensPerMeter, ElectricConductivityUnit.MillisiemensPerCentimeter) => new ElectricConductivity((_value / 1e2) / 1e-3d, ElectricConductivityUnit.MillisiemensPerCentimeter),
(ElectricConductivityUnit.SiemensPerMeter, ElectricConductivityUnit.SiemensPerCentimeter) => new ElectricConductivity(_value / 1e2, ElectricConductivityUnit.SiemensPerCentimeter),
- (ElectricConductivityUnit.SiemensPerMeter, ElectricConductivityUnit.SiemensPerFoot) => new ElectricConductivity(_value / 3.2808398950131234, ElectricConductivityUnit.SiemensPerFoot),
- (ElectricConductivityUnit.SiemensPerMeter, ElectricConductivityUnit.SiemensPerInch) => new ElectricConductivity(_value / 3.937007874015748e1, ElectricConductivityUnit.SiemensPerInch),
+ (ElectricConductivityUnit.SiemensPerMeter, ElectricConductivityUnit.SiemensPerFoot) => new ElectricConductivity(_value * 0.3048, ElectricConductivityUnit.SiemensPerFoot),
+ (ElectricConductivityUnit.SiemensPerMeter, ElectricConductivityUnit.SiemensPerInch) => new ElectricConductivity(_value * 2.54e-2, ElectricConductivityUnit.SiemensPerInch),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs
index 8e0bfce5a0..ea423b0578 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricCurrentDensity.g.cs
@@ -759,12 +759,12 @@ private bool TryToUnit(ElectricCurrentDensityUnit unit, [NotNullWhen(true)] out
ElectricCurrentDensity? convertedOrNull = (Unit, unit) switch
{
// ElectricCurrentDensityUnit -> BaseUnit
- (ElectricCurrentDensityUnit.AmperePerSquareFoot, ElectricCurrentDensityUnit.AmperePerSquareMeter) => new ElectricCurrentDensity(_value * 1.0763910416709722e1, ElectricCurrentDensityUnit.AmperePerSquareMeter),
- (ElectricCurrentDensityUnit.AmperePerSquareInch, ElectricCurrentDensityUnit.AmperePerSquareMeter) => new ElectricCurrentDensity(_value * 1.5500031000062000e3, ElectricCurrentDensityUnit.AmperePerSquareMeter),
+ (ElectricCurrentDensityUnit.AmperePerSquareFoot, ElectricCurrentDensityUnit.AmperePerSquareMeter) => new ElectricCurrentDensity(_value / 9.290304e-2, ElectricCurrentDensityUnit.AmperePerSquareMeter),
+ (ElectricCurrentDensityUnit.AmperePerSquareInch, ElectricCurrentDensityUnit.AmperePerSquareMeter) => new ElectricCurrentDensity(_value / 0.00064516, ElectricCurrentDensityUnit.AmperePerSquareMeter),
// BaseUnit -> ElectricCurrentDensityUnit
- (ElectricCurrentDensityUnit.AmperePerSquareMeter, ElectricCurrentDensityUnit.AmperePerSquareFoot) => new ElectricCurrentDensity(_value / 1.0763910416709722e1, ElectricCurrentDensityUnit.AmperePerSquareFoot),
- (ElectricCurrentDensityUnit.AmperePerSquareMeter, ElectricCurrentDensityUnit.AmperePerSquareInch) => new ElectricCurrentDensity(_value / 1.5500031000062000e3, ElectricCurrentDensityUnit.AmperePerSquareInch),
+ (ElectricCurrentDensityUnit.AmperePerSquareMeter, ElectricCurrentDensityUnit.AmperePerSquareFoot) => new ElectricCurrentDensity(_value * 9.290304e-2, ElectricCurrentDensityUnit.AmperePerSquareFoot),
+ (ElectricCurrentDensityUnit.AmperePerSquareMeter, ElectricCurrentDensityUnit.AmperePerSquareInch) => new ElectricCurrentDensity(_value * 0.00064516, ElectricCurrentDensityUnit.AmperePerSquareInch),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs
index 04cee8105d..cef178b0a7 100644
--- a/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ElectricSurfaceChargeDensity.g.cs
@@ -760,11 +760,11 @@ private bool TryToUnit(ElectricSurfaceChargeDensityUnit unit, [NotNullWhen(true)
{
// ElectricSurfaceChargeDensityUnit -> BaseUnit
(ElectricSurfaceChargeDensityUnit.CoulombPerSquareCentimeter, ElectricSurfaceChargeDensityUnit.CoulombPerSquareMeter) => new ElectricSurfaceChargeDensity(_value * 1.0e4, ElectricSurfaceChargeDensityUnit.CoulombPerSquareMeter),
- (ElectricSurfaceChargeDensityUnit.CoulombPerSquareInch, ElectricSurfaceChargeDensityUnit.CoulombPerSquareMeter) => new ElectricSurfaceChargeDensity(_value * 1.5500031000062000e3, ElectricSurfaceChargeDensityUnit.CoulombPerSquareMeter),
+ (ElectricSurfaceChargeDensityUnit.CoulombPerSquareInch, ElectricSurfaceChargeDensityUnit.CoulombPerSquareMeter) => new ElectricSurfaceChargeDensity(_value / 0.00064516, ElectricSurfaceChargeDensityUnit.CoulombPerSquareMeter),
// BaseUnit -> ElectricSurfaceChargeDensityUnit
(ElectricSurfaceChargeDensityUnit.CoulombPerSquareMeter, ElectricSurfaceChargeDensityUnit.CoulombPerSquareCentimeter) => new ElectricSurfaceChargeDensity(_value / 1.0e4, ElectricSurfaceChargeDensityUnit.CoulombPerSquareCentimeter),
- (ElectricSurfaceChargeDensityUnit.CoulombPerSquareMeter, ElectricSurfaceChargeDensityUnit.CoulombPerSquareInch) => new ElectricSurfaceChargeDensity(_value / 1.5500031000062000e3, ElectricSurfaceChargeDensityUnit.CoulombPerSquareInch),
+ (ElectricSurfaceChargeDensityUnit.CoulombPerSquareMeter, ElectricSurfaceChargeDensityUnit.CoulombPerSquareInch) => new ElectricSurfaceChargeDensity(_value * 0.00064516, ElectricSurfaceChargeDensityUnit.CoulombPerSquareInch),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/Energy.g.cs b/UnitsNet/GeneratedCode/Quantities/Energy.g.cs
index bd479ee511..39690416e8 100644
--- a/UnitsNet/GeneratedCode/Quantities/Energy.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Energy.g.cs
@@ -1427,24 +1427,24 @@ private bool TryToUnit(EnergyUnit unit, [NotNullWhen(true)] out Energy? converte
(EnergyUnit.DecathermEc, EnergyUnit.Joule) => new Energy((_value * 1.05505585262e8) * 1e1d, EnergyUnit.Joule),
(EnergyUnit.DecathermImperial, EnergyUnit.Joule) => new Energy((_value * 1.05505585257348e8) * 1e1d, EnergyUnit.Joule),
(EnergyUnit.DecathermUs, EnergyUnit.Joule) => new Energy((_value * 1.054804e8) * 1e1d, EnergyUnit.Joule),
- (EnergyUnit.ElectronVolt, EnergyUnit.Joule) => new Energy(_value * 1.602176565e-19, EnergyUnit.Joule),
+ (EnergyUnit.ElectronVolt, EnergyUnit.Joule) => new Energy(_value * 1.602176634e-19, EnergyUnit.Joule),
(EnergyUnit.Erg, EnergyUnit.Joule) => new Energy(_value * 1e-7, EnergyUnit.Joule),
- (EnergyUnit.FootPound, EnergyUnit.Joule) => new Energy(_value * 1.355817948, EnergyUnit.Joule),
+ (EnergyUnit.FootPound, EnergyUnit.Joule) => new Energy(_value * 1.3558179483314004, EnergyUnit.Joule),
(EnergyUnit.GigabritishThermalUnit, EnergyUnit.Joule) => new Energy((_value * 1055.05585262) * 1e9d, EnergyUnit.Joule),
- (EnergyUnit.GigaelectronVolt, EnergyUnit.Joule) => new Energy((_value * 1.602176565e-19) * 1e9d, EnergyUnit.Joule),
+ (EnergyUnit.GigaelectronVolt, EnergyUnit.Joule) => new Energy((_value * 1.602176634e-19) * 1e9d, EnergyUnit.Joule),
(EnergyUnit.Gigajoule, EnergyUnit.Joule) => new Energy((_value) * 1e9d, EnergyUnit.Joule),
(EnergyUnit.GigawattDay, EnergyUnit.Joule) => new Energy((_value * 24 * 3600d) * 1e9d, EnergyUnit.Joule),
(EnergyUnit.GigawattHour, EnergyUnit.Joule) => new Energy((_value * 3600d) * 1e9d, EnergyUnit.Joule),
- (EnergyUnit.HorsepowerHour, EnergyUnit.Joule) => new Energy(_value * 2.6845195377e6, EnergyUnit.Joule),
+ (EnergyUnit.HorsepowerHour, EnergyUnit.Joule) => new Energy(_value * 76.0402249 * 9.80665 * 3600, EnergyUnit.Joule),
(EnergyUnit.KilobritishThermalUnit, EnergyUnit.Joule) => new Energy((_value * 1055.05585262) * 1e3d, EnergyUnit.Joule),
(EnergyUnit.Kilocalorie, EnergyUnit.Joule) => new Energy((_value * 4.184) * 1e3d, EnergyUnit.Joule),
- (EnergyUnit.KiloelectronVolt, EnergyUnit.Joule) => new Energy((_value * 1.602176565e-19) * 1e3d, EnergyUnit.Joule),
+ (EnergyUnit.KiloelectronVolt, EnergyUnit.Joule) => new Energy((_value * 1.602176634e-19) * 1e3d, EnergyUnit.Joule),
(EnergyUnit.Kilojoule, EnergyUnit.Joule) => new Energy((_value) * 1e3d, EnergyUnit.Joule),
(EnergyUnit.KilowattDay, EnergyUnit.Joule) => new Energy((_value * 24 * 3600d) * 1e3d, EnergyUnit.Joule),
(EnergyUnit.KilowattHour, EnergyUnit.Joule) => new Energy((_value * 3600d) * 1e3d, EnergyUnit.Joule),
(EnergyUnit.MegabritishThermalUnit, EnergyUnit.Joule) => new Energy((_value * 1055.05585262) * 1e6d, EnergyUnit.Joule),
(EnergyUnit.Megacalorie, EnergyUnit.Joule) => new Energy((_value * 4.184) * 1e6d, EnergyUnit.Joule),
- (EnergyUnit.MegaelectronVolt, EnergyUnit.Joule) => new Energy((_value * 1.602176565e-19) * 1e6d, EnergyUnit.Joule),
+ (EnergyUnit.MegaelectronVolt, EnergyUnit.Joule) => new Energy((_value * 1.602176634e-19) * 1e6d, EnergyUnit.Joule),
(EnergyUnit.Megajoule, EnergyUnit.Joule) => new Energy((_value) * 1e6d, EnergyUnit.Joule),
(EnergyUnit.MegawattDay, EnergyUnit.Joule) => new Energy((_value * 24 * 3600d) * 1e6d, EnergyUnit.Joule),
(EnergyUnit.MegawattHour, EnergyUnit.Joule) => new Energy((_value * 3600d) * 1e6d, EnergyUnit.Joule),
@@ -1452,7 +1452,7 @@ private bool TryToUnit(EnergyUnit unit, [NotNullWhen(true)] out Energy? converte
(EnergyUnit.Millijoule, EnergyUnit.Joule) => new Energy((_value) * 1e-3d, EnergyUnit.Joule),
(EnergyUnit.Nanojoule, EnergyUnit.Joule) => new Energy((_value) * 1e-9d, EnergyUnit.Joule),
(EnergyUnit.Petajoule, EnergyUnit.Joule) => new Energy((_value) * 1e15d, EnergyUnit.Joule),
- (EnergyUnit.TeraelectronVolt, EnergyUnit.Joule) => new Energy((_value * 1.602176565e-19) * 1e12d, EnergyUnit.Joule),
+ (EnergyUnit.TeraelectronVolt, EnergyUnit.Joule) => new Energy((_value * 1.602176634e-19) * 1e12d, EnergyUnit.Joule),
(EnergyUnit.Terajoule, EnergyUnit.Joule) => new Energy((_value) * 1e12d, EnergyUnit.Joule),
(EnergyUnit.TerawattDay, EnergyUnit.Joule) => new Energy((_value * 24 * 3600d) * 1e12d, EnergyUnit.Joule),
(EnergyUnit.TerawattHour, EnergyUnit.Joule) => new Energy((_value * 3600d) * 1e12d, EnergyUnit.Joule),
@@ -1468,24 +1468,24 @@ private bool TryToUnit(EnergyUnit unit, [NotNullWhen(true)] out Energy? converte
(EnergyUnit.Joule, EnergyUnit.DecathermEc) => new Energy((_value / 1.05505585262e8) / 1e1d, EnergyUnit.DecathermEc),
(EnergyUnit.Joule, EnergyUnit.DecathermImperial) => new Energy((_value / 1.05505585257348e8) / 1e1d, EnergyUnit.DecathermImperial),
(EnergyUnit.Joule, EnergyUnit.DecathermUs) => new Energy((_value / 1.054804e8) / 1e1d, EnergyUnit.DecathermUs),
- (EnergyUnit.Joule, EnergyUnit.ElectronVolt) => new Energy(_value / 1.602176565e-19, EnergyUnit.ElectronVolt),
+ (EnergyUnit.Joule, EnergyUnit.ElectronVolt) => new Energy(_value / 1.602176634e-19, EnergyUnit.ElectronVolt),
(EnergyUnit.Joule, EnergyUnit.Erg) => new Energy(_value / 1e-7, EnergyUnit.Erg),
- (EnergyUnit.Joule, EnergyUnit.FootPound) => new Energy(_value / 1.355817948, EnergyUnit.FootPound),
+ (EnergyUnit.Joule, EnergyUnit.FootPound) => new Energy(_value / 1.3558179483314004, EnergyUnit.FootPound),
(EnergyUnit.Joule, EnergyUnit.GigabritishThermalUnit) => new Energy((_value / 1055.05585262) / 1e9d, EnergyUnit.GigabritishThermalUnit),
- (EnergyUnit.Joule, EnergyUnit.GigaelectronVolt) => new Energy((_value / 1.602176565e-19) / 1e9d, EnergyUnit.GigaelectronVolt),
+ (EnergyUnit.Joule, EnergyUnit.GigaelectronVolt) => new Energy((_value / 1.602176634e-19) / 1e9d, EnergyUnit.GigaelectronVolt),
(EnergyUnit.Joule, EnergyUnit.Gigajoule) => new Energy((_value) / 1e9d, EnergyUnit.Gigajoule),
(EnergyUnit.Joule, EnergyUnit.GigawattDay) => new Energy((_value / (24 * 3600d)) / 1e9d, EnergyUnit.GigawattDay),
(EnergyUnit.Joule, EnergyUnit.GigawattHour) => new Energy((_value / 3600d) / 1e9d, EnergyUnit.GigawattHour),
- (EnergyUnit.Joule, EnergyUnit.HorsepowerHour) => new Energy(_value / 2.6845195377e6, EnergyUnit.HorsepowerHour),
+ (EnergyUnit.Joule, EnergyUnit.HorsepowerHour) => new Energy(_value / (76.0402249 * 9.80665 * 3600), EnergyUnit.HorsepowerHour),
(EnergyUnit.Joule, EnergyUnit.KilobritishThermalUnit) => new Energy((_value / 1055.05585262) / 1e3d, EnergyUnit.KilobritishThermalUnit),
(EnergyUnit.Joule, EnergyUnit.Kilocalorie) => new Energy((_value / 4.184) / 1e3d, EnergyUnit.Kilocalorie),
- (EnergyUnit.Joule, EnergyUnit.KiloelectronVolt) => new Energy((_value / 1.602176565e-19) / 1e3d, EnergyUnit.KiloelectronVolt),
+ (EnergyUnit.Joule, EnergyUnit.KiloelectronVolt) => new Energy((_value / 1.602176634e-19) / 1e3d, EnergyUnit.KiloelectronVolt),
(EnergyUnit.Joule, EnergyUnit.Kilojoule) => new Energy((_value) / 1e3d, EnergyUnit.Kilojoule),
(EnergyUnit.Joule, EnergyUnit.KilowattDay) => new Energy((_value / (24 * 3600d)) / 1e3d, EnergyUnit.KilowattDay),
(EnergyUnit.Joule, EnergyUnit.KilowattHour) => new Energy((_value / 3600d) / 1e3d, EnergyUnit.KilowattHour),
(EnergyUnit.Joule, EnergyUnit.MegabritishThermalUnit) => new Energy((_value / 1055.05585262) / 1e6d, EnergyUnit.MegabritishThermalUnit),
(EnergyUnit.Joule, EnergyUnit.Megacalorie) => new Energy((_value / 4.184) / 1e6d, EnergyUnit.Megacalorie),
- (EnergyUnit.Joule, EnergyUnit.MegaelectronVolt) => new Energy((_value / 1.602176565e-19) / 1e6d, EnergyUnit.MegaelectronVolt),
+ (EnergyUnit.Joule, EnergyUnit.MegaelectronVolt) => new Energy((_value / 1.602176634e-19) / 1e6d, EnergyUnit.MegaelectronVolt),
(EnergyUnit.Joule, EnergyUnit.Megajoule) => new Energy((_value) / 1e6d, EnergyUnit.Megajoule),
(EnergyUnit.Joule, EnergyUnit.MegawattDay) => new Energy((_value / (24 * 3600d)) / 1e6d, EnergyUnit.MegawattDay),
(EnergyUnit.Joule, EnergyUnit.MegawattHour) => new Energy((_value / 3600d) / 1e6d, EnergyUnit.MegawattHour),
@@ -1493,7 +1493,7 @@ private bool TryToUnit(EnergyUnit unit, [NotNullWhen(true)] out Energy? converte
(EnergyUnit.Joule, EnergyUnit.Millijoule) => new Energy((_value) / 1e-3d, EnergyUnit.Millijoule),
(EnergyUnit.Joule, EnergyUnit.Nanojoule) => new Energy((_value) / 1e-9d, EnergyUnit.Nanojoule),
(EnergyUnit.Joule, EnergyUnit.Petajoule) => new Energy((_value) / 1e15d, EnergyUnit.Petajoule),
- (EnergyUnit.Joule, EnergyUnit.TeraelectronVolt) => new Energy((_value / 1.602176565e-19) / 1e12d, EnergyUnit.TeraelectronVolt),
+ (EnergyUnit.Joule, EnergyUnit.TeraelectronVolt) => new Energy((_value / 1.602176634e-19) / 1e12d, EnergyUnit.TeraelectronVolt),
(EnergyUnit.Joule, EnergyUnit.Terajoule) => new Energy((_value) / 1e12d, EnergyUnit.Terajoule),
(EnergyUnit.Joule, EnergyUnit.TerawattDay) => new Energy((_value / (24 * 3600d)) / 1e12d, EnergyUnit.TerawattDay),
(EnergyUnit.Joule, EnergyUnit.TerawattHour) => new Energy((_value / 3600d) / 1e12d, EnergyUnit.TerawattHour),
diff --git a/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs
index 761a46a672..8fd6a759cc 100644
--- a/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ForceChangeRate.g.cs
@@ -978,14 +978,14 @@ private bool TryToUnit(ForceChangeRateUnit unit, [NotNullWhen(true)] out ForceCh
(ForceChangeRateUnit.DecinewtonPerSecond, ForceChangeRateUnit.NewtonPerSecond) => new ForceChangeRate((_value) * 1e-1d, ForceChangeRateUnit.NewtonPerSecond),
(ForceChangeRateUnit.KilonewtonPerMinute, ForceChangeRateUnit.NewtonPerSecond) => new ForceChangeRate((_value / 60) * 1e3d, ForceChangeRateUnit.NewtonPerSecond),
(ForceChangeRateUnit.KilonewtonPerSecond, ForceChangeRateUnit.NewtonPerSecond) => new ForceChangeRate((_value) * 1e3d, ForceChangeRateUnit.NewtonPerSecond),
- (ForceChangeRateUnit.KilopoundForcePerMinute, ForceChangeRateUnit.NewtonPerSecond) => new ForceChangeRate((_value * 4.4482216152605095551842641431421 / 60) * 1e3d, ForceChangeRateUnit.NewtonPerSecond),
- (ForceChangeRateUnit.KilopoundForcePerSecond, ForceChangeRateUnit.NewtonPerSecond) => new ForceChangeRate((_value * 4.4482216152605095551842641431421) * 1e3d, ForceChangeRateUnit.NewtonPerSecond),
+ (ForceChangeRateUnit.KilopoundForcePerMinute, ForceChangeRateUnit.NewtonPerSecond) => new ForceChangeRate((_value * 4.4482216152605 / 60) * 1e3d, ForceChangeRateUnit.NewtonPerSecond),
+ (ForceChangeRateUnit.KilopoundForcePerSecond, ForceChangeRateUnit.NewtonPerSecond) => new ForceChangeRate((_value * 4.4482216152605) * 1e3d, ForceChangeRateUnit.NewtonPerSecond),
(ForceChangeRateUnit.MicronewtonPerSecond, ForceChangeRateUnit.NewtonPerSecond) => new ForceChangeRate((_value) * 1e-6d, ForceChangeRateUnit.NewtonPerSecond),
(ForceChangeRateUnit.MillinewtonPerSecond, ForceChangeRateUnit.NewtonPerSecond) => new ForceChangeRate((_value) * 1e-3d, ForceChangeRateUnit.NewtonPerSecond),
(ForceChangeRateUnit.NanonewtonPerSecond, ForceChangeRateUnit.NewtonPerSecond) => new ForceChangeRate((_value) * 1e-9d, ForceChangeRateUnit.NewtonPerSecond),
(ForceChangeRateUnit.NewtonPerMinute, ForceChangeRateUnit.NewtonPerSecond) => new ForceChangeRate(_value / 60, ForceChangeRateUnit.NewtonPerSecond),
- (ForceChangeRateUnit.PoundForcePerMinute, ForceChangeRateUnit.NewtonPerSecond) => new ForceChangeRate(_value * 4.4482216152605095551842641431421 / 60, ForceChangeRateUnit.NewtonPerSecond),
- (ForceChangeRateUnit.PoundForcePerSecond, ForceChangeRateUnit.NewtonPerSecond) => new ForceChangeRate(_value * 4.4482216152605095551842641431421, ForceChangeRateUnit.NewtonPerSecond),
+ (ForceChangeRateUnit.PoundForcePerMinute, ForceChangeRateUnit.NewtonPerSecond) => new ForceChangeRate(_value * 4.4482216152605 / 60, ForceChangeRateUnit.NewtonPerSecond),
+ (ForceChangeRateUnit.PoundForcePerSecond, ForceChangeRateUnit.NewtonPerSecond) => new ForceChangeRate(_value * 4.4482216152605, ForceChangeRateUnit.NewtonPerSecond),
// BaseUnit -> ForceChangeRateUnit
(ForceChangeRateUnit.NewtonPerSecond, ForceChangeRateUnit.CentinewtonPerSecond) => new ForceChangeRate((_value) / 1e-2d, ForceChangeRateUnit.CentinewtonPerSecond),
@@ -994,14 +994,14 @@ private bool TryToUnit(ForceChangeRateUnit unit, [NotNullWhen(true)] out ForceCh
(ForceChangeRateUnit.NewtonPerSecond, ForceChangeRateUnit.DecinewtonPerSecond) => new ForceChangeRate((_value) / 1e-1d, ForceChangeRateUnit.DecinewtonPerSecond),
(ForceChangeRateUnit.NewtonPerSecond, ForceChangeRateUnit.KilonewtonPerMinute) => new ForceChangeRate((_value * 60) / 1e3d, ForceChangeRateUnit.KilonewtonPerMinute),
(ForceChangeRateUnit.NewtonPerSecond, ForceChangeRateUnit.KilonewtonPerSecond) => new ForceChangeRate((_value) / 1e3d, ForceChangeRateUnit.KilonewtonPerSecond),
- (ForceChangeRateUnit.NewtonPerSecond, ForceChangeRateUnit.KilopoundForcePerMinute) => new ForceChangeRate((_value / 4.4482216152605095551842641431421 * 60) / 1e3d, ForceChangeRateUnit.KilopoundForcePerMinute),
- (ForceChangeRateUnit.NewtonPerSecond, ForceChangeRateUnit.KilopoundForcePerSecond) => new ForceChangeRate((_value / 4.4482216152605095551842641431421) / 1e3d, ForceChangeRateUnit.KilopoundForcePerSecond),
+ (ForceChangeRateUnit.NewtonPerSecond, ForceChangeRateUnit.KilopoundForcePerMinute) => new ForceChangeRate((_value / 4.4482216152605 * 60) / 1e3d, ForceChangeRateUnit.KilopoundForcePerMinute),
+ (ForceChangeRateUnit.NewtonPerSecond, ForceChangeRateUnit.KilopoundForcePerSecond) => new ForceChangeRate((_value / 4.4482216152605) / 1e3d, ForceChangeRateUnit.KilopoundForcePerSecond),
(ForceChangeRateUnit.NewtonPerSecond, ForceChangeRateUnit.MicronewtonPerSecond) => new ForceChangeRate((_value) / 1e-6d, ForceChangeRateUnit.MicronewtonPerSecond),
(ForceChangeRateUnit.NewtonPerSecond, ForceChangeRateUnit.MillinewtonPerSecond) => new ForceChangeRate((_value) / 1e-3d, ForceChangeRateUnit.MillinewtonPerSecond),
(ForceChangeRateUnit.NewtonPerSecond, ForceChangeRateUnit.NanonewtonPerSecond) => new ForceChangeRate((_value) / 1e-9d, ForceChangeRateUnit.NanonewtonPerSecond),
(ForceChangeRateUnit.NewtonPerSecond, ForceChangeRateUnit.NewtonPerMinute) => new ForceChangeRate(_value * 60, ForceChangeRateUnit.NewtonPerMinute),
- (ForceChangeRateUnit.NewtonPerSecond, ForceChangeRateUnit.PoundForcePerMinute) => new ForceChangeRate(_value / 4.4482216152605095551842641431421 * 60, ForceChangeRateUnit.PoundForcePerMinute),
- (ForceChangeRateUnit.NewtonPerSecond, ForceChangeRateUnit.PoundForcePerSecond) => new ForceChangeRate(_value / 4.4482216152605095551842641431421, ForceChangeRateUnit.PoundForcePerSecond),
+ (ForceChangeRateUnit.NewtonPerSecond, ForceChangeRateUnit.PoundForcePerMinute) => new ForceChangeRate(_value / 4.4482216152605 * 60, ForceChangeRateUnit.PoundForcePerMinute),
+ (ForceChangeRateUnit.NewtonPerSecond, ForceChangeRateUnit.PoundForcePerSecond) => new ForceChangeRate(_value / 4.4482216152605, ForceChangeRateUnit.PoundForcePerSecond),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs
index cbd04583f8..30990d67b5 100644
--- a/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ForcePerLength.g.cs
@@ -1395,14 +1395,14 @@ private bool TryToUnit(ForcePerLengthUnit unit, [NotNullWhen(true)] out ForcePer
(ForcePerLengthUnit.DecinewtonPerCentimeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength((_value * 1e2) * 1e-1d, ForcePerLengthUnit.NewtonPerMeter),
(ForcePerLengthUnit.DecinewtonPerMeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength((_value) * 1e-1d, ForcePerLengthUnit.NewtonPerMeter),
(ForcePerLengthUnit.DecinewtonPerMillimeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength((_value * 1e3) * 1e-1d, ForcePerLengthUnit.NewtonPerMeter),
- (ForcePerLengthUnit.KilogramForcePerCentimeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 980.665002864, ForcePerLengthUnit.NewtonPerMeter),
- (ForcePerLengthUnit.KilogramForcePerMeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 9.80665002864, ForcePerLengthUnit.NewtonPerMeter),
- (ForcePerLengthUnit.KilogramForcePerMillimeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 9.80665002864e3, ForcePerLengthUnit.NewtonPerMeter),
+ (ForcePerLengthUnit.KilogramForcePerCentimeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 980.665, ForcePerLengthUnit.NewtonPerMeter),
+ (ForcePerLengthUnit.KilogramForcePerMeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 9.80665, ForcePerLengthUnit.NewtonPerMeter),
+ (ForcePerLengthUnit.KilogramForcePerMillimeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 9.80665e3, ForcePerLengthUnit.NewtonPerMeter),
(ForcePerLengthUnit.KilonewtonPerCentimeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength((_value * 1e2) * 1e3d, ForcePerLengthUnit.NewtonPerMeter),
(ForcePerLengthUnit.KilonewtonPerMeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength((_value) * 1e3d, ForcePerLengthUnit.NewtonPerMeter),
(ForcePerLengthUnit.KilonewtonPerMillimeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength((_value * 1e3) * 1e3d, ForcePerLengthUnit.NewtonPerMeter),
- (ForcePerLengthUnit.KilopoundForcePerFoot, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 14593.90292, ForcePerLengthUnit.NewtonPerMeter),
- (ForcePerLengthUnit.KilopoundForcePerInch, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 1.75126835e5, ForcePerLengthUnit.NewtonPerMeter),
+ (ForcePerLengthUnit.KilopoundForcePerFoot, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 4.4482216152605 / 0.3048e-3, ForcePerLengthUnit.NewtonPerMeter),
+ (ForcePerLengthUnit.KilopoundForcePerInch, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 4.4482216152605 / 2.54e-5, ForcePerLengthUnit.NewtonPerMeter),
(ForcePerLengthUnit.MeganewtonPerCentimeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength((_value * 1e2) * 1e6d, ForcePerLengthUnit.NewtonPerMeter),
(ForcePerLengthUnit.MeganewtonPerMeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength((_value) * 1e6d, ForcePerLengthUnit.NewtonPerMeter),
(ForcePerLengthUnit.MeganewtonPerMillimeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength((_value * 1e3) * 1e6d, ForcePerLengthUnit.NewtonPerMeter),
@@ -1417,12 +1417,12 @@ private bool TryToUnit(ForcePerLengthUnit unit, [NotNullWhen(true)] out ForcePer
(ForcePerLengthUnit.NanonewtonPerMillimeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength((_value * 1e3) * 1e-9d, ForcePerLengthUnit.NewtonPerMeter),
(ForcePerLengthUnit.NewtonPerCentimeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 1e2, ForcePerLengthUnit.NewtonPerMeter),
(ForcePerLengthUnit.NewtonPerMillimeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 1e3, ForcePerLengthUnit.NewtonPerMeter),
- (ForcePerLengthUnit.PoundForcePerFoot, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 14.59390292, ForcePerLengthUnit.NewtonPerMeter),
- (ForcePerLengthUnit.PoundForcePerInch, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 1.75126835e2, ForcePerLengthUnit.NewtonPerMeter),
- (ForcePerLengthUnit.PoundForcePerYard, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 4.864634307, ForcePerLengthUnit.NewtonPerMeter),
- (ForcePerLengthUnit.TonneForcePerCentimeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 9.80665002864e5, ForcePerLengthUnit.NewtonPerMeter),
- (ForcePerLengthUnit.TonneForcePerMeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 9.80665002864e3, ForcePerLengthUnit.NewtonPerMeter),
- (ForcePerLengthUnit.TonneForcePerMillimeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 9.80665002864e6, ForcePerLengthUnit.NewtonPerMeter),
+ (ForcePerLengthUnit.PoundForcePerFoot, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 4.4482216152605 / 0.3048, ForcePerLengthUnit.NewtonPerMeter),
+ (ForcePerLengthUnit.PoundForcePerInch, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 4.4482216152605 / 2.54e-2, ForcePerLengthUnit.NewtonPerMeter),
+ (ForcePerLengthUnit.PoundForcePerYard, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 4.4482216152605 / 0.9144, ForcePerLengthUnit.NewtonPerMeter),
+ (ForcePerLengthUnit.TonneForcePerCentimeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 9.80665e5, ForcePerLengthUnit.NewtonPerMeter),
+ (ForcePerLengthUnit.TonneForcePerMeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 9.80665e3, ForcePerLengthUnit.NewtonPerMeter),
+ (ForcePerLengthUnit.TonneForcePerMillimeter, ForcePerLengthUnit.NewtonPerMeter) => new ForcePerLength(_value * 9.80665e6, ForcePerLengthUnit.NewtonPerMeter),
// BaseUnit -> ForcePerLengthUnit
(ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.CentinewtonPerCentimeter) => new ForcePerLength((_value / 1e2) / 1e-2d, ForcePerLengthUnit.CentinewtonPerCentimeter),
@@ -1434,14 +1434,14 @@ private bool TryToUnit(ForcePerLengthUnit unit, [NotNullWhen(true)] out ForcePer
(ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.DecinewtonPerCentimeter) => new ForcePerLength((_value / 1e2) / 1e-1d, ForcePerLengthUnit.DecinewtonPerCentimeter),
(ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.DecinewtonPerMeter) => new ForcePerLength((_value) / 1e-1d, ForcePerLengthUnit.DecinewtonPerMeter),
(ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.DecinewtonPerMillimeter) => new ForcePerLength((_value / 1e3) / 1e-1d, ForcePerLengthUnit.DecinewtonPerMillimeter),
- (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.KilogramForcePerCentimeter) => new ForcePerLength(_value / 980.665002864, ForcePerLengthUnit.KilogramForcePerCentimeter),
- (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.KilogramForcePerMeter) => new ForcePerLength(_value / 9.80665002864, ForcePerLengthUnit.KilogramForcePerMeter),
- (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.KilogramForcePerMillimeter) => new ForcePerLength(_value / 9.80665002864e3, ForcePerLengthUnit.KilogramForcePerMillimeter),
+ (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.KilogramForcePerCentimeter) => new ForcePerLength(_value / 980.665, ForcePerLengthUnit.KilogramForcePerCentimeter),
+ (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.KilogramForcePerMeter) => new ForcePerLength(_value / 9.80665, ForcePerLengthUnit.KilogramForcePerMeter),
+ (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.KilogramForcePerMillimeter) => new ForcePerLength(_value / 9.80665e3, ForcePerLengthUnit.KilogramForcePerMillimeter),
(ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.KilonewtonPerCentimeter) => new ForcePerLength((_value / 1e2) / 1e3d, ForcePerLengthUnit.KilonewtonPerCentimeter),
(ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.KilonewtonPerMeter) => new ForcePerLength((_value) / 1e3d, ForcePerLengthUnit.KilonewtonPerMeter),
(ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.KilonewtonPerMillimeter) => new ForcePerLength((_value / 1e3) / 1e3d, ForcePerLengthUnit.KilonewtonPerMillimeter),
- (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.KilopoundForcePerFoot) => new ForcePerLength(_value / 14593.90292, ForcePerLengthUnit.KilopoundForcePerFoot),
- (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.KilopoundForcePerInch) => new ForcePerLength(_value / 1.75126835e5, ForcePerLengthUnit.KilopoundForcePerInch),
+ (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.KilopoundForcePerFoot) => new ForcePerLength(_value * 0.3048e-3 / 4.4482216152605, ForcePerLengthUnit.KilopoundForcePerFoot),
+ (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.KilopoundForcePerInch) => new ForcePerLength(_value * 2.54e-5 / 4.4482216152605, ForcePerLengthUnit.KilopoundForcePerInch),
(ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.MeganewtonPerCentimeter) => new ForcePerLength((_value / 1e2) / 1e6d, ForcePerLengthUnit.MeganewtonPerCentimeter),
(ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.MeganewtonPerMeter) => new ForcePerLength((_value) / 1e6d, ForcePerLengthUnit.MeganewtonPerMeter),
(ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.MeganewtonPerMillimeter) => new ForcePerLength((_value / 1e3) / 1e6d, ForcePerLengthUnit.MeganewtonPerMillimeter),
@@ -1456,12 +1456,12 @@ private bool TryToUnit(ForcePerLengthUnit unit, [NotNullWhen(true)] out ForcePer
(ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.NanonewtonPerMillimeter) => new ForcePerLength((_value / 1e3) / 1e-9d, ForcePerLengthUnit.NanonewtonPerMillimeter),
(ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.NewtonPerCentimeter) => new ForcePerLength(_value / 1e2, ForcePerLengthUnit.NewtonPerCentimeter),
(ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.NewtonPerMillimeter) => new ForcePerLength(_value / 1e3, ForcePerLengthUnit.NewtonPerMillimeter),
- (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.PoundForcePerFoot) => new ForcePerLength(_value / 14.59390292, ForcePerLengthUnit.PoundForcePerFoot),
- (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.PoundForcePerInch) => new ForcePerLength(_value / 1.75126835e2, ForcePerLengthUnit.PoundForcePerInch),
- (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.PoundForcePerYard) => new ForcePerLength(_value / 4.864634307, ForcePerLengthUnit.PoundForcePerYard),
- (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.TonneForcePerCentimeter) => new ForcePerLength(_value / 9.80665002864e5, ForcePerLengthUnit.TonneForcePerCentimeter),
- (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.TonneForcePerMeter) => new ForcePerLength(_value / 9.80665002864e3, ForcePerLengthUnit.TonneForcePerMeter),
- (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.TonneForcePerMillimeter) => new ForcePerLength(_value / 9.80665002864e6, ForcePerLengthUnit.TonneForcePerMillimeter),
+ (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.PoundForcePerFoot) => new ForcePerLength(_value * 0.3048 / 4.4482216152605, ForcePerLengthUnit.PoundForcePerFoot),
+ (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.PoundForcePerInch) => new ForcePerLength(_value * 2.54e-2 / 4.4482216152605, ForcePerLengthUnit.PoundForcePerInch),
+ (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.PoundForcePerYard) => new ForcePerLength(_value * 0.9144 / 4.4482216152605, ForcePerLengthUnit.PoundForcePerYard),
+ (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.TonneForcePerCentimeter) => new ForcePerLength(_value / 9.80665e5, ForcePerLengthUnit.TonneForcePerCentimeter),
+ (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.TonneForcePerMeter) => new ForcePerLength(_value / 9.80665e3, ForcePerLengthUnit.TonneForcePerMeter),
+ (ForcePerLengthUnit.NewtonPerMeter, ForcePerLengthUnit.TonneForcePerMillimeter) => new ForcePerLength(_value / 9.80665e6, ForcePerLengthUnit.TonneForcePerMillimeter),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs b/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs
index 88e86c5cc4..525bca27ee 100644
--- a/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Frequency.g.cs
@@ -946,7 +946,7 @@ private bool TryToUnit(FrequencyUnit unit, [NotNullWhen(true)] out Frequency? co
(FrequencyUnit.Microhertz, FrequencyUnit.Hertz) => new Frequency((_value) * 1e-6d, FrequencyUnit.Hertz),
(FrequencyUnit.Millihertz, FrequencyUnit.Hertz) => new Frequency((_value) * 1e-3d, FrequencyUnit.Hertz),
(FrequencyUnit.PerSecond, FrequencyUnit.Hertz) => new Frequency(_value, FrequencyUnit.Hertz),
- (FrequencyUnit.RadianPerSecond, FrequencyUnit.Hertz) => new Frequency(_value / 6.2831853072, FrequencyUnit.Hertz),
+ (FrequencyUnit.RadianPerSecond, FrequencyUnit.Hertz) => new Frequency(_value / (2 * Math.PI), FrequencyUnit.Hertz),
(FrequencyUnit.Terahertz, FrequencyUnit.Hertz) => new Frequency((_value) * 1e12d, FrequencyUnit.Hertz),
// BaseUnit -> FrequencyUnit
@@ -960,7 +960,7 @@ private bool TryToUnit(FrequencyUnit unit, [NotNullWhen(true)] out Frequency? co
(FrequencyUnit.Hertz, FrequencyUnit.Microhertz) => new Frequency((_value) / 1e-6d, FrequencyUnit.Microhertz),
(FrequencyUnit.Hertz, FrequencyUnit.Millihertz) => new Frequency((_value) / 1e-3d, FrequencyUnit.Millihertz),
(FrequencyUnit.Hertz, FrequencyUnit.PerSecond) => new Frequency(_value, FrequencyUnit.PerSecond),
- (FrequencyUnit.Hertz, FrequencyUnit.RadianPerSecond) => new Frequency(_value * 6.2831853072, FrequencyUnit.RadianPerSecond),
+ (FrequencyUnit.Hertz, FrequencyUnit.RadianPerSecond) => new Frequency(_value * (2 * Math.PI), FrequencyUnit.RadianPerSecond),
(FrequencyUnit.Hertz, FrequencyUnit.Terahertz) => new Frequency((_value) / 1e12d, FrequencyUnit.Terahertz),
_ => null
diff --git a/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs b/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs
index dd52a43b4f..1102d03e5d 100644
--- a/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/FuelEfficiency.g.cs
@@ -778,12 +778,12 @@ private bool TryToUnit(FuelEfficiencyUnit unit, [NotNullWhen(true)] out FuelEffi
{
// FuelEfficiencyUnit -> BaseUnit
(FuelEfficiencyUnit.KilometerPerLiter, FuelEfficiencyUnit.LiterPer100Kilometers) => new FuelEfficiency(100 / _value, FuelEfficiencyUnit.LiterPer100Kilometers),
- (FuelEfficiencyUnit.MilePerUkGallon, FuelEfficiencyUnit.LiterPer100Kilometers) => new FuelEfficiency((100 * 4.54609188) / (1.609344 * _value), FuelEfficiencyUnit.LiterPer100Kilometers),
+ (FuelEfficiencyUnit.MilePerUkGallon, FuelEfficiencyUnit.LiterPer100Kilometers) => new FuelEfficiency((100 * 4.54609) / (1.609344 * _value), FuelEfficiencyUnit.LiterPer100Kilometers),
(FuelEfficiencyUnit.MilePerUsGallon, FuelEfficiencyUnit.LiterPer100Kilometers) => new FuelEfficiency((100 * 3.785411784) / (1.609344 * _value), FuelEfficiencyUnit.LiterPer100Kilometers),
// BaseUnit -> FuelEfficiencyUnit
(FuelEfficiencyUnit.LiterPer100Kilometers, FuelEfficiencyUnit.KilometerPerLiter) => new FuelEfficiency(100 / _value, FuelEfficiencyUnit.KilometerPerLiter),
- (FuelEfficiencyUnit.LiterPer100Kilometers, FuelEfficiencyUnit.MilePerUkGallon) => new FuelEfficiency((100 * 4.54609188) / (1.609344 * _value), FuelEfficiencyUnit.MilePerUkGallon),
+ (FuelEfficiencyUnit.LiterPer100Kilometers, FuelEfficiencyUnit.MilePerUkGallon) => new FuelEfficiency((100 * 4.54609) / (1.609344 * _value), FuelEfficiencyUnit.MilePerUkGallon),
(FuelEfficiencyUnit.LiterPer100Kilometers, FuelEfficiencyUnit.MilePerUsGallon) => new FuelEfficiency((100 * 3.785411784) / (1.609344 * _value), FuelEfficiencyUnit.MilePerUsGallon),
_ => null
diff --git a/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs b/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs
index a75443811c..6c0aaa4426 100644
--- a/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/HeatFlux.g.cs
@@ -1026,42 +1026,42 @@ private bool TryToUnit(HeatFluxUnit unit, [NotNullWhen(true)] out HeatFlux? conv
HeatFlux? convertedOrNull = (Unit, unit) switch
{
// HeatFluxUnit -> BaseUnit
- (HeatFluxUnit.BtuPerHourSquareFoot, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux(_value * 3.15459075, HeatFluxUnit.WattPerSquareMeter),
- (HeatFluxUnit.BtuPerMinuteSquareFoot, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux(_value * 1.89275445e2, HeatFluxUnit.WattPerSquareMeter),
- (HeatFluxUnit.BtuPerSecondSquareFoot, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux(_value * 1.13565267e4, HeatFluxUnit.WattPerSquareMeter),
- (HeatFluxUnit.BtuPerSecondSquareInch, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux(_value * 1.63533984e6, HeatFluxUnit.WattPerSquareMeter),
- (HeatFluxUnit.CaloriePerSecondSquareCentimeter, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux(_value * 4.1868e4, HeatFluxUnit.WattPerSquareMeter),
+ (HeatFluxUnit.BtuPerHourSquareFoot, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux(_value * 1055.05585262 / (0.3048 * 0.3048 * 3600), HeatFluxUnit.WattPerSquareMeter),
+ (HeatFluxUnit.BtuPerMinuteSquareFoot, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux(_value * 1055.05585262 / (0.3048 * 0.3048 * 60), HeatFluxUnit.WattPerSquareMeter),
+ (HeatFluxUnit.BtuPerSecondSquareFoot, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux(_value * 1055.05585262 / (0.3048 * 0.3048), HeatFluxUnit.WattPerSquareMeter),
+ (HeatFluxUnit.BtuPerSecondSquareInch, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux(_value * 1055.05585262 / (2.54e-2 * 2.54e-2), HeatFluxUnit.WattPerSquareMeter),
+ (HeatFluxUnit.CaloriePerSecondSquareCentimeter, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux(_value * 4.184e4, HeatFluxUnit.WattPerSquareMeter),
(HeatFluxUnit.CentiwattPerSquareMeter, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux((_value) * 1e-2d, HeatFluxUnit.WattPerSquareMeter),
(HeatFluxUnit.DeciwattPerSquareMeter, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux((_value) * 1e-1d, HeatFluxUnit.WattPerSquareMeter),
- (HeatFluxUnit.KilocaloriePerHourSquareMeter, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux(_value * 1.163, HeatFluxUnit.WattPerSquareMeter),
- (HeatFluxUnit.KilocaloriePerSecondSquareCentimeter, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux((_value * 4.1868e4) * 1e3d, HeatFluxUnit.WattPerSquareMeter),
+ (HeatFluxUnit.KilocaloriePerHourSquareMeter, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux(_value * 4.184e3 / 3600, HeatFluxUnit.WattPerSquareMeter),
+ (HeatFluxUnit.KilocaloriePerSecondSquareCentimeter, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux((_value * 4.184e4) * 1e3d, HeatFluxUnit.WattPerSquareMeter),
(HeatFluxUnit.KilowattPerSquareMeter, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux((_value) * 1e3d, HeatFluxUnit.WattPerSquareMeter),
(HeatFluxUnit.MicrowattPerSquareMeter, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux((_value) * 1e-6d, HeatFluxUnit.WattPerSquareMeter),
(HeatFluxUnit.MilliwattPerSquareMeter, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux((_value) * 1e-3d, HeatFluxUnit.WattPerSquareMeter),
(HeatFluxUnit.NanowattPerSquareMeter, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux((_value) * 1e-9d, HeatFluxUnit.WattPerSquareMeter),
- (HeatFluxUnit.PoundForcePerFootSecond, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux(_value * 1.459390293720636e1, HeatFluxUnit.WattPerSquareMeter),
+ (HeatFluxUnit.PoundForcePerFootSecond, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux(_value * 1.3558179483314004 / 9.290304e-2, HeatFluxUnit.WattPerSquareMeter),
(HeatFluxUnit.PoundPerSecondCubed, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux(_value * 4.5359237e-1, HeatFluxUnit.WattPerSquareMeter),
- (HeatFluxUnit.WattPerSquareFoot, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux(_value * 1.07639e1, HeatFluxUnit.WattPerSquareMeter),
- (HeatFluxUnit.WattPerSquareInch, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux(_value * 1.5500031e3, HeatFluxUnit.WattPerSquareMeter),
+ (HeatFluxUnit.WattPerSquareFoot, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux(_value / (0.3048 * 0.3048), HeatFluxUnit.WattPerSquareMeter),
+ (HeatFluxUnit.WattPerSquareInch, HeatFluxUnit.WattPerSquareMeter) => new HeatFlux(_value / (2.54e-2 * 2.54e-2), HeatFluxUnit.WattPerSquareMeter),
// BaseUnit -> HeatFluxUnit
- (HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.BtuPerHourSquareFoot) => new HeatFlux(_value / 3.15459075, HeatFluxUnit.BtuPerHourSquareFoot),
- (HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.BtuPerMinuteSquareFoot) => new HeatFlux(_value / 1.89275445e2, HeatFluxUnit.BtuPerMinuteSquareFoot),
- (HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.BtuPerSecondSquareFoot) => new HeatFlux(_value / 1.13565267e4, HeatFluxUnit.BtuPerSecondSquareFoot),
- (HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.BtuPerSecondSquareInch) => new HeatFlux(_value / 1.63533984e6, HeatFluxUnit.BtuPerSecondSquareInch),
- (HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.CaloriePerSecondSquareCentimeter) => new HeatFlux(_value / 4.1868e4, HeatFluxUnit.CaloriePerSecondSquareCentimeter),
+ (HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.BtuPerHourSquareFoot) => new HeatFlux(_value * (0.3048 * 0.3048 * 3600) / 1055.05585262, HeatFluxUnit.BtuPerHourSquareFoot),
+ (HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.BtuPerMinuteSquareFoot) => new HeatFlux(_value * (0.3048 * 0.3048 * 60) / 1055.05585262, HeatFluxUnit.BtuPerMinuteSquareFoot),
+ (HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.BtuPerSecondSquareFoot) => new HeatFlux(_value * (0.3048 * 0.3048) / 1055.05585262, HeatFluxUnit.BtuPerSecondSquareFoot),
+ (HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.BtuPerSecondSquareInch) => new HeatFlux(_value * (2.54e-2 * 2.54e-2) / 1055.05585262, HeatFluxUnit.BtuPerSecondSquareInch),
+ (HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.CaloriePerSecondSquareCentimeter) => new HeatFlux(_value / 4.184e4, HeatFluxUnit.CaloriePerSecondSquareCentimeter),
(HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.CentiwattPerSquareMeter) => new HeatFlux((_value) / 1e-2d, HeatFluxUnit.CentiwattPerSquareMeter),
(HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.DeciwattPerSquareMeter) => new HeatFlux((_value) / 1e-1d, HeatFluxUnit.DeciwattPerSquareMeter),
- (HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.KilocaloriePerHourSquareMeter) => new HeatFlux(_value / 1.163, HeatFluxUnit.KilocaloriePerHourSquareMeter),
- (HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.KilocaloriePerSecondSquareCentimeter) => new HeatFlux((_value / 4.1868e4) / 1e3d, HeatFluxUnit.KilocaloriePerSecondSquareCentimeter),
+ (HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.KilocaloriePerHourSquareMeter) => new HeatFlux(_value * 3600 / 4.184e3, HeatFluxUnit.KilocaloriePerHourSquareMeter),
+ (HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.KilocaloriePerSecondSquareCentimeter) => new HeatFlux((_value / 4.184e4) / 1e3d, HeatFluxUnit.KilocaloriePerSecondSquareCentimeter),
(HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.KilowattPerSquareMeter) => new HeatFlux((_value) / 1e3d, HeatFluxUnit.KilowattPerSquareMeter),
(HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.MicrowattPerSquareMeter) => new HeatFlux((_value) / 1e-6d, HeatFluxUnit.MicrowattPerSquareMeter),
(HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.MilliwattPerSquareMeter) => new HeatFlux((_value) / 1e-3d, HeatFluxUnit.MilliwattPerSquareMeter),
(HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.NanowattPerSquareMeter) => new HeatFlux((_value) / 1e-9d, HeatFluxUnit.NanowattPerSquareMeter),
- (HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.PoundForcePerFootSecond) => new HeatFlux(_value / 1.459390293720636e1, HeatFluxUnit.PoundForcePerFootSecond),
+ (HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.PoundForcePerFootSecond) => new HeatFlux(_value * 9.290304e-2 / 1.3558179483314004, HeatFluxUnit.PoundForcePerFootSecond),
(HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.PoundPerSecondCubed) => new HeatFlux(_value / 4.5359237e-1, HeatFluxUnit.PoundPerSecondCubed),
- (HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.WattPerSquareFoot) => new HeatFlux(_value / 1.07639e1, HeatFluxUnit.WattPerSquareFoot),
- (HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.WattPerSquareInch) => new HeatFlux(_value / 1.5500031e3, HeatFluxUnit.WattPerSquareInch),
+ (HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.WattPerSquareFoot) => new HeatFlux(_value * (0.3048 * 0.3048), HeatFluxUnit.WattPerSquareFoot),
+ (HeatFluxUnit.WattPerSquareMeter, HeatFluxUnit.WattPerSquareInch) => new HeatFlux(_value * (2.54e-2 * 2.54e-2), HeatFluxUnit.WattPerSquareInch),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs b/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs
index 20ff070c5f..04fc675507 100644
--- a/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/HeatTransferCoefficient.g.cs
@@ -812,17 +812,17 @@ private bool TryToUnit(HeatTransferCoefficientUnit unit, [NotNullWhen(true)] out
HeatTransferCoefficient? convertedOrNull = (Unit, unit) switch
{
// HeatTransferCoefficientUnit -> BaseUnit
- (HeatTransferCoefficientUnit.BtuPerHourSquareFootDegreeFahrenheit, HeatTransferCoefficientUnit.WattPerSquareMeterKelvin) => new HeatTransferCoefficient(_value * 5.6782633411134878, HeatTransferCoefficientUnit.WattPerSquareMeterKelvin),
- (HeatTransferCoefficientUnit.BtuPerSquareFootDegreeFahrenheit, HeatTransferCoefficientUnit.WattPerSquareMeterKelvin) => new HeatTransferCoefficient(_value * 5.6782633411134878, HeatTransferCoefficientUnit.WattPerSquareMeterKelvin),
- (HeatTransferCoefficientUnit.CaloriePerHourSquareMeterDegreeCelsius, HeatTransferCoefficientUnit.WattPerSquareMeterKelvin) => new HeatTransferCoefficient((_value * 4.1868) / 3600, HeatTransferCoefficientUnit.WattPerSquareMeterKelvin),
- (HeatTransferCoefficientUnit.KilocaloriePerHourSquareMeterDegreeCelsius, HeatTransferCoefficientUnit.WattPerSquareMeterKelvin) => new HeatTransferCoefficient(((_value * 4.1868) / 3600) * 1e3d, HeatTransferCoefficientUnit.WattPerSquareMeterKelvin),
+ (HeatTransferCoefficientUnit.BtuPerHourSquareFootDegreeFahrenheit, HeatTransferCoefficientUnit.WattPerSquareMeterKelvin) => new HeatTransferCoefficient(_value * ((1055.05585262 / (0.3048 * 0.3048 * 3600)) * 1.8), HeatTransferCoefficientUnit.WattPerSquareMeterKelvin),
+ (HeatTransferCoefficientUnit.BtuPerSquareFootDegreeFahrenheit, HeatTransferCoefficientUnit.WattPerSquareMeterKelvin) => new HeatTransferCoefficient(_value * ((1055.05585262 / (0.3048 * 0.3048 * 3600)) * 1.8), HeatTransferCoefficientUnit.WattPerSquareMeterKelvin),
+ (HeatTransferCoefficientUnit.CaloriePerHourSquareMeterDegreeCelsius, HeatTransferCoefficientUnit.WattPerSquareMeterKelvin) => new HeatTransferCoefficient((_value * 4.184) / 3600, HeatTransferCoefficientUnit.WattPerSquareMeterKelvin),
+ (HeatTransferCoefficientUnit.KilocaloriePerHourSquareMeterDegreeCelsius, HeatTransferCoefficientUnit.WattPerSquareMeterKelvin) => new HeatTransferCoefficient(((_value * 4.184) / 3600) * 1e3d, HeatTransferCoefficientUnit.WattPerSquareMeterKelvin),
(HeatTransferCoefficientUnit.WattPerSquareMeterCelsius, HeatTransferCoefficientUnit.WattPerSquareMeterKelvin) => new HeatTransferCoefficient(_value, HeatTransferCoefficientUnit.WattPerSquareMeterKelvin),
// BaseUnit -> HeatTransferCoefficientUnit
- (HeatTransferCoefficientUnit.WattPerSquareMeterKelvin, HeatTransferCoefficientUnit.BtuPerHourSquareFootDegreeFahrenheit) => new HeatTransferCoefficient(_value / 5.6782633411134878, HeatTransferCoefficientUnit.BtuPerHourSquareFootDegreeFahrenheit),
- (HeatTransferCoefficientUnit.WattPerSquareMeterKelvin, HeatTransferCoefficientUnit.BtuPerSquareFootDegreeFahrenheit) => new HeatTransferCoefficient(_value / 5.6782633411134878, HeatTransferCoefficientUnit.BtuPerSquareFootDegreeFahrenheit),
- (HeatTransferCoefficientUnit.WattPerSquareMeterKelvin, HeatTransferCoefficientUnit.CaloriePerHourSquareMeterDegreeCelsius) => new HeatTransferCoefficient((_value / 4.1868) * 3600, HeatTransferCoefficientUnit.CaloriePerHourSquareMeterDegreeCelsius),
- (HeatTransferCoefficientUnit.WattPerSquareMeterKelvin, HeatTransferCoefficientUnit.KilocaloriePerHourSquareMeterDegreeCelsius) => new HeatTransferCoefficient(((_value / 4.1868) * 3600) / 1e3d, HeatTransferCoefficientUnit.KilocaloriePerHourSquareMeterDegreeCelsius),
+ (HeatTransferCoefficientUnit.WattPerSquareMeterKelvin, HeatTransferCoefficientUnit.BtuPerHourSquareFootDegreeFahrenheit) => new HeatTransferCoefficient(_value / ((1055.05585262 / (0.3048 * 0.3048 * 3600)) * 1.8), HeatTransferCoefficientUnit.BtuPerHourSquareFootDegreeFahrenheit),
+ (HeatTransferCoefficientUnit.WattPerSquareMeterKelvin, HeatTransferCoefficientUnit.BtuPerSquareFootDegreeFahrenheit) => new HeatTransferCoefficient(_value / ((1055.05585262 / (0.3048 * 0.3048 * 3600)) * 1.8), HeatTransferCoefficientUnit.BtuPerSquareFootDegreeFahrenheit),
+ (HeatTransferCoefficientUnit.WattPerSquareMeterKelvin, HeatTransferCoefficientUnit.CaloriePerHourSquareMeterDegreeCelsius) => new HeatTransferCoefficient((_value / 4.184) * 3600, HeatTransferCoefficientUnit.CaloriePerHourSquareMeterDegreeCelsius),
+ (HeatTransferCoefficientUnit.WattPerSquareMeterKelvin, HeatTransferCoefficientUnit.KilocaloriePerHourSquareMeterDegreeCelsius) => new HeatTransferCoefficient(((_value / 4.184) * 3600) / 1e3d, HeatTransferCoefficientUnit.KilocaloriePerHourSquareMeterDegreeCelsius),
(HeatTransferCoefficientUnit.WattPerSquareMeterKelvin, HeatTransferCoefficientUnit.WattPerSquareMeterCelsius) => new HeatTransferCoefficient(_value, HeatTransferCoefficientUnit.WattPerSquareMeterCelsius),
_ => null
diff --git a/UnitsNet/GeneratedCode/Quantities/Impulse.g.cs b/UnitsNet/GeneratedCode/Quantities/Impulse.g.cs
index 190a006ea4..f71f7f62a7 100644
--- a/UnitsNet/GeneratedCode/Quantities/Impulse.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Impulse.g.cs
@@ -945,9 +945,9 @@ private bool TryToUnit(ImpulseUnit unit, [NotNullWhen(true)] out Impulse? conver
(ImpulseUnit.MicronewtonSecond, ImpulseUnit.NewtonSecond) => new Impulse((_value) * 1e-6d, ImpulseUnit.NewtonSecond),
(ImpulseUnit.MillinewtonSecond, ImpulseUnit.NewtonSecond) => new Impulse((_value) * 1e-3d, ImpulseUnit.NewtonSecond),
(ImpulseUnit.NanonewtonSecond, ImpulseUnit.NewtonSecond) => new Impulse((_value) * 1e-9d, ImpulseUnit.NewtonSecond),
- (ImpulseUnit.PoundFootPerSecond, ImpulseUnit.NewtonSecond) => new Impulse(_value / 7.230657989877, ImpulseUnit.NewtonSecond),
- (ImpulseUnit.PoundForceSecond, ImpulseUnit.NewtonSecond) => new Impulse(_value / 0.2248089430997, ImpulseUnit.NewtonSecond),
- (ImpulseUnit.SlugFootPerSecond, ImpulseUnit.NewtonSecond) => new Impulse(_value / 0.224735720691, ImpulseUnit.NewtonSecond),
+ (ImpulseUnit.PoundFootPerSecond, ImpulseUnit.NewtonSecond) => new Impulse(_value * (0.45359237 * 0.3048), ImpulseUnit.NewtonSecond),
+ (ImpulseUnit.PoundForceSecond, ImpulseUnit.NewtonSecond) => new Impulse(_value * 4.4482216152605, ImpulseUnit.NewtonSecond),
+ (ImpulseUnit.SlugFootPerSecond, ImpulseUnit.NewtonSecond) => new Impulse(_value * (32.17405 * 0.45359237 * 0.3048), ImpulseUnit.NewtonSecond),
// BaseUnit -> ImpulseUnit
(ImpulseUnit.NewtonSecond, ImpulseUnit.CentinewtonSecond) => new Impulse((_value) / 1e-2d, ImpulseUnit.CentinewtonSecond),
@@ -959,9 +959,9 @@ private bool TryToUnit(ImpulseUnit unit, [NotNullWhen(true)] out Impulse? conver
(ImpulseUnit.NewtonSecond, ImpulseUnit.MicronewtonSecond) => new Impulse((_value) / 1e-6d, ImpulseUnit.MicronewtonSecond),
(ImpulseUnit.NewtonSecond, ImpulseUnit.MillinewtonSecond) => new Impulse((_value) / 1e-3d, ImpulseUnit.MillinewtonSecond),
(ImpulseUnit.NewtonSecond, ImpulseUnit.NanonewtonSecond) => new Impulse((_value) / 1e-9d, ImpulseUnit.NanonewtonSecond),
- (ImpulseUnit.NewtonSecond, ImpulseUnit.PoundFootPerSecond) => new Impulse(_value * 7.230657989877, ImpulseUnit.PoundFootPerSecond),
- (ImpulseUnit.NewtonSecond, ImpulseUnit.PoundForceSecond) => new Impulse(_value * 0.2248089430997, ImpulseUnit.PoundForceSecond),
- (ImpulseUnit.NewtonSecond, ImpulseUnit.SlugFootPerSecond) => new Impulse(_value * 0.224735720691, ImpulseUnit.SlugFootPerSecond),
+ (ImpulseUnit.NewtonSecond, ImpulseUnit.PoundFootPerSecond) => new Impulse(_value / (0.45359237 * 0.3048), ImpulseUnit.PoundFootPerSecond),
+ (ImpulseUnit.NewtonSecond, ImpulseUnit.PoundForceSecond) => new Impulse(_value / 4.4482216152605, ImpulseUnit.PoundForceSecond),
+ (ImpulseUnit.NewtonSecond, ImpulseUnit.SlugFootPerSecond) => new Impulse(_value / (32.17405 * 0.45359237 * 0.3048), ImpulseUnit.SlugFootPerSecond),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs b/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs
index b89d791479..9c4d8d1e4a 100644
--- a/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Irradiation.g.cs
@@ -867,20 +867,20 @@ private bool TryToUnit(IrradiationUnit unit, [NotNullWhen(true)] out Irradiation
Irradiation? convertedOrNull = (Unit, unit) switch
{
// IrradiationUnit -> BaseUnit
- (IrradiationUnit.BtuPerSquareFoot, IrradiationUnit.JoulePerSquareMeter) => new Irradiation(_value * (52752792631d / 4645152d), IrradiationUnit.JoulePerSquareMeter),
+ (IrradiationUnit.BtuPerSquareFoot, IrradiationUnit.JoulePerSquareMeter) => new Irradiation(_value * 1055.05585262 / 9.290304e-2, IrradiationUnit.JoulePerSquareMeter),
(IrradiationUnit.JoulePerSquareCentimeter, IrradiationUnit.JoulePerSquareMeter) => new Irradiation(_value * 1e4, IrradiationUnit.JoulePerSquareMeter),
(IrradiationUnit.JoulePerSquareMillimeter, IrradiationUnit.JoulePerSquareMeter) => new Irradiation(_value * 1e6, IrradiationUnit.JoulePerSquareMeter),
- (IrradiationUnit.KilobtuPerSquareFoot, IrradiationUnit.JoulePerSquareMeter) => new Irradiation((_value * (52752792631d / 4645152d)) * 1e3d, IrradiationUnit.JoulePerSquareMeter),
+ (IrradiationUnit.KilobtuPerSquareFoot, IrradiationUnit.JoulePerSquareMeter) => new Irradiation((_value * 1055.05585262 / 9.290304e-2) * 1e3d, IrradiationUnit.JoulePerSquareMeter),
(IrradiationUnit.KilojoulePerSquareMeter, IrradiationUnit.JoulePerSquareMeter) => new Irradiation((_value) * 1e3d, IrradiationUnit.JoulePerSquareMeter),
(IrradiationUnit.KilowattHourPerSquareMeter, IrradiationUnit.JoulePerSquareMeter) => new Irradiation((_value * 3600d) * 1e3d, IrradiationUnit.JoulePerSquareMeter),
(IrradiationUnit.MillijoulePerSquareCentimeter, IrradiationUnit.JoulePerSquareMeter) => new Irradiation((_value * 1e4) * 1e-3d, IrradiationUnit.JoulePerSquareMeter),
(IrradiationUnit.WattHourPerSquareMeter, IrradiationUnit.JoulePerSquareMeter) => new Irradiation(_value * 3600d, IrradiationUnit.JoulePerSquareMeter),
// BaseUnit -> IrradiationUnit
- (IrradiationUnit.JoulePerSquareMeter, IrradiationUnit.BtuPerSquareFoot) => new Irradiation(_value / (52752792631d / 4645152d), IrradiationUnit.BtuPerSquareFoot),
+ (IrradiationUnit.JoulePerSquareMeter, IrradiationUnit.BtuPerSquareFoot) => new Irradiation(_value * 9.290304e-2 / 1055.05585262, IrradiationUnit.BtuPerSquareFoot),
(IrradiationUnit.JoulePerSquareMeter, IrradiationUnit.JoulePerSquareCentimeter) => new Irradiation(_value / 1e4, IrradiationUnit.JoulePerSquareCentimeter),
(IrradiationUnit.JoulePerSquareMeter, IrradiationUnit.JoulePerSquareMillimeter) => new Irradiation(_value / 1e6, IrradiationUnit.JoulePerSquareMillimeter),
- (IrradiationUnit.JoulePerSquareMeter, IrradiationUnit.KilobtuPerSquareFoot) => new Irradiation((_value / (52752792631d / 4645152d)) / 1e3d, IrradiationUnit.KilobtuPerSquareFoot),
+ (IrradiationUnit.JoulePerSquareMeter, IrradiationUnit.KilobtuPerSquareFoot) => new Irradiation((_value * 9.290304e-2 / 1055.05585262) / 1e3d, IrradiationUnit.KilobtuPerSquareFoot),
(IrradiationUnit.JoulePerSquareMeter, IrradiationUnit.KilojoulePerSquareMeter) => new Irradiation((_value) / 1e3d, IrradiationUnit.KilojoulePerSquareMeter),
(IrradiationUnit.JoulePerSquareMeter, IrradiationUnit.KilowattHourPerSquareMeter) => new Irradiation((_value / 3600d) / 1e3d, IrradiationUnit.KilowattHourPerSquareMeter),
(IrradiationUnit.JoulePerSquareMeter, IrradiationUnit.MillijoulePerSquareCentimeter) => new Irradiation((_value / 1e4) / 1e-3d, IrradiationUnit.MillijoulePerSquareCentimeter),
diff --git a/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs b/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs
index 99b39c1e46..665c0c07cd 100644
--- a/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/KinematicViscosity.g.cs
@@ -873,7 +873,7 @@ private bool TryToUnit(KinematicViscosityUnit unit, [NotNullWhen(true)] out Kine
(KinematicViscosityUnit.Microstokes, KinematicViscosityUnit.SquareMeterPerSecond) => new KinematicViscosity((_value / 1e4) * 1e-6d, KinematicViscosityUnit.SquareMeterPerSecond),
(KinematicViscosityUnit.Millistokes, KinematicViscosityUnit.SquareMeterPerSecond) => new KinematicViscosity((_value / 1e4) * 1e-3d, KinematicViscosityUnit.SquareMeterPerSecond),
(KinematicViscosityUnit.Nanostokes, KinematicViscosityUnit.SquareMeterPerSecond) => new KinematicViscosity((_value / 1e4) * 1e-9d, KinematicViscosityUnit.SquareMeterPerSecond),
- (KinematicViscosityUnit.SquareFootPerSecond, KinematicViscosityUnit.SquareMeterPerSecond) => new KinematicViscosity(_value / 10.7639, KinematicViscosityUnit.SquareMeterPerSecond),
+ (KinematicViscosityUnit.SquareFootPerSecond, KinematicViscosityUnit.SquareMeterPerSecond) => new KinematicViscosity(_value * 9.290304e-2, KinematicViscosityUnit.SquareMeterPerSecond),
(KinematicViscosityUnit.Stokes, KinematicViscosityUnit.SquareMeterPerSecond) => new KinematicViscosity(_value / 1e4, KinematicViscosityUnit.SquareMeterPerSecond),
// BaseUnit -> KinematicViscosityUnit
@@ -883,7 +883,7 @@ private bool TryToUnit(KinematicViscosityUnit unit, [NotNullWhen(true)] out Kine
(KinematicViscosityUnit.SquareMeterPerSecond, KinematicViscosityUnit.Microstokes) => new KinematicViscosity((_value * 1e4) / 1e-6d, KinematicViscosityUnit.Microstokes),
(KinematicViscosityUnit.SquareMeterPerSecond, KinematicViscosityUnit.Millistokes) => new KinematicViscosity((_value * 1e4) / 1e-3d, KinematicViscosityUnit.Millistokes),
(KinematicViscosityUnit.SquareMeterPerSecond, KinematicViscosityUnit.Nanostokes) => new KinematicViscosity((_value * 1e4) / 1e-9d, KinematicViscosityUnit.Nanostokes),
- (KinematicViscosityUnit.SquareMeterPerSecond, KinematicViscosityUnit.SquareFootPerSecond) => new KinematicViscosity(_value * 10.7639, KinematicViscosityUnit.SquareFootPerSecond),
+ (KinematicViscosityUnit.SquareMeterPerSecond, KinematicViscosityUnit.SquareFootPerSecond) => new KinematicViscosity(_value / 9.290304e-2, KinematicViscosityUnit.SquareFootPerSecond),
(KinematicViscosityUnit.SquareMeterPerSecond, KinematicViscosityUnit.Stokes) => new KinematicViscosity(_value * 1e4, KinematicViscosityUnit.Stokes),
_ => null
diff --git a/UnitsNet/GeneratedCode/Quantities/Length.g.cs b/UnitsNet/GeneratedCode/Quantities/Length.g.cs
index 88d0f619c5..a215a1eea8 100644
--- a/UnitsNet/GeneratedCode/Quantities/Length.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Length.g.cs
@@ -1465,8 +1465,8 @@ private bool TryToUnit(LengthUnit unit, [NotNullWhen(true)] out Length? converte
(LengthUnit.DataMile, LengthUnit.Meter) => new Length(_value * 1828.8, LengthUnit.Meter),
(LengthUnit.Decameter, LengthUnit.Meter) => new Length((_value) * 1e1d, LengthUnit.Meter),
(LengthUnit.Decimeter, LengthUnit.Meter) => new Length((_value) * 1e-1d, LengthUnit.Meter),
- (LengthUnit.DtpPica, LengthUnit.Meter) => new Length(_value / 236.220472441, LengthUnit.Meter),
- (LengthUnit.DtpPoint, LengthUnit.Meter) => new Length((_value / 72) * 2.54e-2, LengthUnit.Meter),
+ (LengthUnit.DtpPica, LengthUnit.Meter) => new Length(_value * 2.54e-2 / 6, LengthUnit.Meter),
+ (LengthUnit.DtpPoint, LengthUnit.Meter) => new Length(_value * 2.54e-2 / 72, LengthUnit.Meter),
(LengthUnit.Fathom, LengthUnit.Meter) => new Length(_value * 1.8288, LengthUnit.Meter),
(LengthUnit.Femtometer, LengthUnit.Meter) => new Length((_value) * 1e-15d, LengthUnit.Meter),
(LengthUnit.Foot, LengthUnit.Meter) => new Length(_value * 0.3048, LengthUnit.Meter),
@@ -1492,11 +1492,11 @@ private bool TryToUnit(LengthUnit unit, [NotNullWhen(true)] out Length? converte
(LengthUnit.NauticalMile, LengthUnit.Meter) => new Length(_value * 1852, LengthUnit.Meter),
(LengthUnit.Parsec, LengthUnit.Meter) => new Length(_value * 3.08567758128e16, LengthUnit.Meter),
(LengthUnit.Picometer, LengthUnit.Meter) => new Length((_value) * 1e-12d, LengthUnit.Meter),
- (LengthUnit.PrinterPica, LengthUnit.Meter) => new Length(_value / 237.106301584, LengthUnit.Meter),
- (LengthUnit.PrinterPoint, LengthUnit.Meter) => new Length((_value / 72.27) * 2.54e-2, LengthUnit.Meter),
+ (LengthUnit.PrinterPica, LengthUnit.Meter) => new Length(_value * 2.54e-2 * 400 / 2409, LengthUnit.Meter),
+ (LengthUnit.PrinterPoint, LengthUnit.Meter) => new Length(_value * 2.54e-2 / 72.27 , LengthUnit.Meter),
(LengthUnit.Shackle, LengthUnit.Meter) => new Length(_value * 27.432, LengthUnit.Meter),
(LengthUnit.SolarRadius, LengthUnit.Meter) => new Length(_value * 6.95510000E+08, LengthUnit.Meter),
- (LengthUnit.Twip, LengthUnit.Meter) => new Length(_value / 56692.913385826, LengthUnit.Meter),
+ (LengthUnit.Twip, LengthUnit.Meter) => new Length(_value * 2.54e-2 / 1440, LengthUnit.Meter),
(LengthUnit.UsSurveyFoot, LengthUnit.Meter) => new Length(_value * 1200 / 3937, LengthUnit.Meter),
(LengthUnit.Yard, LengthUnit.Meter) => new Length(_value * 0.9144, LengthUnit.Meter),
@@ -1508,8 +1508,8 @@ private bool TryToUnit(LengthUnit unit, [NotNullWhen(true)] out Length? converte
(LengthUnit.Meter, LengthUnit.DataMile) => new Length(_value / 1828.8, LengthUnit.DataMile),
(LengthUnit.Meter, LengthUnit.Decameter) => new Length((_value) / 1e1d, LengthUnit.Decameter),
(LengthUnit.Meter, LengthUnit.Decimeter) => new Length((_value) / 1e-1d, LengthUnit.Decimeter),
- (LengthUnit.Meter, LengthUnit.DtpPica) => new Length(_value * 236.220472441, LengthUnit.DtpPica),
- (LengthUnit.Meter, LengthUnit.DtpPoint) => new Length((_value / 2.54e-2) * 72, LengthUnit.DtpPoint),
+ (LengthUnit.Meter, LengthUnit.DtpPica) => new Length(_value * 6 / 2.54e-2, LengthUnit.DtpPica),
+ (LengthUnit.Meter, LengthUnit.DtpPoint) => new Length(_value * 72 / 2.54e-2, LengthUnit.DtpPoint),
(LengthUnit.Meter, LengthUnit.Fathom) => new Length(_value / 1.8288, LengthUnit.Fathom),
(LengthUnit.Meter, LengthUnit.Femtometer) => new Length((_value) / 1e-15d, LengthUnit.Femtometer),
(LengthUnit.Meter, LengthUnit.Foot) => new Length(_value / 0.3048, LengthUnit.Foot),
@@ -1535,11 +1535,11 @@ private bool TryToUnit(LengthUnit unit, [NotNullWhen(true)] out Length? converte
(LengthUnit.Meter, LengthUnit.NauticalMile) => new Length(_value / 1852, LengthUnit.NauticalMile),
(LengthUnit.Meter, LengthUnit.Parsec) => new Length(_value / 3.08567758128e16, LengthUnit.Parsec),
(LengthUnit.Meter, LengthUnit.Picometer) => new Length((_value) / 1e-12d, LengthUnit.Picometer),
- (LengthUnit.Meter, LengthUnit.PrinterPica) => new Length(_value * 237.106301584, LengthUnit.PrinterPica),
- (LengthUnit.Meter, LengthUnit.PrinterPoint) => new Length((_value / 2.54e-2) * 72.27, LengthUnit.PrinterPoint),
+ (LengthUnit.Meter, LengthUnit.PrinterPica) => new Length(_value / (2.54e-2 * 400 / 2409), LengthUnit.PrinterPica),
+ (LengthUnit.Meter, LengthUnit.PrinterPoint) => new Length(_value * 72.27 / 2.54e-2, LengthUnit.PrinterPoint),
(LengthUnit.Meter, LengthUnit.Shackle) => new Length(_value / 27.432, LengthUnit.Shackle),
(LengthUnit.Meter, LengthUnit.SolarRadius) => new Length(_value / 6.95510000E+08, LengthUnit.SolarRadius),
- (LengthUnit.Meter, LengthUnit.Twip) => new Length(_value * 56692.913385826, LengthUnit.Twip),
+ (LengthUnit.Meter, LengthUnit.Twip) => new Length(_value * 1440 / 2.54e-2, LengthUnit.Twip),
(LengthUnit.Meter, LengthUnit.UsSurveyFoot) => new Length(_value * 3937 / 1200, LengthUnit.UsSurveyFoot),
(LengthUnit.Meter, LengthUnit.Yard) => new Length(_value / 0.9144, LengthUnit.Yard),
diff --git a/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs
index 7b4478438f..a45d130b17 100644
--- a/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/LinearDensity.g.cs
@@ -968,8 +968,8 @@ private bool TryToUnit(LinearDensityUnit unit, [NotNullWhen(true)] out LinearDen
(LinearDensityUnit.MilligramPerCentimeter, LinearDensityUnit.KilogramPerMeter) => new LinearDensity((_value * 1e-1) * 1e-3d, LinearDensityUnit.KilogramPerMeter),
(LinearDensityUnit.MilligramPerMeter, LinearDensityUnit.KilogramPerMeter) => new LinearDensity((_value * 1e-3) * 1e-3d, LinearDensityUnit.KilogramPerMeter),
(LinearDensityUnit.MilligramPerMillimeter, LinearDensityUnit.KilogramPerMeter) => new LinearDensity((_value) * 1e-3d, LinearDensityUnit.KilogramPerMeter),
- (LinearDensityUnit.PoundPerFoot, LinearDensityUnit.KilogramPerMeter) => new LinearDensity(_value * 1.48816394, LinearDensityUnit.KilogramPerMeter),
- (LinearDensityUnit.PoundPerInch, LinearDensityUnit.KilogramPerMeter) => new LinearDensity(_value / 5.5997415e-2, LinearDensityUnit.KilogramPerMeter),
+ (LinearDensityUnit.PoundPerFoot, LinearDensityUnit.KilogramPerMeter) => new LinearDensity(_value * 0.45359237 / 0.3048, LinearDensityUnit.KilogramPerMeter),
+ (LinearDensityUnit.PoundPerInch, LinearDensityUnit.KilogramPerMeter) => new LinearDensity(_value * 0.45359237 / 2.54e-2, LinearDensityUnit.KilogramPerMeter),
// BaseUnit -> LinearDensityUnit
(LinearDensityUnit.KilogramPerMeter, LinearDensityUnit.GramPerCentimeter) => new LinearDensity(_value / 1e-1, LinearDensityUnit.GramPerCentimeter),
@@ -983,8 +983,8 @@ private bool TryToUnit(LinearDensityUnit unit, [NotNullWhen(true)] out LinearDen
(LinearDensityUnit.KilogramPerMeter, LinearDensityUnit.MilligramPerCentimeter) => new LinearDensity((_value / 1e-1) / 1e-3d, LinearDensityUnit.MilligramPerCentimeter),
(LinearDensityUnit.KilogramPerMeter, LinearDensityUnit.MilligramPerMeter) => new LinearDensity((_value / 1e-3) / 1e-3d, LinearDensityUnit.MilligramPerMeter),
(LinearDensityUnit.KilogramPerMeter, LinearDensityUnit.MilligramPerMillimeter) => new LinearDensity((_value) / 1e-3d, LinearDensityUnit.MilligramPerMillimeter),
- (LinearDensityUnit.KilogramPerMeter, LinearDensityUnit.PoundPerFoot) => new LinearDensity(_value / 1.48816394, LinearDensityUnit.PoundPerFoot),
- (LinearDensityUnit.KilogramPerMeter, LinearDensityUnit.PoundPerInch) => new LinearDensity(_value * 5.5997415e-2, LinearDensityUnit.PoundPerInch),
+ (LinearDensityUnit.KilogramPerMeter, LinearDensityUnit.PoundPerFoot) => new LinearDensity(_value * 0.3048 / 0.45359237, LinearDensityUnit.PoundPerFoot),
+ (LinearDensityUnit.KilogramPerMeter, LinearDensityUnit.PoundPerInch) => new LinearDensity(_value * 2.54e-2 / 0.45359237, LinearDensityUnit.PoundPerInch),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs
index 45f1638bac..55c0502067 100644
--- a/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/LinearPowerDensity.g.cs
@@ -1156,54 +1156,54 @@ private bool TryToUnit(LinearPowerDensityUnit unit, [NotNullWhen(true)] out Line
{
// LinearPowerDensityUnit -> BaseUnit
(LinearPowerDensityUnit.GigawattPerCentimeter, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value * 1e2) * 1e9d, LinearPowerDensityUnit.WattPerMeter),
- (LinearPowerDensityUnit.GigawattPerFoot, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value * 3.280839895) * 1e9d, LinearPowerDensityUnit.WattPerMeter),
- (LinearPowerDensityUnit.GigawattPerInch, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value * 39.37007874) * 1e9d, LinearPowerDensityUnit.WattPerMeter),
+ (LinearPowerDensityUnit.GigawattPerFoot, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value / 0.3048) * 1e9d, LinearPowerDensityUnit.WattPerMeter),
+ (LinearPowerDensityUnit.GigawattPerInch, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value / 2.54e-2) * 1e9d, LinearPowerDensityUnit.WattPerMeter),
(LinearPowerDensityUnit.GigawattPerMeter, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value) * 1e9d, LinearPowerDensityUnit.WattPerMeter),
(LinearPowerDensityUnit.GigawattPerMillimeter, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value * 1e3) * 1e9d, LinearPowerDensityUnit.WattPerMeter),
(LinearPowerDensityUnit.KilowattPerCentimeter, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value * 1e2) * 1e3d, LinearPowerDensityUnit.WattPerMeter),
- (LinearPowerDensityUnit.KilowattPerFoot, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value * 3.280839895) * 1e3d, LinearPowerDensityUnit.WattPerMeter),
- (LinearPowerDensityUnit.KilowattPerInch, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value * 39.37007874) * 1e3d, LinearPowerDensityUnit.WattPerMeter),
+ (LinearPowerDensityUnit.KilowattPerFoot, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value / 0.3048) * 1e3d, LinearPowerDensityUnit.WattPerMeter),
+ (LinearPowerDensityUnit.KilowattPerInch, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value / 2.54e-2) * 1e3d, LinearPowerDensityUnit.WattPerMeter),
(LinearPowerDensityUnit.KilowattPerMeter, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value) * 1e3d, LinearPowerDensityUnit.WattPerMeter),
(LinearPowerDensityUnit.KilowattPerMillimeter, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value * 1e3) * 1e3d, LinearPowerDensityUnit.WattPerMeter),
(LinearPowerDensityUnit.MegawattPerCentimeter, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value * 1e2) * 1e6d, LinearPowerDensityUnit.WattPerMeter),
- (LinearPowerDensityUnit.MegawattPerFoot, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value * 3.280839895) * 1e6d, LinearPowerDensityUnit.WattPerMeter),
- (LinearPowerDensityUnit.MegawattPerInch, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value * 39.37007874) * 1e6d, LinearPowerDensityUnit.WattPerMeter),
+ (LinearPowerDensityUnit.MegawattPerFoot, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value / 0.3048) * 1e6d, LinearPowerDensityUnit.WattPerMeter),
+ (LinearPowerDensityUnit.MegawattPerInch, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value / 2.54e-2) * 1e6d, LinearPowerDensityUnit.WattPerMeter),
(LinearPowerDensityUnit.MegawattPerMeter, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value) * 1e6d, LinearPowerDensityUnit.WattPerMeter),
(LinearPowerDensityUnit.MegawattPerMillimeter, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value * 1e3) * 1e6d, LinearPowerDensityUnit.WattPerMeter),
(LinearPowerDensityUnit.MilliwattPerCentimeter, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value * 1e2) * 1e-3d, LinearPowerDensityUnit.WattPerMeter),
- (LinearPowerDensityUnit.MilliwattPerFoot, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value * 3.280839895) * 1e-3d, LinearPowerDensityUnit.WattPerMeter),
- (LinearPowerDensityUnit.MilliwattPerInch, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value * 39.37007874) * 1e-3d, LinearPowerDensityUnit.WattPerMeter),
+ (LinearPowerDensityUnit.MilliwattPerFoot, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value / 0.3048) * 1e-3d, LinearPowerDensityUnit.WattPerMeter),
+ (LinearPowerDensityUnit.MilliwattPerInch, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value / 2.54e-2) * 1e-3d, LinearPowerDensityUnit.WattPerMeter),
(LinearPowerDensityUnit.MilliwattPerMeter, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value) * 1e-3d, LinearPowerDensityUnit.WattPerMeter),
(LinearPowerDensityUnit.MilliwattPerMillimeter, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity((_value * 1e3) * 1e-3d, LinearPowerDensityUnit.WattPerMeter),
(LinearPowerDensityUnit.WattPerCentimeter, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity(_value * 1e2, LinearPowerDensityUnit.WattPerMeter),
- (LinearPowerDensityUnit.WattPerFoot, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity(_value * 3.280839895, LinearPowerDensityUnit.WattPerMeter),
- (LinearPowerDensityUnit.WattPerInch, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity(_value * 39.37007874, LinearPowerDensityUnit.WattPerMeter),
+ (LinearPowerDensityUnit.WattPerFoot, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity(_value / 0.3048, LinearPowerDensityUnit.WattPerMeter),
+ (LinearPowerDensityUnit.WattPerInch, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity(_value / 2.54e-2, LinearPowerDensityUnit.WattPerMeter),
(LinearPowerDensityUnit.WattPerMillimeter, LinearPowerDensityUnit.WattPerMeter) => new LinearPowerDensity(_value * 1e3, LinearPowerDensityUnit.WattPerMeter),
// BaseUnit -> LinearPowerDensityUnit
(LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.GigawattPerCentimeter) => new LinearPowerDensity((_value / 1e2) / 1e9d, LinearPowerDensityUnit.GigawattPerCentimeter),
- (LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.GigawattPerFoot) => new LinearPowerDensity((_value / 3.280839895) / 1e9d, LinearPowerDensityUnit.GigawattPerFoot),
- (LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.GigawattPerInch) => new LinearPowerDensity((_value / 39.37007874) / 1e9d, LinearPowerDensityUnit.GigawattPerInch),
+ (LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.GigawattPerFoot) => new LinearPowerDensity((_value * 0.3048) / 1e9d, LinearPowerDensityUnit.GigawattPerFoot),
+ (LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.GigawattPerInch) => new LinearPowerDensity((_value * 2.54e-2) / 1e9d, LinearPowerDensityUnit.GigawattPerInch),
(LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.GigawattPerMeter) => new LinearPowerDensity((_value) / 1e9d, LinearPowerDensityUnit.GigawattPerMeter),
(LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.GigawattPerMillimeter) => new LinearPowerDensity((_value / 1e3) / 1e9d, LinearPowerDensityUnit.GigawattPerMillimeter),
(LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.KilowattPerCentimeter) => new LinearPowerDensity((_value / 1e2) / 1e3d, LinearPowerDensityUnit.KilowattPerCentimeter),
- (LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.KilowattPerFoot) => new LinearPowerDensity((_value / 3.280839895) / 1e3d, LinearPowerDensityUnit.KilowattPerFoot),
- (LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.KilowattPerInch) => new LinearPowerDensity((_value / 39.37007874) / 1e3d, LinearPowerDensityUnit.KilowattPerInch),
+ (LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.KilowattPerFoot) => new LinearPowerDensity((_value * 0.3048) / 1e3d, LinearPowerDensityUnit.KilowattPerFoot),
+ (LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.KilowattPerInch) => new LinearPowerDensity((_value * 2.54e-2) / 1e3d, LinearPowerDensityUnit.KilowattPerInch),
(LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.KilowattPerMeter) => new LinearPowerDensity((_value) / 1e3d, LinearPowerDensityUnit.KilowattPerMeter),
(LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.KilowattPerMillimeter) => new LinearPowerDensity((_value / 1e3) / 1e3d, LinearPowerDensityUnit.KilowattPerMillimeter),
(LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.MegawattPerCentimeter) => new LinearPowerDensity((_value / 1e2) / 1e6d, LinearPowerDensityUnit.MegawattPerCentimeter),
- (LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.MegawattPerFoot) => new LinearPowerDensity((_value / 3.280839895) / 1e6d, LinearPowerDensityUnit.MegawattPerFoot),
- (LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.MegawattPerInch) => new LinearPowerDensity((_value / 39.37007874) / 1e6d, LinearPowerDensityUnit.MegawattPerInch),
+ (LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.MegawattPerFoot) => new LinearPowerDensity((_value * 0.3048) / 1e6d, LinearPowerDensityUnit.MegawattPerFoot),
+ (LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.MegawattPerInch) => new LinearPowerDensity((_value * 2.54e-2) / 1e6d, LinearPowerDensityUnit.MegawattPerInch),
(LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.MegawattPerMeter) => new LinearPowerDensity((_value) / 1e6d, LinearPowerDensityUnit.MegawattPerMeter),
(LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.MegawattPerMillimeter) => new LinearPowerDensity((_value / 1e3) / 1e6d, LinearPowerDensityUnit.MegawattPerMillimeter),
(LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.MilliwattPerCentimeter) => new LinearPowerDensity((_value / 1e2) / 1e-3d, LinearPowerDensityUnit.MilliwattPerCentimeter),
- (LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.MilliwattPerFoot) => new LinearPowerDensity((_value / 3.280839895) / 1e-3d, LinearPowerDensityUnit.MilliwattPerFoot),
- (LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.MilliwattPerInch) => new LinearPowerDensity((_value / 39.37007874) / 1e-3d, LinearPowerDensityUnit.MilliwattPerInch),
+ (LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.MilliwattPerFoot) => new LinearPowerDensity((_value * 0.3048) / 1e-3d, LinearPowerDensityUnit.MilliwattPerFoot),
+ (LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.MilliwattPerInch) => new LinearPowerDensity((_value * 2.54e-2) / 1e-3d, LinearPowerDensityUnit.MilliwattPerInch),
(LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.MilliwattPerMeter) => new LinearPowerDensity((_value) / 1e-3d, LinearPowerDensityUnit.MilliwattPerMeter),
(LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.MilliwattPerMillimeter) => new LinearPowerDensity((_value / 1e3) / 1e-3d, LinearPowerDensityUnit.MilliwattPerMillimeter),
(LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.WattPerCentimeter) => new LinearPowerDensity(_value / 1e2, LinearPowerDensityUnit.WattPerCentimeter),
- (LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.WattPerFoot) => new LinearPowerDensity(_value / 3.280839895, LinearPowerDensityUnit.WattPerFoot),
- (LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.WattPerInch) => new LinearPowerDensity(_value / 39.37007874, LinearPowerDensityUnit.WattPerInch),
+ (LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.WattPerFoot) => new LinearPowerDensity(_value * 0.3048, LinearPowerDensityUnit.WattPerFoot),
+ (LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.WattPerInch) => new LinearPowerDensity(_value * 2.54e-2, LinearPowerDensityUnit.WattPerInch),
(LinearPowerDensityUnit.WattPerMeter, LinearPowerDensityUnit.WattPerMillimeter) => new LinearPowerDensity(_value / 1e3, LinearPowerDensityUnit.WattPerMillimeter),
_ => null
diff --git a/UnitsNet/GeneratedCode/Quantities/Luminance.g.cs b/UnitsNet/GeneratedCode/Quantities/Luminance.g.cs
index 898c02ad96..883ec7c1fb 100644
--- a/UnitsNet/GeneratedCode/Quantities/Luminance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Luminance.g.cs
@@ -885,8 +885,8 @@ private bool TryToUnit(LuminanceUnit unit, [NotNullWhen(true)] out Luminance? co
Luminance? convertedOrNull = (Unit, unit) switch
{
// LuminanceUnit -> BaseUnit
- (LuminanceUnit.CandelaPerSquareFoot, LuminanceUnit.CandelaPerSquareMeter) => new Luminance(_value* 1.07639e1, LuminanceUnit.CandelaPerSquareMeter),
- (LuminanceUnit.CandelaPerSquareInch, LuminanceUnit.CandelaPerSquareMeter) => new Luminance(_value* 1.5500031e3, LuminanceUnit.CandelaPerSquareMeter),
+ (LuminanceUnit.CandelaPerSquareFoot, LuminanceUnit.CandelaPerSquareMeter) => new Luminance(_value / 9.290304e-2, LuminanceUnit.CandelaPerSquareMeter),
+ (LuminanceUnit.CandelaPerSquareInch, LuminanceUnit.CandelaPerSquareMeter) => new Luminance(_value / 0.00064516, LuminanceUnit.CandelaPerSquareMeter),
(LuminanceUnit.CenticandelaPerSquareMeter, LuminanceUnit.CandelaPerSquareMeter) => new Luminance((_value) * 1e-2d, LuminanceUnit.CandelaPerSquareMeter),
(LuminanceUnit.DecicandelaPerSquareMeter, LuminanceUnit.CandelaPerSquareMeter) => new Luminance((_value) * 1e-1d, LuminanceUnit.CandelaPerSquareMeter),
(LuminanceUnit.KilocandelaPerSquareMeter, LuminanceUnit.CandelaPerSquareMeter) => new Luminance((_value) * 1e3d, LuminanceUnit.CandelaPerSquareMeter),
@@ -896,8 +896,8 @@ private bool TryToUnit(LuminanceUnit unit, [NotNullWhen(true)] out Luminance? co
(LuminanceUnit.Nit, LuminanceUnit.CandelaPerSquareMeter) => new Luminance(_value, LuminanceUnit.CandelaPerSquareMeter),
// BaseUnit -> LuminanceUnit
- (LuminanceUnit.CandelaPerSquareMeter, LuminanceUnit.CandelaPerSquareFoot) => new Luminance(_value/ 1.07639e1, LuminanceUnit.CandelaPerSquareFoot),
- (LuminanceUnit.CandelaPerSquareMeter, LuminanceUnit.CandelaPerSquareInch) => new Luminance(_value/ 1.5500031e3, LuminanceUnit.CandelaPerSquareInch),
+ (LuminanceUnit.CandelaPerSquareMeter, LuminanceUnit.CandelaPerSquareFoot) => new Luminance(_value * 9.290304e-2, LuminanceUnit.CandelaPerSquareFoot),
+ (LuminanceUnit.CandelaPerSquareMeter, LuminanceUnit.CandelaPerSquareInch) => new Luminance(_value * 0.00064516, LuminanceUnit.CandelaPerSquareInch),
(LuminanceUnit.CandelaPerSquareMeter, LuminanceUnit.CenticandelaPerSquareMeter) => new Luminance((_value) / 1e-2d, LuminanceUnit.CenticandelaPerSquareMeter),
(LuminanceUnit.CandelaPerSquareMeter, LuminanceUnit.DecicandelaPerSquareMeter) => new Luminance((_value) / 1e-1d, LuminanceUnit.DecicandelaPerSquareMeter),
(LuminanceUnit.CandelaPerSquareMeter, LuminanceUnit.KilocandelaPerSquareMeter) => new Luminance((_value) / 1e3d, LuminanceUnit.KilocandelaPerSquareMeter),
diff --git a/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs b/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs
index e87865e657..155d1567f2 100644
--- a/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Luminosity.g.cs
@@ -968,7 +968,7 @@ private bool TryToUnit(LuminosityUnit unit, [NotNullWhen(true)] out Luminosity?
(LuminosityUnit.Nanowatt, LuminosityUnit.Watt) => new Luminosity((_value) * 1e-9d, LuminosityUnit.Watt),
(LuminosityUnit.Petawatt, LuminosityUnit.Watt) => new Luminosity((_value) * 1e15d, LuminosityUnit.Watt),
(LuminosityUnit.Picowatt, LuminosityUnit.Watt) => new Luminosity((_value) * 1e-12d, LuminosityUnit.Watt),
- (LuminosityUnit.SolarLuminosity, LuminosityUnit.Watt) => new Luminosity(_value * 3.846e26, LuminosityUnit.Watt),
+ (LuminosityUnit.SolarLuminosity, LuminosityUnit.Watt) => new Luminosity(_value * 3.828e26, LuminosityUnit.Watt),
(LuminosityUnit.Terawatt, LuminosityUnit.Watt) => new Luminosity((_value) * 1e12d, LuminosityUnit.Watt),
// BaseUnit -> LuminosityUnit
@@ -983,7 +983,7 @@ private bool TryToUnit(LuminosityUnit unit, [NotNullWhen(true)] out Luminosity?
(LuminosityUnit.Watt, LuminosityUnit.Nanowatt) => new Luminosity((_value) / 1e-9d, LuminosityUnit.Nanowatt),
(LuminosityUnit.Watt, LuminosityUnit.Petawatt) => new Luminosity((_value) / 1e15d, LuminosityUnit.Petawatt),
(LuminosityUnit.Watt, LuminosityUnit.Picowatt) => new Luminosity((_value) / 1e-12d, LuminosityUnit.Picowatt),
- (LuminosityUnit.Watt, LuminosityUnit.SolarLuminosity) => new Luminosity(_value / 3.846e26, LuminosityUnit.SolarLuminosity),
+ (LuminosityUnit.Watt, LuminosityUnit.SolarLuminosity) => new Luminosity(_value / 3.828e26, LuminosityUnit.SolarLuminosity),
(LuminosityUnit.Watt, LuminosityUnit.Terawatt) => new Luminosity((_value) / 1e12d, LuminosityUnit.Terawatt),
_ => null
diff --git a/UnitsNet/GeneratedCode/Quantities/Mass.g.cs b/UnitsNet/GeneratedCode/Quantities/Mass.g.cs
index 59a7f77519..529cd1e0e0 100644
--- a/UnitsNet/GeneratedCode/Quantities/Mass.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Mass.g.cs
@@ -1193,13 +1193,13 @@ private bool TryToUnit(MassUnit unit, [NotNullWhen(true)] out Mass? converted)
(MassUnit.Decigram, MassUnit.Kilogram) => new Mass((_value / 1e3) * 1e-1d, MassUnit.Kilogram),
(MassUnit.EarthMass, MassUnit.Kilogram) => new Mass(_value * 5.9722E+24, MassUnit.Kilogram),
(MassUnit.Femtogram, MassUnit.Kilogram) => new Mass((_value / 1e3) * 1e-15d, MassUnit.Kilogram),
- (MassUnit.Grain, MassUnit.Kilogram) => new Mass(_value / 15432.358352941431, MassUnit.Kilogram),
+ (MassUnit.Grain, MassUnit.Kilogram) => new Mass(_value * 64.79891e-6, MassUnit.Kilogram),
(MassUnit.Gram, MassUnit.Kilogram) => new Mass(_value / 1e3, MassUnit.Kilogram),
(MassUnit.Hectogram, MassUnit.Kilogram) => new Mass((_value / 1e3) * 1e2d, MassUnit.Kilogram),
(MassUnit.Kilopound, MassUnit.Kilogram) => new Mass((_value * 0.45359237) * 1e3d, MassUnit.Kilogram),
(MassUnit.Kilotonne, MassUnit.Kilogram) => new Mass((_value * 1e3) * 1e3d, MassUnit.Kilogram),
- (MassUnit.LongHundredweight, MassUnit.Kilogram) => new Mass(_value / 0.01968413055222121, MassUnit.Kilogram),
- (MassUnit.LongTon, MassUnit.Kilogram) => new Mass(_value * 1.0160469088e3, MassUnit.Kilogram),
+ (MassUnit.LongHundredweight, MassUnit.Kilogram) => new Mass(_value * 50.80234544, MassUnit.Kilogram),
+ (MassUnit.LongTon, MassUnit.Kilogram) => new Mass(_value * 1016.0469088, MassUnit.Kilogram),
(MassUnit.Megapound, MassUnit.Kilogram) => new Mass((_value * 0.45359237) * 1e6d, MassUnit.Kilogram),
(MassUnit.Megatonne, MassUnit.Kilogram) => new Mass((_value * 1e3) * 1e6d, MassUnit.Kilogram),
(MassUnit.Microgram, MassUnit.Kilogram) => new Mass((_value / 1e3) * 1e-6d, MassUnit.Kilogram),
@@ -1208,11 +1208,11 @@ private bool TryToUnit(MassUnit unit, [NotNullWhen(true)] out Mass? converted)
(MassUnit.Ounce, MassUnit.Kilogram) => new Mass(_value * 0.028349523125, MassUnit.Kilogram),
(MassUnit.Picogram, MassUnit.Kilogram) => new Mass((_value / 1e3) * 1e-12d, MassUnit.Kilogram),
(MassUnit.Pound, MassUnit.Kilogram) => new Mass(_value * 0.45359237, MassUnit.Kilogram),
- (MassUnit.ShortHundredweight, MassUnit.Kilogram) => new Mass(_value / 0.022046226218487758, MassUnit.Kilogram),
- (MassUnit.ShortTon, MassUnit.Kilogram) => new Mass(_value * 9.0718474e2, MassUnit.Kilogram),
- (MassUnit.Slug, MassUnit.Kilogram) => new Mass(_value / 6.852176556196105e-2, MassUnit.Kilogram),
+ (MassUnit.ShortHundredweight, MassUnit.Kilogram) => new Mass(_value * 45.359237, MassUnit.Kilogram),
+ (MassUnit.ShortTon, MassUnit.Kilogram) => new Mass(_value * 907.18474, MassUnit.Kilogram),
+ (MassUnit.Slug, MassUnit.Kilogram) => new Mass(_value * (32.17405 * 0.45359237), MassUnit.Kilogram),
(MassUnit.SolarMass, MassUnit.Kilogram) => new Mass(_value * 1.98947e30, MassUnit.Kilogram),
- (MassUnit.Stone, MassUnit.Kilogram) => new Mass(_value / 0.1574731728702698, MassUnit.Kilogram),
+ (MassUnit.Stone, MassUnit.Kilogram) => new Mass(_value * 6.35029318, MassUnit.Kilogram),
(MassUnit.Tonne, MassUnit.Kilogram) => new Mass(_value * 1e3, MassUnit.Kilogram),
// BaseUnit -> MassUnit
@@ -1221,13 +1221,13 @@ private bool TryToUnit(MassUnit unit, [NotNullWhen(true)] out Mass? converted)
(MassUnit.Kilogram, MassUnit.Decigram) => new Mass((_value * 1e3) / 1e-1d, MassUnit.Decigram),
(MassUnit.Kilogram, MassUnit.EarthMass) => new Mass(_value / 5.9722E+24, MassUnit.EarthMass),
(MassUnit.Kilogram, MassUnit.Femtogram) => new Mass((_value * 1e3) / 1e-15d, MassUnit.Femtogram),
- (MassUnit.Kilogram, MassUnit.Grain) => new Mass(_value * 15432.358352941431, MassUnit.Grain),
+ (MassUnit.Kilogram, MassUnit.Grain) => new Mass(_value / 64.79891e-6, MassUnit.Grain),
(MassUnit.Kilogram, MassUnit.Gram) => new Mass(_value * 1e3, MassUnit.Gram),
(MassUnit.Kilogram, MassUnit.Hectogram) => new Mass((_value * 1e3) / 1e2d, MassUnit.Hectogram),
(MassUnit.Kilogram, MassUnit.Kilopound) => new Mass((_value / 0.45359237) / 1e3d, MassUnit.Kilopound),
(MassUnit.Kilogram, MassUnit.Kilotonne) => new Mass((_value / 1e3) / 1e3d, MassUnit.Kilotonne),
- (MassUnit.Kilogram, MassUnit.LongHundredweight) => new Mass(_value * 0.01968413055222121, MassUnit.LongHundredweight),
- (MassUnit.Kilogram, MassUnit.LongTon) => new Mass(_value / 1.0160469088e3, MassUnit.LongTon),
+ (MassUnit.Kilogram, MassUnit.LongHundredweight) => new Mass(_value / 50.80234544, MassUnit.LongHundredweight),
+ (MassUnit.Kilogram, MassUnit.LongTon) => new Mass(_value / 1016.0469088, MassUnit.LongTon),
(MassUnit.Kilogram, MassUnit.Megapound) => new Mass((_value / 0.45359237) / 1e6d, MassUnit.Megapound),
(MassUnit.Kilogram, MassUnit.Megatonne) => new Mass((_value / 1e3) / 1e6d, MassUnit.Megatonne),
(MassUnit.Kilogram, MassUnit.Microgram) => new Mass((_value * 1e3) / 1e-6d, MassUnit.Microgram),
@@ -1236,11 +1236,11 @@ private bool TryToUnit(MassUnit unit, [NotNullWhen(true)] out Mass? converted)
(MassUnit.Kilogram, MassUnit.Ounce) => new Mass(_value / 0.028349523125, MassUnit.Ounce),
(MassUnit.Kilogram, MassUnit.Picogram) => new Mass((_value * 1e3) / 1e-12d, MassUnit.Picogram),
(MassUnit.Kilogram, MassUnit.Pound) => new Mass(_value / 0.45359237, MassUnit.Pound),
- (MassUnit.Kilogram, MassUnit.ShortHundredweight) => new Mass(_value * 0.022046226218487758, MassUnit.ShortHundredweight),
- (MassUnit.Kilogram, MassUnit.ShortTon) => new Mass(_value / 9.0718474e2, MassUnit.ShortTon),
- (MassUnit.Kilogram, MassUnit.Slug) => new Mass(_value * 6.852176556196105e-2, MassUnit.Slug),
+ (MassUnit.Kilogram, MassUnit.ShortHundredweight) => new Mass(_value / 45.359237, MassUnit.ShortHundredweight),
+ (MassUnit.Kilogram, MassUnit.ShortTon) => new Mass(_value / 907.18474, MassUnit.ShortTon),
+ (MassUnit.Kilogram, MassUnit.Slug) => new Mass(_value / (32.17405 * 0.45359237), MassUnit.Slug),
(MassUnit.Kilogram, MassUnit.SolarMass) => new Mass(_value / 1.98947e30, MassUnit.SolarMass),
- (MassUnit.Kilogram, MassUnit.Stone) => new Mass(_value * 0.1574731728702698, MassUnit.Stone),
+ (MassUnit.Kilogram, MassUnit.Stone) => new Mass(_value / 6.35029318, MassUnit.Stone),
(MassUnit.Kilogram, MassUnit.Tonne) => new Mass(_value / 1e3, MassUnit.Tonne),
_ => null
diff --git a/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs b/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs
index 7e5d329890..dafd8a3a83 100644
--- a/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MassConcentration.g.cs
@@ -1605,8 +1605,8 @@ private bool TryToUnit(MassConcentrationUnit unit, [NotNullWhen(true)] out MassC
(MassConcentrationUnit.KilogramPerCubicCentimeter, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration((_value / 1e-3) * 1e3d, MassConcentrationUnit.KilogramPerCubicMeter),
(MassConcentrationUnit.KilogramPerCubicMillimeter, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration((_value / 1e-6) * 1e3d, MassConcentrationUnit.KilogramPerCubicMeter),
(MassConcentrationUnit.KilogramPerLiter, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration((_value) * 1e3d, MassConcentrationUnit.KilogramPerCubicMeter),
- (MassConcentrationUnit.KilopoundPerCubicFoot, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration((_value / 0.062427961) * 1e3d, MassConcentrationUnit.KilogramPerCubicMeter),
- (MassConcentrationUnit.KilopoundPerCubicInch, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration((_value / 3.6127298147753e-5) * 1e3d, MassConcentrationUnit.KilogramPerCubicMeter),
+ (MassConcentrationUnit.KilopoundPerCubicFoot, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration((_value * 0.45359237 / 0.028316846592) * 1e3d, MassConcentrationUnit.KilogramPerCubicMeter),
+ (MassConcentrationUnit.KilopoundPerCubicInch, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration((_value * 0.45359237 / 1.6387064e-5) * 1e3d, MassConcentrationUnit.KilogramPerCubicMeter),
(MassConcentrationUnit.MicrogramPerCubicMeter, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration((_value / 1e3) * 1e-6d, MassConcentrationUnit.KilogramPerCubicMeter),
(MassConcentrationUnit.MicrogramPerDeciliter, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration((_value / 1e-1) * 1e-6d, MassConcentrationUnit.KilogramPerCubicMeter),
(MassConcentrationUnit.MicrogramPerLiter, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration((_value) * 1e-6d, MassConcentrationUnit.KilogramPerCubicMeter),
@@ -1621,17 +1621,17 @@ private bool TryToUnit(MassConcentrationUnit unit, [NotNullWhen(true)] out MassC
(MassConcentrationUnit.NanogramPerLiter, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration((_value) * 1e-9d, MassConcentrationUnit.KilogramPerCubicMeter),
(MassConcentrationUnit.NanogramPerMicroliter, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration((_value / 1e-6) * 1e-9d, MassConcentrationUnit.KilogramPerCubicMeter),
(MassConcentrationUnit.NanogramPerMilliliter, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration((_value / 1e-3) * 1e-9d, MassConcentrationUnit.KilogramPerCubicMeter),
- (MassConcentrationUnit.OuncePerImperialGallon, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration( _value / 0.1603586720609, MassConcentrationUnit.KilogramPerCubicMeter),
- (MassConcentrationUnit.OuncePerUSGallon, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration( _value / 0.1335264711843, MassConcentrationUnit.KilogramPerCubicMeter),
+ (MassConcentrationUnit.OuncePerImperialGallon, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration(_value * 0.028349523125 / 0.00454609, MassConcentrationUnit.KilogramPerCubicMeter),
+ (MassConcentrationUnit.OuncePerUSGallon, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration(_value * 0.028349523125 / 0.003785411784, MassConcentrationUnit.KilogramPerCubicMeter),
(MassConcentrationUnit.PicogramPerDeciliter, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration((_value / 1e-1) * 1e-12d, MassConcentrationUnit.KilogramPerCubicMeter),
(MassConcentrationUnit.PicogramPerLiter, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration((_value) * 1e-12d, MassConcentrationUnit.KilogramPerCubicMeter),
(MassConcentrationUnit.PicogramPerMicroliter, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration((_value / 1e-6) * 1e-12d, MassConcentrationUnit.KilogramPerCubicMeter),
(MassConcentrationUnit.PicogramPerMilliliter, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration((_value / 1e-3) * 1e-12d, MassConcentrationUnit.KilogramPerCubicMeter),
- (MassConcentrationUnit.PoundPerCubicFoot, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration(_value / 0.062427961, MassConcentrationUnit.KilogramPerCubicMeter),
- (MassConcentrationUnit.PoundPerCubicInch, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration(_value / 3.6127298147753e-5, MassConcentrationUnit.KilogramPerCubicMeter),
- (MassConcentrationUnit.PoundPerImperialGallon, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration(_value * 9.9776398e1, MassConcentrationUnit.KilogramPerCubicMeter),
- (MassConcentrationUnit.PoundPerUSGallon, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration(_value * 1.19826427e2, MassConcentrationUnit.KilogramPerCubicMeter),
- (MassConcentrationUnit.SlugPerCubicFoot, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration(_value * 515.378818, MassConcentrationUnit.KilogramPerCubicMeter),
+ (MassConcentrationUnit.PoundPerCubicFoot, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration(_value * 0.45359237 / 0.028316846592, MassConcentrationUnit.KilogramPerCubicMeter),
+ (MassConcentrationUnit.PoundPerCubicInch, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration(_value * 0.45359237 / 1.6387064e-5, MassConcentrationUnit.KilogramPerCubicMeter),
+ (MassConcentrationUnit.PoundPerImperialGallon, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration(_value * 0.45359237 / 0.00454609, MassConcentrationUnit.KilogramPerCubicMeter),
+ (MassConcentrationUnit.PoundPerUSGallon, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration(_value * 0.45359237 / 0.003785411784, MassConcentrationUnit.KilogramPerCubicMeter),
+ (MassConcentrationUnit.SlugPerCubicFoot, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration(_value * (32.17405 * 0.45359237) / 0.028316846592, MassConcentrationUnit.KilogramPerCubicMeter),
(MassConcentrationUnit.TonnePerCubicCentimeter, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration(_value / 1e-9, MassConcentrationUnit.KilogramPerCubicMeter),
(MassConcentrationUnit.TonnePerCubicMeter, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration(_value / 0.001, MassConcentrationUnit.KilogramPerCubicMeter),
(MassConcentrationUnit.TonnePerCubicMillimeter, MassConcentrationUnit.KilogramPerCubicMeter) => new MassConcentration(_value / 1e-12, MassConcentrationUnit.KilogramPerCubicMeter),
@@ -1655,8 +1655,8 @@ private bool TryToUnit(MassConcentrationUnit unit, [NotNullWhen(true)] out MassC
(MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.KilogramPerCubicCentimeter) => new MassConcentration((_value * 1e-3) / 1e3d, MassConcentrationUnit.KilogramPerCubicCentimeter),
(MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.KilogramPerCubicMillimeter) => new MassConcentration((_value * 1e-6) / 1e3d, MassConcentrationUnit.KilogramPerCubicMillimeter),
(MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.KilogramPerLiter) => new MassConcentration((_value) / 1e3d, MassConcentrationUnit.KilogramPerLiter),
- (MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.KilopoundPerCubicFoot) => new MassConcentration((_value * 0.062427961) / 1e3d, MassConcentrationUnit.KilopoundPerCubicFoot),
- (MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.KilopoundPerCubicInch) => new MassConcentration((_value * 3.6127298147753e-5) / 1e3d, MassConcentrationUnit.KilopoundPerCubicInch),
+ (MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.KilopoundPerCubicFoot) => new MassConcentration((_value * 0.028316846592 / 0.45359237) / 1e3d, MassConcentrationUnit.KilopoundPerCubicFoot),
+ (MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.KilopoundPerCubicInch) => new MassConcentration((_value * 1.6387064e-5 / 0.45359237) / 1e3d, MassConcentrationUnit.KilopoundPerCubicInch),
(MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.MicrogramPerCubicMeter) => new MassConcentration((_value * 1e3) / 1e-6d, MassConcentrationUnit.MicrogramPerCubicMeter),
(MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.MicrogramPerDeciliter) => new MassConcentration((_value * 1e-1) / 1e-6d, MassConcentrationUnit.MicrogramPerDeciliter),
(MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.MicrogramPerLiter) => new MassConcentration((_value) / 1e-6d, MassConcentrationUnit.MicrogramPerLiter),
@@ -1671,17 +1671,17 @@ private bool TryToUnit(MassConcentrationUnit unit, [NotNullWhen(true)] out MassC
(MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.NanogramPerLiter) => new MassConcentration((_value) / 1e-9d, MassConcentrationUnit.NanogramPerLiter),
(MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.NanogramPerMicroliter) => new MassConcentration((_value * 1e-6) / 1e-9d, MassConcentrationUnit.NanogramPerMicroliter),
(MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.NanogramPerMilliliter) => new MassConcentration((_value * 1e-3) / 1e-9d, MassConcentrationUnit.NanogramPerMilliliter),
- (MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.OuncePerImperialGallon) => new MassConcentration(_value * 0.1603586720609, MassConcentrationUnit.OuncePerImperialGallon),
- (MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.OuncePerUSGallon) => new MassConcentration(_value * 0.1335264711843, MassConcentrationUnit.OuncePerUSGallon),
+ (MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.OuncePerImperialGallon) => new MassConcentration(_value * 0.00454609 / 0.028349523125, MassConcentrationUnit.OuncePerImperialGallon),
+ (MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.OuncePerUSGallon) => new MassConcentration(_value * 0.003785411784 / 0.028349523125, MassConcentrationUnit.OuncePerUSGallon),
(MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.PicogramPerDeciliter) => new MassConcentration((_value * 1e-1) / 1e-12d, MassConcentrationUnit.PicogramPerDeciliter),
(MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.PicogramPerLiter) => new MassConcentration((_value) / 1e-12d, MassConcentrationUnit.PicogramPerLiter),
(MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.PicogramPerMicroliter) => new MassConcentration((_value * 1e-6) / 1e-12d, MassConcentrationUnit.PicogramPerMicroliter),
(MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.PicogramPerMilliliter) => new MassConcentration((_value * 1e-3) / 1e-12d, MassConcentrationUnit.PicogramPerMilliliter),
- (MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.PoundPerCubicFoot) => new MassConcentration(_value * 0.062427961, MassConcentrationUnit.PoundPerCubicFoot),
- (MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.PoundPerCubicInch) => new MassConcentration(_value * 3.6127298147753e-5, MassConcentrationUnit.PoundPerCubicInch),
- (MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.PoundPerImperialGallon) => new MassConcentration(_value / 9.9776398e1, MassConcentrationUnit.PoundPerImperialGallon),
- (MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.PoundPerUSGallon) => new MassConcentration(_value / 1.19826427e2, MassConcentrationUnit.PoundPerUSGallon),
- (MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.SlugPerCubicFoot) => new MassConcentration(_value * 0.00194032033, MassConcentrationUnit.SlugPerCubicFoot),
+ (MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.PoundPerCubicFoot) => new MassConcentration(_value * 0.028316846592 / 0.45359237, MassConcentrationUnit.PoundPerCubicFoot),
+ (MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.PoundPerCubicInch) => new MassConcentration(_value * 1.6387064e-5 / 0.45359237, MassConcentrationUnit.PoundPerCubicInch),
+ (MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.PoundPerImperialGallon) => new MassConcentration(_value * 0.00454609 / 0.45359237, MassConcentrationUnit.PoundPerImperialGallon),
+ (MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.PoundPerUSGallon) => new MassConcentration(_value * 0.003785411784 / 0.45359237, MassConcentrationUnit.PoundPerUSGallon),
+ (MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.SlugPerCubicFoot) => new MassConcentration(_value * 0.028316846592 / (32.17405 * 0.45359237), MassConcentrationUnit.SlugPerCubicFoot),
(MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.TonnePerCubicCentimeter) => new MassConcentration(_value * 1e-9, MassConcentrationUnit.TonnePerCubicCentimeter),
(MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.TonnePerCubicMeter) => new MassConcentration(_value * 0.001, MassConcentrationUnit.TonnePerCubicMeter),
(MassConcentrationUnit.KilogramPerCubicMeter, MassConcentrationUnit.TonnePerCubicMillimeter) => new MassConcentration(_value * 1e-12, MassConcentrationUnit.TonnePerCubicMillimeter),
diff --git a/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs b/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs
index 8e859c0f47..55db2e303d 100644
--- a/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MassFlow.g.cs
@@ -1311,9 +1311,9 @@ private bool TryToUnit(MassFlowUnit unit, [NotNullWhen(true)] out MassFlow? conv
(MassFlowUnit.KilogramPerMinute, MassFlowUnit.GramPerSecond) => new MassFlow(_value / 0.06, MassFlowUnit.GramPerSecond),
(MassFlowUnit.KilogramPerSecond, MassFlowUnit.GramPerSecond) => new MassFlow((_value) * 1e3d, MassFlowUnit.GramPerSecond),
(MassFlowUnit.MegagramPerDay, MassFlowUnit.GramPerSecond) => new MassFlow((_value / 86400) * 1e6d, MassFlowUnit.GramPerSecond),
- (MassFlowUnit.MegapoundPerDay, MassFlowUnit.GramPerSecond) => new MassFlow((_value / 190.47936) * 1e6d, MassFlowUnit.GramPerSecond),
- (MassFlowUnit.MegapoundPerHour, MassFlowUnit.GramPerSecond) => new MassFlow((_value / 7.93664) * 1e6d, MassFlowUnit.GramPerSecond),
- (MassFlowUnit.MegapoundPerMinute, MassFlowUnit.GramPerSecond) => new MassFlow((_value / 0.132277) * 1e6d, MassFlowUnit.GramPerSecond),
+ (MassFlowUnit.MegapoundPerDay, MassFlowUnit.GramPerSecond) => new MassFlow((_value * 453.59237 / 86400) * 1e6d, MassFlowUnit.GramPerSecond),
+ (MassFlowUnit.MegapoundPerHour, MassFlowUnit.GramPerSecond) => new MassFlow((_value * 453.59237 / 3600) * 1e6d, MassFlowUnit.GramPerSecond),
+ (MassFlowUnit.MegapoundPerMinute, MassFlowUnit.GramPerSecond) => new MassFlow((_value * 453.59237 / 60) * 1e6d, MassFlowUnit.GramPerSecond),
(MassFlowUnit.MegapoundPerSecond, MassFlowUnit.GramPerSecond) => new MassFlow((_value * 453.59237) * 1e6d, MassFlowUnit.GramPerSecond),
(MassFlowUnit.MicrogramPerDay, MassFlowUnit.GramPerSecond) => new MassFlow((_value / 86400) * 1e-6d, MassFlowUnit.GramPerSecond),
(MassFlowUnit.MicrogramPerSecond, MassFlowUnit.GramPerSecond) => new MassFlow((_value) * 1e-6d, MassFlowUnit.GramPerSecond),
@@ -1321,13 +1321,13 @@ private bool TryToUnit(MassFlowUnit unit, [NotNullWhen(true)] out MassFlow? conv
(MassFlowUnit.MilligramPerSecond, MassFlowUnit.GramPerSecond) => new MassFlow((_value) * 1e-3d, MassFlowUnit.GramPerSecond),
(MassFlowUnit.NanogramPerDay, MassFlowUnit.GramPerSecond) => new MassFlow((_value / 86400) * 1e-9d, MassFlowUnit.GramPerSecond),
(MassFlowUnit.NanogramPerSecond, MassFlowUnit.GramPerSecond) => new MassFlow((_value) * 1e-9d, MassFlowUnit.GramPerSecond),
- (MassFlowUnit.PoundPerDay, MassFlowUnit.GramPerSecond) => new MassFlow(_value / 190.47936, MassFlowUnit.GramPerSecond),
- (MassFlowUnit.PoundPerHour, MassFlowUnit.GramPerSecond) => new MassFlow(_value / 7.93664, MassFlowUnit.GramPerSecond),
- (MassFlowUnit.PoundPerMinute, MassFlowUnit.GramPerSecond) => new MassFlow(_value / 0.132277, MassFlowUnit.GramPerSecond),
+ (MassFlowUnit.PoundPerDay, MassFlowUnit.GramPerSecond) => new MassFlow(_value * 453.59237 / 86400, MassFlowUnit.GramPerSecond),
+ (MassFlowUnit.PoundPerHour, MassFlowUnit.GramPerSecond) => new MassFlow(_value * 453.59237 / 3600, MassFlowUnit.GramPerSecond),
+ (MassFlowUnit.PoundPerMinute, MassFlowUnit.GramPerSecond) => new MassFlow(_value * 453.59237 / 60, MassFlowUnit.GramPerSecond),
(MassFlowUnit.PoundPerSecond, MassFlowUnit.GramPerSecond) => new MassFlow(_value * 453.59237, MassFlowUnit.GramPerSecond),
- (MassFlowUnit.ShortTonPerHour, MassFlowUnit.GramPerSecond) => new MassFlow(_value * 251.9957611, MassFlowUnit.GramPerSecond),
+ (MassFlowUnit.ShortTonPerHour, MassFlowUnit.GramPerSecond) => new MassFlow(_value * 907.18474 / 3.6, MassFlowUnit.GramPerSecond),
(MassFlowUnit.TonnePerDay, MassFlowUnit.GramPerSecond) => new MassFlow(_value / 0.0864000, MassFlowUnit.GramPerSecond),
- (MassFlowUnit.TonnePerHour, MassFlowUnit.GramPerSecond) => new MassFlow(1000 * _value / 3.6, MassFlowUnit.GramPerSecond),
+ (MassFlowUnit.TonnePerHour, MassFlowUnit.GramPerSecond) => new MassFlow(_value * 1000 / 3.6, MassFlowUnit.GramPerSecond),
// BaseUnit -> MassFlowUnit
(MassFlowUnit.GramPerSecond, MassFlowUnit.CentigramPerDay) => new MassFlow((_value * 86400) / 1e-2d, MassFlowUnit.CentigramPerDay),
@@ -1345,9 +1345,9 @@ private bool TryToUnit(MassFlowUnit unit, [NotNullWhen(true)] out MassFlow? conv
(MassFlowUnit.GramPerSecond, MassFlowUnit.KilogramPerMinute) => new MassFlow(_value * 0.06, MassFlowUnit.KilogramPerMinute),
(MassFlowUnit.GramPerSecond, MassFlowUnit.KilogramPerSecond) => new MassFlow((_value) / 1e3d, MassFlowUnit.KilogramPerSecond),
(MassFlowUnit.GramPerSecond, MassFlowUnit.MegagramPerDay) => new MassFlow((_value * 86400) / 1e6d, MassFlowUnit.MegagramPerDay),
- (MassFlowUnit.GramPerSecond, MassFlowUnit.MegapoundPerDay) => new MassFlow((_value * 190.47936) / 1e6d, MassFlowUnit.MegapoundPerDay),
- (MassFlowUnit.GramPerSecond, MassFlowUnit.MegapoundPerHour) => new MassFlow((_value * 7.93664) / 1e6d, MassFlowUnit.MegapoundPerHour),
- (MassFlowUnit.GramPerSecond, MassFlowUnit.MegapoundPerMinute) => new MassFlow((_value * 0.132277) / 1e6d, MassFlowUnit.MegapoundPerMinute),
+ (MassFlowUnit.GramPerSecond, MassFlowUnit.MegapoundPerDay) => new MassFlow((_value * 86400 / 453.59237) / 1e6d, MassFlowUnit.MegapoundPerDay),
+ (MassFlowUnit.GramPerSecond, MassFlowUnit.MegapoundPerHour) => new MassFlow((_value * 3600 / 453.59237) / 1e6d, MassFlowUnit.MegapoundPerHour),
+ (MassFlowUnit.GramPerSecond, MassFlowUnit.MegapoundPerMinute) => new MassFlow((_value * 60 / 453.59237) / 1e6d, MassFlowUnit.MegapoundPerMinute),
(MassFlowUnit.GramPerSecond, MassFlowUnit.MegapoundPerSecond) => new MassFlow((_value / 453.59237) / 1e6d, MassFlowUnit.MegapoundPerSecond),
(MassFlowUnit.GramPerSecond, MassFlowUnit.MicrogramPerDay) => new MassFlow((_value * 86400) / 1e-6d, MassFlowUnit.MicrogramPerDay),
(MassFlowUnit.GramPerSecond, MassFlowUnit.MicrogramPerSecond) => new MassFlow((_value) / 1e-6d, MassFlowUnit.MicrogramPerSecond),
@@ -1355,11 +1355,11 @@ private bool TryToUnit(MassFlowUnit unit, [NotNullWhen(true)] out MassFlow? conv
(MassFlowUnit.GramPerSecond, MassFlowUnit.MilligramPerSecond) => new MassFlow((_value) / 1e-3d, MassFlowUnit.MilligramPerSecond),
(MassFlowUnit.GramPerSecond, MassFlowUnit.NanogramPerDay) => new MassFlow((_value * 86400) / 1e-9d, MassFlowUnit.NanogramPerDay),
(MassFlowUnit.GramPerSecond, MassFlowUnit.NanogramPerSecond) => new MassFlow((_value) / 1e-9d, MassFlowUnit.NanogramPerSecond),
- (MassFlowUnit.GramPerSecond, MassFlowUnit.PoundPerDay) => new MassFlow(_value * 190.47936, MassFlowUnit.PoundPerDay),
- (MassFlowUnit.GramPerSecond, MassFlowUnit.PoundPerHour) => new MassFlow(_value * 7.93664, MassFlowUnit.PoundPerHour),
- (MassFlowUnit.GramPerSecond, MassFlowUnit.PoundPerMinute) => new MassFlow(_value * 0.132277, MassFlowUnit.PoundPerMinute),
+ (MassFlowUnit.GramPerSecond, MassFlowUnit.PoundPerDay) => new MassFlow(_value * 86400 / 453.59237, MassFlowUnit.PoundPerDay),
+ (MassFlowUnit.GramPerSecond, MassFlowUnit.PoundPerHour) => new MassFlow(_value * 3600 / 453.59237, MassFlowUnit.PoundPerHour),
+ (MassFlowUnit.GramPerSecond, MassFlowUnit.PoundPerMinute) => new MassFlow(_value * 60 / 453.59237, MassFlowUnit.PoundPerMinute),
(MassFlowUnit.GramPerSecond, MassFlowUnit.PoundPerSecond) => new MassFlow(_value / 453.59237, MassFlowUnit.PoundPerSecond),
- (MassFlowUnit.GramPerSecond, MassFlowUnit.ShortTonPerHour) => new MassFlow(_value / 251.9957611, MassFlowUnit.ShortTonPerHour),
+ (MassFlowUnit.GramPerSecond, MassFlowUnit.ShortTonPerHour) => new MassFlow(_value * 3.6 / 907.18474, MassFlowUnit.ShortTonPerHour),
(MassFlowUnit.GramPerSecond, MassFlowUnit.TonnePerDay) => new MassFlow(_value * 0.0864000, MassFlowUnit.TonnePerDay),
(MassFlowUnit.GramPerSecond, MassFlowUnit.TonnePerHour) => new MassFlow(_value * 3.6 / 1000, MassFlowUnit.TonnePerHour),
diff --git a/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs b/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs
index b9bc714d88..1cf25235ca 100644
--- a/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/MassMomentOfInertia.g.cs
@@ -1225,10 +1225,10 @@ private bool TryToUnit(MassMomentOfInertiaUnit unit, [NotNullWhen(true)] out Mas
(MassMomentOfInertiaUnit.MilligramSquareDecimeter, MassMomentOfInertiaUnit.KilogramSquareMeter) => new MassMomentOfInertia((_value / 1e5) * 1e-3d, MassMomentOfInertiaUnit.KilogramSquareMeter),
(MassMomentOfInertiaUnit.MilligramSquareMeter, MassMomentOfInertiaUnit.KilogramSquareMeter) => new MassMomentOfInertia((_value / 1e3) * 1e-3d, MassMomentOfInertiaUnit.KilogramSquareMeter),
(MassMomentOfInertiaUnit.MilligramSquareMillimeter, MassMomentOfInertiaUnit.KilogramSquareMeter) => new MassMomentOfInertia((_value / 1e9) * 1e-3d, MassMomentOfInertiaUnit.KilogramSquareMeter),
- (MassMomentOfInertiaUnit.PoundSquareFoot, MassMomentOfInertiaUnit.KilogramSquareMeter) => new MassMomentOfInertia(_value * 4.21401101e-2, MassMomentOfInertiaUnit.KilogramSquareMeter),
- (MassMomentOfInertiaUnit.PoundSquareInch, MassMomentOfInertiaUnit.KilogramSquareMeter) => new MassMomentOfInertia(_value * 2.9263965e-4, MassMomentOfInertiaUnit.KilogramSquareMeter),
- (MassMomentOfInertiaUnit.SlugSquareFoot, MassMomentOfInertiaUnit.KilogramSquareMeter) => new MassMomentOfInertia(_value * 1.3558179619, MassMomentOfInertiaUnit.KilogramSquareMeter),
- (MassMomentOfInertiaUnit.SlugSquareInch, MassMomentOfInertiaUnit.KilogramSquareMeter) => new MassMomentOfInertia(_value * 9.41540242e-3, MassMomentOfInertiaUnit.KilogramSquareMeter),
+ (MassMomentOfInertiaUnit.PoundSquareFoot, MassMomentOfInertiaUnit.KilogramSquareMeter) => new MassMomentOfInertia(_value * (0.45359237 * 9.290304e-2), MassMomentOfInertiaUnit.KilogramSquareMeter),
+ (MassMomentOfInertiaUnit.PoundSquareInch, MassMomentOfInertiaUnit.KilogramSquareMeter) => new MassMomentOfInertia(_value * (0.45359237 * 0.00064516), MassMomentOfInertiaUnit.KilogramSquareMeter),
+ (MassMomentOfInertiaUnit.SlugSquareFoot, MassMomentOfInertiaUnit.KilogramSquareMeter) => new MassMomentOfInertia(_value * (32.17405 * 0.45359237 * 9.290304e-2), MassMomentOfInertiaUnit.KilogramSquareMeter),
+ (MassMomentOfInertiaUnit.SlugSquareInch, MassMomentOfInertiaUnit.KilogramSquareMeter) => new MassMomentOfInertia(_value * (32.17405 * 0.45359237 * 0.00064516), MassMomentOfInertiaUnit.KilogramSquareMeter),
(MassMomentOfInertiaUnit.TonneSquareCentimeter, MassMomentOfInertiaUnit.KilogramSquareMeter) => new MassMomentOfInertia(_value / 1e1, MassMomentOfInertiaUnit.KilogramSquareMeter),
(MassMomentOfInertiaUnit.TonneSquareDecimeter, MassMomentOfInertiaUnit.KilogramSquareMeter) => new MassMomentOfInertia(_value / 1e-1, MassMomentOfInertiaUnit.KilogramSquareMeter),
(MassMomentOfInertiaUnit.TonneSquareMeter, MassMomentOfInertiaUnit.KilogramSquareMeter) => new MassMomentOfInertia(_value / 1e-3, MassMomentOfInertiaUnit.KilogramSquareMeter),
@@ -1254,10 +1254,10 @@ private bool TryToUnit(MassMomentOfInertiaUnit unit, [NotNullWhen(true)] out Mas
(MassMomentOfInertiaUnit.KilogramSquareMeter, MassMomentOfInertiaUnit.MilligramSquareDecimeter) => new MassMomentOfInertia((_value * 1e5) / 1e-3d, MassMomentOfInertiaUnit.MilligramSquareDecimeter),
(MassMomentOfInertiaUnit.KilogramSquareMeter, MassMomentOfInertiaUnit.MilligramSquareMeter) => new MassMomentOfInertia((_value * 1e3) / 1e-3d, MassMomentOfInertiaUnit.MilligramSquareMeter),
(MassMomentOfInertiaUnit.KilogramSquareMeter, MassMomentOfInertiaUnit.MilligramSquareMillimeter) => new MassMomentOfInertia((_value * 1e9) / 1e-3d, MassMomentOfInertiaUnit.MilligramSquareMillimeter),
- (MassMomentOfInertiaUnit.KilogramSquareMeter, MassMomentOfInertiaUnit.PoundSquareFoot) => new MassMomentOfInertia(_value / 4.21401101e-2, MassMomentOfInertiaUnit.PoundSquareFoot),
- (MassMomentOfInertiaUnit.KilogramSquareMeter, MassMomentOfInertiaUnit.PoundSquareInch) => new MassMomentOfInertia(_value / 2.9263965e-4, MassMomentOfInertiaUnit.PoundSquareInch),
- (MassMomentOfInertiaUnit.KilogramSquareMeter, MassMomentOfInertiaUnit.SlugSquareFoot) => new MassMomentOfInertia(_value / 1.3558179619, MassMomentOfInertiaUnit.SlugSquareFoot),
- (MassMomentOfInertiaUnit.KilogramSquareMeter, MassMomentOfInertiaUnit.SlugSquareInch) => new MassMomentOfInertia(_value / 9.41540242e-3, MassMomentOfInertiaUnit.SlugSquareInch),
+ (MassMomentOfInertiaUnit.KilogramSquareMeter, MassMomentOfInertiaUnit.PoundSquareFoot) => new MassMomentOfInertia(_value / (0.45359237 * 9.290304e-2), MassMomentOfInertiaUnit.PoundSquareFoot),
+ (MassMomentOfInertiaUnit.KilogramSquareMeter, MassMomentOfInertiaUnit.PoundSquareInch) => new MassMomentOfInertia(_value / (0.45359237 * 0.00064516), MassMomentOfInertiaUnit.PoundSquareInch),
+ (MassMomentOfInertiaUnit.KilogramSquareMeter, MassMomentOfInertiaUnit.SlugSquareFoot) => new MassMomentOfInertia(_value / (32.17405 * 0.45359237 * 9.290304e-2), MassMomentOfInertiaUnit.SlugSquareFoot),
+ (MassMomentOfInertiaUnit.KilogramSquareMeter, MassMomentOfInertiaUnit.SlugSquareInch) => new MassMomentOfInertia(_value / (32.17405 * 0.45359237 * 0.00064516), MassMomentOfInertiaUnit.SlugSquareInch),
(MassMomentOfInertiaUnit.KilogramSquareMeter, MassMomentOfInertiaUnit.TonneSquareCentimeter) => new MassMomentOfInertia(_value * 1e1, MassMomentOfInertiaUnit.TonneSquareCentimeter),
(MassMomentOfInertiaUnit.KilogramSquareMeter, MassMomentOfInertiaUnit.TonneSquareDecimeter) => new MassMomentOfInertia(_value * 1e-1, MassMomentOfInertiaUnit.TonneSquareDecimeter),
(MassMomentOfInertiaUnit.KilogramSquareMeter, MassMomentOfInertiaUnit.TonneSquareMeter) => new MassMomentOfInertia(_value * 1e-3, MassMomentOfInertiaUnit.TonneSquareMeter),
diff --git a/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs b/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs
index 1cfd284ffd..e4ad4804f7 100644
--- a/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Molarity.g.cs
@@ -912,7 +912,7 @@ private bool TryToUnit(MolarityUnit unit, [NotNullWhen(true)] out Molarity? conv
(MolarityUnit.MolePerLiter, MolarityUnit.MolePerCubicMeter) => new Molarity(_value / 1e-3, MolarityUnit.MolePerCubicMeter),
(MolarityUnit.NanomolePerLiter, MolarityUnit.MolePerCubicMeter) => new Molarity((_value / 1e-3) * 1e-9d, MolarityUnit.MolePerCubicMeter),
(MolarityUnit.PicomolePerLiter, MolarityUnit.MolePerCubicMeter) => new Molarity((_value / 1e-3) * 1e-12d, MolarityUnit.MolePerCubicMeter),
- (MolarityUnit.PoundMolePerCubicFoot, MolarityUnit.MolePerCubicMeter) => new Molarity(_value / 6.2427960576144611956325455827221e-5, MolarityUnit.MolePerCubicMeter),
+ (MolarityUnit.PoundMolePerCubicFoot, MolarityUnit.MolePerCubicMeter) => new Molarity(_value * 1000 * 0.45359237 / 0.028316846592, MolarityUnit.MolePerCubicMeter),
// BaseUnit -> MolarityUnit
(MolarityUnit.MolePerCubicMeter, MolarityUnit.CentimolePerLiter) => new Molarity((_value * 1e-3) / 1e-2d, MolarityUnit.CentimolePerLiter),
@@ -924,7 +924,7 @@ private bool TryToUnit(MolarityUnit unit, [NotNullWhen(true)] out Molarity? conv
(MolarityUnit.MolePerCubicMeter, MolarityUnit.MolePerLiter) => new Molarity(_value * 1e-3, MolarityUnit.MolePerLiter),
(MolarityUnit.MolePerCubicMeter, MolarityUnit.NanomolePerLiter) => new Molarity((_value * 1e-3) / 1e-9d, MolarityUnit.NanomolePerLiter),
(MolarityUnit.MolePerCubicMeter, MolarityUnit.PicomolePerLiter) => new Molarity((_value * 1e-3) / 1e-12d, MolarityUnit.PicomolePerLiter),
- (MolarityUnit.MolePerCubicMeter, MolarityUnit.PoundMolePerCubicFoot) => new Molarity(_value * 6.2427960576144611956325455827221e-5, MolarityUnit.PoundMolePerCubicFoot),
+ (MolarityUnit.MolePerCubicMeter, MolarityUnit.PoundMolePerCubicFoot) => new Molarity(_value / (1000 * 0.45359237 / 0.028316846592), MolarityUnit.PoundMolePerCubicFoot),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/Power.g.cs b/UnitsNet/GeneratedCode/Quantities/Power.g.cs
index 2f6f5454be..61bb453898 100644
--- a/UnitsNet/GeneratedCode/Quantities/Power.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Power.g.cs
@@ -1183,7 +1183,7 @@ private bool TryToUnit(PowerUnit unit, [NotNullWhen(true)] out Power? converted)
{
// PowerUnit -> BaseUnit
(PowerUnit.BoilerHorsepower, PowerUnit.Watt) => new Power(_value * 9812.5m, PowerUnit.Watt),
- (PowerUnit.BritishThermalUnitPerHour, PowerUnit.Watt) => new Power(_value * 0.29307107017m, PowerUnit.Watt),
+ (PowerUnit.BritishThermalUnitPerHour, PowerUnit.Watt) => new Power(_value * 1055.05585262m / 3600m, PowerUnit.Watt),
(PowerUnit.Decawatt, PowerUnit.Watt) => new Power((_value) * 1e1m, PowerUnit.Watt),
(PowerUnit.Deciwatt, PowerUnit.Watt) => new Power((_value) * 1e-1m, PowerUnit.Watt),
(PowerUnit.ElectricalHorsepower, PowerUnit.Watt) => new Power(_value * 746m, PowerUnit.Watt),
@@ -1192,11 +1192,11 @@ private bool TryToUnit(PowerUnit unit, [NotNullWhen(true)] out Power? converted)
(PowerUnit.Gigawatt, PowerUnit.Watt) => new Power((_value) * 1e9m, PowerUnit.Watt),
(PowerUnit.HydraulicHorsepower, PowerUnit.Watt) => new Power(_value * 745.69988145m, PowerUnit.Watt),
(PowerUnit.JoulePerHour, PowerUnit.Watt) => new Power(_value / 3600m, PowerUnit.Watt),
- (PowerUnit.KilobritishThermalUnitPerHour, PowerUnit.Watt) => new Power((_value * 0.29307107017m) * 1e3m, PowerUnit.Watt),
+ (PowerUnit.KilobritishThermalUnitPerHour, PowerUnit.Watt) => new Power((_value * 1055.05585262m / 3600m) * 1e3m, PowerUnit.Watt),
(PowerUnit.KilojoulePerHour, PowerUnit.Watt) => new Power((_value / 3600m) * 1e3m, PowerUnit.Watt),
(PowerUnit.Kilowatt, PowerUnit.Watt) => new Power((_value) * 1e3m, PowerUnit.Watt),
- (PowerUnit.MechanicalHorsepower, PowerUnit.Watt) => new Power(_value * 745.69m, PowerUnit.Watt),
- (PowerUnit.MegabritishThermalUnitPerHour, PowerUnit.Watt) => new Power((_value * 0.29307107017m) * 1e6m, PowerUnit.Watt),
+ (PowerUnit.MechanicalHorsepower, PowerUnit.Watt) => new Power(_value * 76.0402249m * 9.80665m, PowerUnit.Watt),
+ (PowerUnit.MegabritishThermalUnitPerHour, PowerUnit.Watt) => new Power((_value * 1055.05585262m / 3600m) * 1e6m, PowerUnit.Watt),
(PowerUnit.MegajoulePerHour, PowerUnit.Watt) => new Power((_value / 3600m) * 1e6m, PowerUnit.Watt),
(PowerUnit.Megawatt, PowerUnit.Watt) => new Power((_value) * 1e6m, PowerUnit.Watt),
(PowerUnit.MetricHorsepower, PowerUnit.Watt) => new Power(_value * 735.49875m, PowerUnit.Watt),
@@ -1210,7 +1210,7 @@ private bool TryToUnit(PowerUnit unit, [NotNullWhen(true)] out Power? converted)
// BaseUnit -> PowerUnit
(PowerUnit.Watt, PowerUnit.BoilerHorsepower) => new Power(_value / 9812.5m, PowerUnit.BoilerHorsepower),
- (PowerUnit.Watt, PowerUnit.BritishThermalUnitPerHour) => new Power(_value / 0.29307107017m, PowerUnit.BritishThermalUnitPerHour),
+ (PowerUnit.Watt, PowerUnit.BritishThermalUnitPerHour) => new Power(_value * 3600m / 1055.05585262m, PowerUnit.BritishThermalUnitPerHour),
(PowerUnit.Watt, PowerUnit.Decawatt) => new Power((_value) / 1e1m, PowerUnit.Decawatt),
(PowerUnit.Watt, PowerUnit.Deciwatt) => new Power((_value) / 1e-1m, PowerUnit.Deciwatt),
(PowerUnit.Watt, PowerUnit.ElectricalHorsepower) => new Power(_value / 746m, PowerUnit.ElectricalHorsepower),
@@ -1219,11 +1219,11 @@ private bool TryToUnit(PowerUnit unit, [NotNullWhen(true)] out Power? converted)
(PowerUnit.Watt, PowerUnit.Gigawatt) => new Power((_value) / 1e9m, PowerUnit.Gigawatt),
(PowerUnit.Watt, PowerUnit.HydraulicHorsepower) => new Power(_value / 745.69988145m, PowerUnit.HydraulicHorsepower),
(PowerUnit.Watt, PowerUnit.JoulePerHour) => new Power(_value * 3600m, PowerUnit.JoulePerHour),
- (PowerUnit.Watt, PowerUnit.KilobritishThermalUnitPerHour) => new Power((_value / 0.29307107017m) / 1e3m, PowerUnit.KilobritishThermalUnitPerHour),
+ (PowerUnit.Watt, PowerUnit.KilobritishThermalUnitPerHour) => new Power((_value * 3600m / 1055.05585262m) / 1e3m, PowerUnit.KilobritishThermalUnitPerHour),
(PowerUnit.Watt, PowerUnit.KilojoulePerHour) => new Power((_value * 3600m) / 1e3m, PowerUnit.KilojoulePerHour),
(PowerUnit.Watt, PowerUnit.Kilowatt) => new Power((_value) / 1e3m, PowerUnit.Kilowatt),
- (PowerUnit.Watt, PowerUnit.MechanicalHorsepower) => new Power(_value / 745.69m, PowerUnit.MechanicalHorsepower),
- (PowerUnit.Watt, PowerUnit.MegabritishThermalUnitPerHour) => new Power((_value / 0.29307107017m) / 1e6m, PowerUnit.MegabritishThermalUnitPerHour),
+ (PowerUnit.Watt, PowerUnit.MechanicalHorsepower) => new Power(_value / (76.0402249m * 9.80665m), PowerUnit.MechanicalHorsepower),
+ (PowerUnit.Watt, PowerUnit.MegabritishThermalUnitPerHour) => new Power((_value * 3600m / 1055.05585262m) / 1e6m, PowerUnit.MegabritishThermalUnitPerHour),
(PowerUnit.Watt, PowerUnit.MegajoulePerHour) => new Power((_value * 3600m) / 1e6m, PowerUnit.MegajoulePerHour),
(PowerUnit.Watt, PowerUnit.Megawatt) => new Power((_value) / 1e6m, PowerUnit.Megawatt),
(PowerUnit.Watt, PowerUnit.MetricHorsepower) => new Power(_value / 735.49875m, PowerUnit.MetricHorsepower),
diff --git a/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs b/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs
index 1fc636b573..c80b9718b2 100644
--- a/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/PowerDensity.g.cs
@@ -1494,93 +1494,93 @@ private bool TryToUnit(PowerDensityUnit unit, [NotNullWhen(true)] out PowerDensi
PowerDensity? convertedOrNull = (Unit, unit) switch
{
// PowerDensityUnit -> BaseUnit
- (PowerDensityUnit.DecawattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 3.531466672148859e1) * 1e1d, PowerDensityUnit.WattPerCubicMeter),
- (PowerDensityUnit.DecawattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 6.102374409473228e4) * 1e1d, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.DecawattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value / 0.028316846592) * 1e1d, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.DecawattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value / 1.6387064e-5) * 1e1d, PowerDensityUnit.WattPerCubicMeter),
(PowerDensityUnit.DecawattPerCubicMeter, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value) * 1e1d, PowerDensityUnit.WattPerCubicMeter),
(PowerDensityUnit.DecawattPerLiter, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 1.0e3) * 1e1d, PowerDensityUnit.WattPerCubicMeter),
- (PowerDensityUnit.DeciwattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 3.531466672148859e1) * 1e-1d, PowerDensityUnit.WattPerCubicMeter),
- (PowerDensityUnit.DeciwattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 6.102374409473228e4) * 1e-1d, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.DeciwattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value / 0.028316846592) * 1e-1d, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.DeciwattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value / 1.6387064e-5) * 1e-1d, PowerDensityUnit.WattPerCubicMeter),
(PowerDensityUnit.DeciwattPerCubicMeter, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value) * 1e-1d, PowerDensityUnit.WattPerCubicMeter),
(PowerDensityUnit.DeciwattPerLiter, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 1.0e3) * 1e-1d, PowerDensityUnit.WattPerCubicMeter),
- (PowerDensityUnit.GigawattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 3.531466672148859e1) * 1e9d, PowerDensityUnit.WattPerCubicMeter),
- (PowerDensityUnit.GigawattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 6.102374409473228e4) * 1e9d, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.GigawattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value / 0.028316846592) * 1e9d, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.GigawattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value / 1.6387064e-5) * 1e9d, PowerDensityUnit.WattPerCubicMeter),
(PowerDensityUnit.GigawattPerCubicMeter, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value) * 1e9d, PowerDensityUnit.WattPerCubicMeter),
(PowerDensityUnit.GigawattPerLiter, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 1.0e3) * 1e9d, PowerDensityUnit.WattPerCubicMeter),
- (PowerDensityUnit.KilowattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 3.531466672148859e1) * 1e3d, PowerDensityUnit.WattPerCubicMeter),
- (PowerDensityUnit.KilowattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 6.102374409473228e4) * 1e3d, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.KilowattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value / 0.028316846592) * 1e3d, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.KilowattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value / 1.6387064e-5) * 1e3d, PowerDensityUnit.WattPerCubicMeter),
(PowerDensityUnit.KilowattPerCubicMeter, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value) * 1e3d, PowerDensityUnit.WattPerCubicMeter),
(PowerDensityUnit.KilowattPerLiter, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 1.0e3) * 1e3d, PowerDensityUnit.WattPerCubicMeter),
- (PowerDensityUnit.MegawattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 3.531466672148859e1) * 1e6d, PowerDensityUnit.WattPerCubicMeter),
- (PowerDensityUnit.MegawattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 6.102374409473228e4) * 1e6d, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.MegawattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value / 0.028316846592) * 1e6d, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.MegawattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value / 1.6387064e-5) * 1e6d, PowerDensityUnit.WattPerCubicMeter),
(PowerDensityUnit.MegawattPerCubicMeter, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value) * 1e6d, PowerDensityUnit.WattPerCubicMeter),
(PowerDensityUnit.MegawattPerLiter, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 1.0e3) * 1e6d, PowerDensityUnit.WattPerCubicMeter),
- (PowerDensityUnit.MicrowattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 3.531466672148859e1) * 1e-6d, PowerDensityUnit.WattPerCubicMeter),
- (PowerDensityUnit.MicrowattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 6.102374409473228e4) * 1e-6d, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.MicrowattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value / 0.028316846592) * 1e-6d, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.MicrowattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value / 1.6387064e-5) * 1e-6d, PowerDensityUnit.WattPerCubicMeter),
(PowerDensityUnit.MicrowattPerCubicMeter, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value) * 1e-6d, PowerDensityUnit.WattPerCubicMeter),
(PowerDensityUnit.MicrowattPerLiter, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 1.0e3) * 1e-6d, PowerDensityUnit.WattPerCubicMeter),
- (PowerDensityUnit.MilliwattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 3.531466672148859e1) * 1e-3d, PowerDensityUnit.WattPerCubicMeter),
- (PowerDensityUnit.MilliwattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 6.102374409473228e4) * 1e-3d, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.MilliwattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value / 0.028316846592) * 1e-3d, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.MilliwattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value / 1.6387064e-5) * 1e-3d, PowerDensityUnit.WattPerCubicMeter),
(PowerDensityUnit.MilliwattPerCubicMeter, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value) * 1e-3d, PowerDensityUnit.WattPerCubicMeter),
(PowerDensityUnit.MilliwattPerLiter, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 1.0e3) * 1e-3d, PowerDensityUnit.WattPerCubicMeter),
- (PowerDensityUnit.NanowattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 3.531466672148859e1) * 1e-9d, PowerDensityUnit.WattPerCubicMeter),
- (PowerDensityUnit.NanowattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 6.102374409473228e4) * 1e-9d, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.NanowattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value / 0.028316846592) * 1e-9d, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.NanowattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value / 1.6387064e-5) * 1e-9d, PowerDensityUnit.WattPerCubicMeter),
(PowerDensityUnit.NanowattPerCubicMeter, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value) * 1e-9d, PowerDensityUnit.WattPerCubicMeter),
(PowerDensityUnit.NanowattPerLiter, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 1.0e3) * 1e-9d, PowerDensityUnit.WattPerCubicMeter),
- (PowerDensityUnit.PicowattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 3.531466672148859e1) * 1e-12d, PowerDensityUnit.WattPerCubicMeter),
- (PowerDensityUnit.PicowattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 6.102374409473228e4) * 1e-12d, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.PicowattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value / 0.028316846592) * 1e-12d, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.PicowattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value / 1.6387064e-5) * 1e-12d, PowerDensityUnit.WattPerCubicMeter),
(PowerDensityUnit.PicowattPerCubicMeter, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value) * 1e-12d, PowerDensityUnit.WattPerCubicMeter),
(PowerDensityUnit.PicowattPerLiter, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 1.0e3) * 1e-12d, PowerDensityUnit.WattPerCubicMeter),
- (PowerDensityUnit.TerawattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 3.531466672148859e1) * 1e12d, PowerDensityUnit.WattPerCubicMeter),
- (PowerDensityUnit.TerawattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 6.102374409473228e4) * 1e12d, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.TerawattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value / 0.028316846592) * 1e12d, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.TerawattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value / 1.6387064e-5) * 1e12d, PowerDensityUnit.WattPerCubicMeter),
(PowerDensityUnit.TerawattPerCubicMeter, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value) * 1e12d, PowerDensityUnit.WattPerCubicMeter),
(PowerDensityUnit.TerawattPerLiter, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity((_value * 1.0e3) * 1e12d, PowerDensityUnit.WattPerCubicMeter),
- (PowerDensityUnit.WattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity(_value * 3.531466672148859e1, PowerDensityUnit.WattPerCubicMeter),
- (PowerDensityUnit.WattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity(_value * 6.102374409473228e4, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.WattPerCubicFoot, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity(_value / 0.028316846592, PowerDensityUnit.WattPerCubicMeter),
+ (PowerDensityUnit.WattPerCubicInch, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity(_value / 1.6387064e-5, PowerDensityUnit.WattPerCubicMeter),
(PowerDensityUnit.WattPerLiter, PowerDensityUnit.WattPerCubicMeter) => new PowerDensity(_value * 1.0e3, PowerDensityUnit.WattPerCubicMeter),
// BaseUnit -> PowerDensityUnit
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.DecawattPerCubicFoot) => new PowerDensity((_value / 3.531466672148859e1) / 1e1d, PowerDensityUnit.DecawattPerCubicFoot),
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.DecawattPerCubicInch) => new PowerDensity((_value / 6.102374409473228e4) / 1e1d, PowerDensityUnit.DecawattPerCubicInch),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.DecawattPerCubicFoot) => new PowerDensity((_value * 0.028316846592) / 1e1d, PowerDensityUnit.DecawattPerCubicFoot),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.DecawattPerCubicInch) => new PowerDensity((_value * 1.6387064e-5) / 1e1d, PowerDensityUnit.DecawattPerCubicInch),
(PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.DecawattPerCubicMeter) => new PowerDensity((_value) / 1e1d, PowerDensityUnit.DecawattPerCubicMeter),
(PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.DecawattPerLiter) => new PowerDensity((_value / 1.0e3) / 1e1d, PowerDensityUnit.DecawattPerLiter),
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.DeciwattPerCubicFoot) => new PowerDensity((_value / 3.531466672148859e1) / 1e-1d, PowerDensityUnit.DeciwattPerCubicFoot),
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.DeciwattPerCubicInch) => new PowerDensity((_value / 6.102374409473228e4) / 1e-1d, PowerDensityUnit.DeciwattPerCubicInch),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.DeciwattPerCubicFoot) => new PowerDensity((_value * 0.028316846592) / 1e-1d, PowerDensityUnit.DeciwattPerCubicFoot),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.DeciwattPerCubicInch) => new PowerDensity((_value * 1.6387064e-5) / 1e-1d, PowerDensityUnit.DeciwattPerCubicInch),
(PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.DeciwattPerCubicMeter) => new PowerDensity((_value) / 1e-1d, PowerDensityUnit.DeciwattPerCubicMeter),
(PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.DeciwattPerLiter) => new PowerDensity((_value / 1.0e3) / 1e-1d, PowerDensityUnit.DeciwattPerLiter),
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.GigawattPerCubicFoot) => new PowerDensity((_value / 3.531466672148859e1) / 1e9d, PowerDensityUnit.GigawattPerCubicFoot),
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.GigawattPerCubicInch) => new PowerDensity((_value / 6.102374409473228e4) / 1e9d, PowerDensityUnit.GigawattPerCubicInch),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.GigawattPerCubicFoot) => new PowerDensity((_value * 0.028316846592) / 1e9d, PowerDensityUnit.GigawattPerCubicFoot),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.GigawattPerCubicInch) => new PowerDensity((_value * 1.6387064e-5) / 1e9d, PowerDensityUnit.GigawattPerCubicInch),
(PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.GigawattPerCubicMeter) => new PowerDensity((_value) / 1e9d, PowerDensityUnit.GigawattPerCubicMeter),
(PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.GigawattPerLiter) => new PowerDensity((_value / 1.0e3) / 1e9d, PowerDensityUnit.GigawattPerLiter),
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.KilowattPerCubicFoot) => new PowerDensity((_value / 3.531466672148859e1) / 1e3d, PowerDensityUnit.KilowattPerCubicFoot),
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.KilowattPerCubicInch) => new PowerDensity((_value / 6.102374409473228e4) / 1e3d, PowerDensityUnit.KilowattPerCubicInch),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.KilowattPerCubicFoot) => new PowerDensity((_value * 0.028316846592) / 1e3d, PowerDensityUnit.KilowattPerCubicFoot),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.KilowattPerCubicInch) => new PowerDensity((_value * 1.6387064e-5) / 1e3d, PowerDensityUnit.KilowattPerCubicInch),
(PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.KilowattPerCubicMeter) => new PowerDensity((_value) / 1e3d, PowerDensityUnit.KilowattPerCubicMeter),
(PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.KilowattPerLiter) => new PowerDensity((_value / 1.0e3) / 1e3d, PowerDensityUnit.KilowattPerLiter),
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.MegawattPerCubicFoot) => new PowerDensity((_value / 3.531466672148859e1) / 1e6d, PowerDensityUnit.MegawattPerCubicFoot),
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.MegawattPerCubicInch) => new PowerDensity((_value / 6.102374409473228e4) / 1e6d, PowerDensityUnit.MegawattPerCubicInch),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.MegawattPerCubicFoot) => new PowerDensity((_value * 0.028316846592) / 1e6d, PowerDensityUnit.MegawattPerCubicFoot),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.MegawattPerCubicInch) => new PowerDensity((_value * 1.6387064e-5) / 1e6d, PowerDensityUnit.MegawattPerCubicInch),
(PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.MegawattPerCubicMeter) => new PowerDensity((_value) / 1e6d, PowerDensityUnit.MegawattPerCubicMeter),
(PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.MegawattPerLiter) => new PowerDensity((_value / 1.0e3) / 1e6d, PowerDensityUnit.MegawattPerLiter),
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.MicrowattPerCubicFoot) => new PowerDensity((_value / 3.531466672148859e1) / 1e-6d, PowerDensityUnit.MicrowattPerCubicFoot),
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.MicrowattPerCubicInch) => new PowerDensity((_value / 6.102374409473228e4) / 1e-6d, PowerDensityUnit.MicrowattPerCubicInch),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.MicrowattPerCubicFoot) => new PowerDensity((_value * 0.028316846592) / 1e-6d, PowerDensityUnit.MicrowattPerCubicFoot),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.MicrowattPerCubicInch) => new PowerDensity((_value * 1.6387064e-5) / 1e-6d, PowerDensityUnit.MicrowattPerCubicInch),
(PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.MicrowattPerCubicMeter) => new PowerDensity((_value) / 1e-6d, PowerDensityUnit.MicrowattPerCubicMeter),
(PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.MicrowattPerLiter) => new PowerDensity((_value / 1.0e3) / 1e-6d, PowerDensityUnit.MicrowattPerLiter),
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.MilliwattPerCubicFoot) => new PowerDensity((_value / 3.531466672148859e1) / 1e-3d, PowerDensityUnit.MilliwattPerCubicFoot),
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.MilliwattPerCubicInch) => new PowerDensity((_value / 6.102374409473228e4) / 1e-3d, PowerDensityUnit.MilliwattPerCubicInch),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.MilliwattPerCubicFoot) => new PowerDensity((_value * 0.028316846592) / 1e-3d, PowerDensityUnit.MilliwattPerCubicFoot),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.MilliwattPerCubicInch) => new PowerDensity((_value * 1.6387064e-5) / 1e-3d, PowerDensityUnit.MilliwattPerCubicInch),
(PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.MilliwattPerCubicMeter) => new PowerDensity((_value) / 1e-3d, PowerDensityUnit.MilliwattPerCubicMeter),
(PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.MilliwattPerLiter) => new PowerDensity((_value / 1.0e3) / 1e-3d, PowerDensityUnit.MilliwattPerLiter),
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.NanowattPerCubicFoot) => new PowerDensity((_value / 3.531466672148859e1) / 1e-9d, PowerDensityUnit.NanowattPerCubicFoot),
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.NanowattPerCubicInch) => new PowerDensity((_value / 6.102374409473228e4) / 1e-9d, PowerDensityUnit.NanowattPerCubicInch),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.NanowattPerCubicFoot) => new PowerDensity((_value * 0.028316846592) / 1e-9d, PowerDensityUnit.NanowattPerCubicFoot),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.NanowattPerCubicInch) => new PowerDensity((_value * 1.6387064e-5) / 1e-9d, PowerDensityUnit.NanowattPerCubicInch),
(PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.NanowattPerCubicMeter) => new PowerDensity((_value) / 1e-9d, PowerDensityUnit.NanowattPerCubicMeter),
(PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.NanowattPerLiter) => new PowerDensity((_value / 1.0e3) / 1e-9d, PowerDensityUnit.NanowattPerLiter),
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.PicowattPerCubicFoot) => new PowerDensity((_value / 3.531466672148859e1) / 1e-12d, PowerDensityUnit.PicowattPerCubicFoot),
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.PicowattPerCubicInch) => new PowerDensity((_value / 6.102374409473228e4) / 1e-12d, PowerDensityUnit.PicowattPerCubicInch),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.PicowattPerCubicFoot) => new PowerDensity((_value * 0.028316846592) / 1e-12d, PowerDensityUnit.PicowattPerCubicFoot),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.PicowattPerCubicInch) => new PowerDensity((_value * 1.6387064e-5) / 1e-12d, PowerDensityUnit.PicowattPerCubicInch),
(PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.PicowattPerCubicMeter) => new PowerDensity((_value) / 1e-12d, PowerDensityUnit.PicowattPerCubicMeter),
(PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.PicowattPerLiter) => new PowerDensity((_value / 1.0e3) / 1e-12d, PowerDensityUnit.PicowattPerLiter),
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.TerawattPerCubicFoot) => new PowerDensity((_value / 3.531466672148859e1) / 1e12d, PowerDensityUnit.TerawattPerCubicFoot),
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.TerawattPerCubicInch) => new PowerDensity((_value / 6.102374409473228e4) / 1e12d, PowerDensityUnit.TerawattPerCubicInch),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.TerawattPerCubicFoot) => new PowerDensity((_value * 0.028316846592) / 1e12d, PowerDensityUnit.TerawattPerCubicFoot),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.TerawattPerCubicInch) => new PowerDensity((_value * 1.6387064e-5) / 1e12d, PowerDensityUnit.TerawattPerCubicInch),
(PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.TerawattPerCubicMeter) => new PowerDensity((_value) / 1e12d, PowerDensityUnit.TerawattPerCubicMeter),
(PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.TerawattPerLiter) => new PowerDensity((_value / 1.0e3) / 1e12d, PowerDensityUnit.TerawattPerLiter),
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.WattPerCubicFoot) => new PowerDensity(_value / 3.531466672148859e1, PowerDensityUnit.WattPerCubicFoot),
- (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.WattPerCubicInch) => new PowerDensity(_value / 6.102374409473228e4, PowerDensityUnit.WattPerCubicInch),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.WattPerCubicFoot) => new PowerDensity(_value * 0.028316846592, PowerDensityUnit.WattPerCubicFoot),
+ (PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.WattPerCubicInch) => new PowerDensity(_value * 1.6387064e-5, PowerDensityUnit.WattPerCubicInch),
(PowerDensityUnit.WattPerCubicMeter, PowerDensityUnit.WattPerLiter) => new PowerDensity(_value / 1.0e3, PowerDensityUnit.WattPerLiter),
_ => null
diff --git a/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs b/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs
index abe4cfc758..9c7fe324e5 100644
--- a/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Pressure.g.cs
@@ -1587,7 +1587,7 @@ private bool TryToUnit(PressureUnit unit, [NotNullWhen(true)] out Pressure? conv
(PressureUnit.Atmosphere, PressureUnit.Pascal) => new Pressure(_value * 1.01325 * 1e5, PressureUnit.Pascal),
(PressureUnit.Bar, PressureUnit.Pascal) => new Pressure(_value * 1e5, PressureUnit.Pascal),
(PressureUnit.Centibar, PressureUnit.Pascal) => new Pressure((_value * 1e5) * 1e-2d, PressureUnit.Pascal),
- (PressureUnit.CentimeterOfWaterColumn, PressureUnit.Pascal) => new Pressure((_value * 9.806650000000272e3) * 1e-2d, PressureUnit.Pascal),
+ (PressureUnit.CentimeterOfWaterColumn, PressureUnit.Pascal) => new Pressure((_value * 9.80665e3) * 1e-2d, PressureUnit.Pascal),
(PressureUnit.Decapascal, PressureUnit.Pascal) => new Pressure((_value) * 1e1d, PressureUnit.Pascal),
(PressureUnit.Decibar, PressureUnit.Pascal) => new Pressure((_value * 1e5) * 1e-1d, PressureUnit.Pascal),
(PressureUnit.DynePerSquareCentimeter, PressureUnit.Pascal) => new Pressure(_value * 1.0e-1, PressureUnit.Pascal),
@@ -1595,49 +1595,49 @@ private bool TryToUnit(PressureUnit unit, [NotNullWhen(true)] out Pressure? conv
(PressureUnit.FootOfHead, PressureUnit.Pascal) => new Pressure(_value * 2989.0669, PressureUnit.Pascal),
(PressureUnit.Gigapascal, PressureUnit.Pascal) => new Pressure((_value) * 1e9d, PressureUnit.Pascal),
(PressureUnit.Hectopascal, PressureUnit.Pascal) => new Pressure((_value) * 1e2d, PressureUnit.Pascal),
- (PressureUnit.InchOfMercury, PressureUnit.Pascal) => new Pressure(_value / 2.95299830714159e-4, PressureUnit.Pascal),
- (PressureUnit.InchOfWaterColumn, PressureUnit.Pascal) => new Pressure(_value * 249.08890833333, PressureUnit.Pascal),
+ (PressureUnit.InchOfMercury, PressureUnit.Pascal) => new Pressure(_value * 2.54e1 * 133.322387415, PressureUnit.Pascal),
+ (PressureUnit.InchOfWaterColumn, PressureUnit.Pascal) => new Pressure(_value * 2.54e-2 * 9.80665e3, PressureUnit.Pascal),
(PressureUnit.Kilobar, PressureUnit.Pascal) => new Pressure((_value * 1e5) * 1e3d, PressureUnit.Pascal),
(PressureUnit.KilogramForcePerSquareCentimeter, PressureUnit.Pascal) => new Pressure(_value * 9.80665e4, PressureUnit.Pascal),
- (PressureUnit.KilogramForcePerSquareMeter, PressureUnit.Pascal) => new Pressure(_value * 9.80665019960652, PressureUnit.Pascal),
+ (PressureUnit.KilogramForcePerSquareMeter, PressureUnit.Pascal) => new Pressure(_value * 9.80665, PressureUnit.Pascal),
(PressureUnit.KilogramForcePerSquareMillimeter, PressureUnit.Pascal) => new Pressure(_value * 9.80665e6, PressureUnit.Pascal),
(PressureUnit.KilonewtonPerSquareCentimeter, PressureUnit.Pascal) => new Pressure((_value * 1e4) * 1e3d, PressureUnit.Pascal),
(PressureUnit.KilonewtonPerSquareMeter, PressureUnit.Pascal) => new Pressure((_value) * 1e3d, PressureUnit.Pascal),
(PressureUnit.KilonewtonPerSquareMillimeter, PressureUnit.Pascal) => new Pressure((_value * 1e6) * 1e3d, PressureUnit.Pascal),
(PressureUnit.Kilopascal, PressureUnit.Pascal) => new Pressure((_value) * 1e3d, PressureUnit.Pascal),
- (PressureUnit.KilopoundForcePerSquareFoot, PressureUnit.Pascal) => new Pressure((_value * 4.788025898033584e1) * 1e3d, PressureUnit.Pascal),
- (PressureUnit.KilopoundForcePerSquareInch, PressureUnit.Pascal) => new Pressure((_value * 6.894757293168361e3) * 1e3d, PressureUnit.Pascal),
- (PressureUnit.KilopoundForcePerSquareMil, PressureUnit.Pascal) => new Pressure((_value * 6.894757293168361e9) * 1e3d, PressureUnit.Pascal),
+ (PressureUnit.KilopoundForcePerSquareFoot, PressureUnit.Pascal) => new Pressure((_value * 4.4482216152605 / 9.290304e-2) * 1e3d, PressureUnit.Pascal),
+ (PressureUnit.KilopoundForcePerSquareInch, PressureUnit.Pascal) => new Pressure((_value * 4.4482216152605 / 0.00064516) * 1e3d, PressureUnit.Pascal),
+ (PressureUnit.KilopoundForcePerSquareMil, PressureUnit.Pascal) => new Pressure((_value * 4.4482216152605 / (2.54e-5 * 2.54e-5)) * 1e3d, PressureUnit.Pascal),
(PressureUnit.Megabar, PressureUnit.Pascal) => new Pressure((_value * 1e5) * 1e6d, PressureUnit.Pascal),
(PressureUnit.MeganewtonPerSquareMeter, PressureUnit.Pascal) => new Pressure((_value) * 1e6d, PressureUnit.Pascal),
(PressureUnit.Megapascal, PressureUnit.Pascal) => new Pressure((_value) * 1e6d, PressureUnit.Pascal),
(PressureUnit.MeterOfElevation, PressureUnit.Pascal) => new Pressure(Math.Pow(1.0 - (_value / 44307.69396), 5.2553026003237266401799415610351) * 101325.0, PressureUnit.Pascal),
(PressureUnit.MeterOfHead, PressureUnit.Pascal) => new Pressure(_value * 9804.139432, PressureUnit.Pascal),
- (PressureUnit.MeterOfWaterColumn, PressureUnit.Pascal) => new Pressure(_value * 9.806650000000272e3, PressureUnit.Pascal),
+ (PressureUnit.MeterOfWaterColumn, PressureUnit.Pascal) => new Pressure(_value * 9.80665e3, PressureUnit.Pascal),
(PressureUnit.Microbar, PressureUnit.Pascal) => new Pressure((_value * 1e5) * 1e-6d, PressureUnit.Pascal),
(PressureUnit.Micropascal, PressureUnit.Pascal) => new Pressure((_value) * 1e-6d, PressureUnit.Pascal),
(PressureUnit.Millibar, PressureUnit.Pascal) => new Pressure((_value * 1e5) * 1e-3d, PressureUnit.Pascal),
- (PressureUnit.MillimeterOfMercury, PressureUnit.Pascal) => new Pressure(_value / 7.50061561302643e-3, PressureUnit.Pascal),
- (PressureUnit.MillimeterOfWaterColumn, PressureUnit.Pascal) => new Pressure((_value * 9.806650000000272e3) * 1e-3d, PressureUnit.Pascal),
+ (PressureUnit.MillimeterOfMercury, PressureUnit.Pascal) => new Pressure(_value * 133.322387415, PressureUnit.Pascal),
+ (PressureUnit.MillimeterOfWaterColumn, PressureUnit.Pascal) => new Pressure((_value * 9.80665e3) * 1e-3d, PressureUnit.Pascal),
(PressureUnit.Millipascal, PressureUnit.Pascal) => new Pressure((_value) * 1e-3d, PressureUnit.Pascal),
(PressureUnit.NewtonPerSquareCentimeter, PressureUnit.Pascal) => new Pressure(_value * 1e4, PressureUnit.Pascal),
(PressureUnit.NewtonPerSquareMeter, PressureUnit.Pascal) => new Pressure(_value, PressureUnit.Pascal),
(PressureUnit.NewtonPerSquareMillimeter, PressureUnit.Pascal) => new Pressure(_value * 1e6, PressureUnit.Pascal),
- (PressureUnit.PoundForcePerSquareFoot, PressureUnit.Pascal) => new Pressure(_value * 4.788025898033584e1, PressureUnit.Pascal),
- (PressureUnit.PoundForcePerSquareInch, PressureUnit.Pascal) => new Pressure(_value * 6.894757293168361e3, PressureUnit.Pascal),
- (PressureUnit.PoundForcePerSquareMil, PressureUnit.Pascal) => new Pressure(_value * 6.894757293168361e9, PressureUnit.Pascal),
- (PressureUnit.PoundPerInchSecondSquared, PressureUnit.Pascal) => new Pressure(_value * 1.785796732283465e1, PressureUnit.Pascal),
- (PressureUnit.TechnicalAtmosphere, PressureUnit.Pascal) => new Pressure(_value * 9.80680592331 * 1e4, PressureUnit.Pascal),
+ (PressureUnit.PoundForcePerSquareFoot, PressureUnit.Pascal) => new Pressure(_value * 4.4482216152605 / 9.290304e-2, PressureUnit.Pascal),
+ (PressureUnit.PoundForcePerSquareInch, PressureUnit.Pascal) => new Pressure(_value * 4.4482216152605 / 0.00064516, PressureUnit.Pascal),
+ (PressureUnit.PoundForcePerSquareMil, PressureUnit.Pascal) => new Pressure(_value * 4.4482216152605 / (2.54e-5 * 2.54e-5), PressureUnit.Pascal),
+ (PressureUnit.PoundPerInchSecondSquared, PressureUnit.Pascal) => new Pressure(_value * (4.4482216152605 / 0.00064516) / 386.0886, PressureUnit.Pascal),
+ (PressureUnit.TechnicalAtmosphere, PressureUnit.Pascal) => new Pressure(_value * 9.80665e4, PressureUnit.Pascal),
(PressureUnit.TonneForcePerSquareCentimeter, PressureUnit.Pascal) => new Pressure(_value * 9.80665e7, PressureUnit.Pascal),
(PressureUnit.TonneForcePerSquareMeter, PressureUnit.Pascal) => new Pressure(_value * 9.80665e3, PressureUnit.Pascal),
(PressureUnit.TonneForcePerSquareMillimeter, PressureUnit.Pascal) => new Pressure(_value * 9.80665e9, PressureUnit.Pascal),
- (PressureUnit.Torr, PressureUnit.Pascal) => new Pressure(_value * 1.3332266752 * 1e2, PressureUnit.Pascal),
+ (PressureUnit.Torr, PressureUnit.Pascal) => new Pressure(_value * 101325 / 760, PressureUnit.Pascal),
// BaseUnit -> PressureUnit
(PressureUnit.Pascal, PressureUnit.Atmosphere) => new Pressure(_value / (1.01325 * 1e5), PressureUnit.Atmosphere),
(PressureUnit.Pascal, PressureUnit.Bar) => new Pressure(_value / 1e5, PressureUnit.Bar),
(PressureUnit.Pascal, PressureUnit.Centibar) => new Pressure((_value / 1e5) / 1e-2d, PressureUnit.Centibar),
- (PressureUnit.Pascal, PressureUnit.CentimeterOfWaterColumn) => new Pressure((_value / 9.806650000000272e3) / 1e-2d, PressureUnit.CentimeterOfWaterColumn),
+ (PressureUnit.Pascal, PressureUnit.CentimeterOfWaterColumn) => new Pressure((_value / 9.80665e3) / 1e-2d, PressureUnit.CentimeterOfWaterColumn),
(PressureUnit.Pascal, PressureUnit.Decapascal) => new Pressure((_value) / 1e1d, PressureUnit.Decapascal),
(PressureUnit.Pascal, PressureUnit.Decibar) => new Pressure((_value / 1e5) / 1e-1d, PressureUnit.Decibar),
(PressureUnit.Pascal, PressureUnit.DynePerSquareCentimeter) => new Pressure(_value / 1.0e-1, PressureUnit.DynePerSquareCentimeter),
@@ -1645,43 +1645,43 @@ private bool TryToUnit(PressureUnit unit, [NotNullWhen(true)] out Pressure? conv
(PressureUnit.Pascal, PressureUnit.FootOfHead) => new Pressure(_value * 0.000334552565551, PressureUnit.FootOfHead),
(PressureUnit.Pascal, PressureUnit.Gigapascal) => new Pressure((_value) / 1e9d, PressureUnit.Gigapascal),
(PressureUnit.Pascal, PressureUnit.Hectopascal) => new Pressure((_value) / 1e2d, PressureUnit.Hectopascal),
- (PressureUnit.Pascal, PressureUnit.InchOfMercury) => new Pressure(_value * 2.95299830714159e-4, PressureUnit.InchOfMercury),
- (PressureUnit.Pascal, PressureUnit.InchOfWaterColumn) => new Pressure(_value / 249.08890833333, PressureUnit.InchOfWaterColumn),
+ (PressureUnit.Pascal, PressureUnit.InchOfMercury) => new Pressure(_value / (2.54e1 * 133.322387415), PressureUnit.InchOfMercury),
+ (PressureUnit.Pascal, PressureUnit.InchOfWaterColumn) => new Pressure(_value / (2.54e-2 * 9.80665e3), PressureUnit.InchOfWaterColumn),
(PressureUnit.Pascal, PressureUnit.Kilobar) => new Pressure((_value / 1e5) / 1e3d, PressureUnit.Kilobar),
(PressureUnit.Pascal, PressureUnit.KilogramForcePerSquareCentimeter) => new Pressure(_value / 9.80665e4, PressureUnit.KilogramForcePerSquareCentimeter),
- (PressureUnit.Pascal, PressureUnit.KilogramForcePerSquareMeter) => new Pressure(_value * 0.101971619222242, PressureUnit.KilogramForcePerSquareMeter),
+ (PressureUnit.Pascal, PressureUnit.KilogramForcePerSquareMeter) => new Pressure(_value / 9.80665, PressureUnit.KilogramForcePerSquareMeter),
(PressureUnit.Pascal, PressureUnit.KilogramForcePerSquareMillimeter) => new Pressure(_value / 9.80665e6, PressureUnit.KilogramForcePerSquareMillimeter),
(PressureUnit.Pascal, PressureUnit.KilonewtonPerSquareCentimeter) => new Pressure((_value / 1e4) / 1e3d, PressureUnit.KilonewtonPerSquareCentimeter),
(PressureUnit.Pascal, PressureUnit.KilonewtonPerSquareMeter) => new Pressure((_value) / 1e3d, PressureUnit.KilonewtonPerSquareMeter),
(PressureUnit.Pascal, PressureUnit.KilonewtonPerSquareMillimeter) => new Pressure((_value / 1e6) / 1e3d, PressureUnit.KilonewtonPerSquareMillimeter),
(PressureUnit.Pascal, PressureUnit.Kilopascal) => new Pressure((_value) / 1e3d, PressureUnit.Kilopascal),
- (PressureUnit.Pascal, PressureUnit.KilopoundForcePerSquareFoot) => new Pressure((_value / 4.788025898033584e1) / 1e3d, PressureUnit.KilopoundForcePerSquareFoot),
- (PressureUnit.Pascal, PressureUnit.KilopoundForcePerSquareInch) => new Pressure((_value / 6.894757293168361e3) / 1e3d, PressureUnit.KilopoundForcePerSquareInch),
- (PressureUnit.Pascal, PressureUnit.KilopoundForcePerSquareMil) => new Pressure((_value / 6.894757293168361e9) / 1e3d, PressureUnit.KilopoundForcePerSquareMil),
+ (PressureUnit.Pascal, PressureUnit.KilopoundForcePerSquareFoot) => new Pressure((_value * 9.290304e-2 / 4.4482216152605) / 1e3d, PressureUnit.KilopoundForcePerSquareFoot),
+ (PressureUnit.Pascal, PressureUnit.KilopoundForcePerSquareInch) => new Pressure((_value * 0.00064516 / 4.4482216152605) / 1e3d, PressureUnit.KilopoundForcePerSquareInch),
+ (PressureUnit.Pascal, PressureUnit.KilopoundForcePerSquareMil) => new Pressure((_value * (2.54e-5 * 2.54e-5) / 4.4482216152605) / 1e3d, PressureUnit.KilopoundForcePerSquareMil),
(PressureUnit.Pascal, PressureUnit.Megabar) => new Pressure((_value / 1e5) / 1e6d, PressureUnit.Megabar),
(PressureUnit.Pascal, PressureUnit.MeganewtonPerSquareMeter) => new Pressure((_value) / 1e6d, PressureUnit.MeganewtonPerSquareMeter),
(PressureUnit.Pascal, PressureUnit.Megapascal) => new Pressure((_value) / 1e6d, PressureUnit.Megapascal),
(PressureUnit.Pascal, PressureUnit.MeterOfElevation) => new Pressure((1.0 - Math.Pow(_value / 101325.0, 0.190284)) * 44307.69396, PressureUnit.MeterOfElevation),
(PressureUnit.Pascal, PressureUnit.MeterOfHead) => new Pressure(_value * 0.0001019977334, PressureUnit.MeterOfHead),
- (PressureUnit.Pascal, PressureUnit.MeterOfWaterColumn) => new Pressure(_value / 9.806650000000272e3, PressureUnit.MeterOfWaterColumn),
+ (PressureUnit.Pascal, PressureUnit.MeterOfWaterColumn) => new Pressure(_value / 9.80665e3, PressureUnit.MeterOfWaterColumn),
(PressureUnit.Pascal, PressureUnit.Microbar) => new Pressure((_value / 1e5) / 1e-6d, PressureUnit.Microbar),
(PressureUnit.Pascal, PressureUnit.Micropascal) => new Pressure((_value) / 1e-6d, PressureUnit.Micropascal),
(PressureUnit.Pascal, PressureUnit.Millibar) => new Pressure((_value / 1e5) / 1e-3d, PressureUnit.Millibar),
- (PressureUnit.Pascal, PressureUnit.MillimeterOfMercury) => new Pressure(_value * 7.50061561302643e-3, PressureUnit.MillimeterOfMercury),
- (PressureUnit.Pascal, PressureUnit.MillimeterOfWaterColumn) => new Pressure((_value / 9.806650000000272e3) / 1e-3d, PressureUnit.MillimeterOfWaterColumn),
+ (PressureUnit.Pascal, PressureUnit.MillimeterOfMercury) => new Pressure(_value / 133.322387415, PressureUnit.MillimeterOfMercury),
+ (PressureUnit.Pascal, PressureUnit.MillimeterOfWaterColumn) => new Pressure((_value / 9.80665e3) / 1e-3d, PressureUnit.MillimeterOfWaterColumn),
(PressureUnit.Pascal, PressureUnit.Millipascal) => new Pressure((_value) / 1e-3d, PressureUnit.Millipascal),
(PressureUnit.Pascal, PressureUnit.NewtonPerSquareCentimeter) => new Pressure(_value / 1e4, PressureUnit.NewtonPerSquareCentimeter),
(PressureUnit.Pascal, PressureUnit.NewtonPerSquareMeter) => new Pressure(_value, PressureUnit.NewtonPerSquareMeter),
(PressureUnit.Pascal, PressureUnit.NewtonPerSquareMillimeter) => new Pressure(_value / 1e6, PressureUnit.NewtonPerSquareMillimeter),
- (PressureUnit.Pascal, PressureUnit.PoundForcePerSquareFoot) => new Pressure(_value / 4.788025898033584e1, PressureUnit.PoundForcePerSquareFoot),
- (PressureUnit.Pascal, PressureUnit.PoundForcePerSquareInch) => new Pressure(_value / 6.894757293168361e3, PressureUnit.PoundForcePerSquareInch),
- (PressureUnit.Pascal, PressureUnit.PoundForcePerSquareMil) => new Pressure(_value / 6.894757293168361e9, PressureUnit.PoundForcePerSquareMil),
- (PressureUnit.Pascal, PressureUnit.PoundPerInchSecondSquared) => new Pressure(_value / 1.785796732283465e1, PressureUnit.PoundPerInchSecondSquared),
- (PressureUnit.Pascal, PressureUnit.TechnicalAtmosphere) => new Pressure(_value / (9.80680592331 * 1e4), PressureUnit.TechnicalAtmosphere),
+ (PressureUnit.Pascal, PressureUnit.PoundForcePerSquareFoot) => new Pressure(_value * 9.290304e-2 / 4.4482216152605, PressureUnit.PoundForcePerSquareFoot),
+ (PressureUnit.Pascal, PressureUnit.PoundForcePerSquareInch) => new Pressure(_value * 0.00064516 / 4.4482216152605, PressureUnit.PoundForcePerSquareInch),
+ (PressureUnit.Pascal, PressureUnit.PoundForcePerSquareMil) => new Pressure(_value * (2.54e-5 * 2.54e-5) / 4.4482216152605, PressureUnit.PoundForcePerSquareMil),
+ (PressureUnit.Pascal, PressureUnit.PoundPerInchSecondSquared) => new Pressure(_value * 386.0886 / (4.4482216152605 / 0.00064516), PressureUnit.PoundPerInchSecondSquared),
+ (PressureUnit.Pascal, PressureUnit.TechnicalAtmosphere) => new Pressure(_value / 9.80665e4, PressureUnit.TechnicalAtmosphere),
(PressureUnit.Pascal, PressureUnit.TonneForcePerSquareCentimeter) => new Pressure(_value / 9.80665e7, PressureUnit.TonneForcePerSquareCentimeter),
(PressureUnit.Pascal, PressureUnit.TonneForcePerSquareMeter) => new Pressure(_value / 9.80665e3, PressureUnit.TonneForcePerSquareMeter),
(PressureUnit.Pascal, PressureUnit.TonneForcePerSquareMillimeter) => new Pressure(_value / 9.80665e9, PressureUnit.TonneForcePerSquareMillimeter),
- (PressureUnit.Pascal, PressureUnit.Torr) => new Pressure(_value / (1.3332266752 * 1e2), PressureUnit.Torr),
+ (PressureUnit.Pascal, PressureUnit.Torr) => new Pressure(_value * 760 / 101325, PressureUnit.Torr),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs b/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs
index 86b0ea3e19..a9dd35a76a 100644
--- a/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/PressureChangeRate.g.cs
@@ -1031,18 +1031,18 @@ private bool TryToUnit(PressureChangeRateUnit unit, [NotNullWhen(true)] out Pres
(PressureChangeRateUnit.BarPerSecond, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate(_value * 1e5, PressureChangeRateUnit.PascalPerSecond),
(PressureChangeRateUnit.KilopascalPerMinute, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate((_value / 60) * 1e3d, PressureChangeRateUnit.PascalPerSecond),
(PressureChangeRateUnit.KilopascalPerSecond, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate((_value) * 1e3d, PressureChangeRateUnit.PascalPerSecond),
- (PressureChangeRateUnit.KilopoundForcePerSquareInchPerMinute, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate((_value * 6.894757293168361e3 / 60) * 1e3d, PressureChangeRateUnit.PascalPerSecond),
- (PressureChangeRateUnit.KilopoundForcePerSquareInchPerSecond, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate((_value * 6.894757293168361e3) * 1e3d, PressureChangeRateUnit.PascalPerSecond),
+ (PressureChangeRateUnit.KilopoundForcePerSquareInchPerMinute, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate((_value * (4.4482216152605 / 0.00064516) / 60) * 1e3d, PressureChangeRateUnit.PascalPerSecond),
+ (PressureChangeRateUnit.KilopoundForcePerSquareInchPerSecond, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate((_value * 4.4482216152605 / 0.00064516) * 1e3d, PressureChangeRateUnit.PascalPerSecond),
(PressureChangeRateUnit.MegapascalPerMinute, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate((_value / 60) * 1e6d, PressureChangeRateUnit.PascalPerSecond),
(PressureChangeRateUnit.MegapascalPerSecond, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate((_value) * 1e6d, PressureChangeRateUnit.PascalPerSecond),
- (PressureChangeRateUnit.MegapoundForcePerSquareInchPerMinute, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate((_value * 6.894757293168361e3 / 60) * 1e6d, PressureChangeRateUnit.PascalPerSecond),
- (PressureChangeRateUnit.MegapoundForcePerSquareInchPerSecond, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate((_value * 6.894757293168361e3) * 1e6d, PressureChangeRateUnit.PascalPerSecond),
+ (PressureChangeRateUnit.MegapoundForcePerSquareInchPerMinute, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate((_value * (4.4482216152605 / 0.00064516) / 60) * 1e6d, PressureChangeRateUnit.PascalPerSecond),
+ (PressureChangeRateUnit.MegapoundForcePerSquareInchPerSecond, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate((_value * 4.4482216152605 / 0.00064516) * 1e6d, PressureChangeRateUnit.PascalPerSecond),
(PressureChangeRateUnit.MillibarPerMinute, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate((_value * 1e5 / 60) * 1e-3d, PressureChangeRateUnit.PascalPerSecond),
(PressureChangeRateUnit.MillibarPerSecond, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate((_value * 1e5) * 1e-3d, PressureChangeRateUnit.PascalPerSecond),
- (PressureChangeRateUnit.MillimeterOfMercuryPerSecond, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate(_value * 133.322, PressureChangeRateUnit.PascalPerSecond),
+ (PressureChangeRateUnit.MillimeterOfMercuryPerSecond, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate(_value * 133.322387415, PressureChangeRateUnit.PascalPerSecond),
(PressureChangeRateUnit.PascalPerMinute, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate(_value / 60, PressureChangeRateUnit.PascalPerSecond),
- (PressureChangeRateUnit.PoundForcePerSquareInchPerMinute, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate(_value * 6.894757293168361e3 / 60, PressureChangeRateUnit.PascalPerSecond),
- (PressureChangeRateUnit.PoundForcePerSquareInchPerSecond, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate(_value * 6.894757293168361e3, PressureChangeRateUnit.PascalPerSecond),
+ (PressureChangeRateUnit.PoundForcePerSquareInchPerMinute, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate(_value * (4.4482216152605 / 0.00064516) / 60, PressureChangeRateUnit.PascalPerSecond),
+ (PressureChangeRateUnit.PoundForcePerSquareInchPerSecond, PressureChangeRateUnit.PascalPerSecond) => new PressureChangeRate(_value * 4.4482216152605 / 0.00064516, PressureChangeRateUnit.PascalPerSecond),
// BaseUnit -> PressureChangeRateUnit
(PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.AtmospherePerSecond) => new PressureChangeRate(_value / (1.01325 * 1e5), PressureChangeRateUnit.AtmospherePerSecond),
@@ -1050,18 +1050,18 @@ private bool TryToUnit(PressureChangeRateUnit unit, [NotNullWhen(true)] out Pres
(PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.BarPerSecond) => new PressureChangeRate(_value / 1e5, PressureChangeRateUnit.BarPerSecond),
(PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.KilopascalPerMinute) => new PressureChangeRate((_value * 60) / 1e3d, PressureChangeRateUnit.KilopascalPerMinute),
(PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.KilopascalPerSecond) => new PressureChangeRate((_value) / 1e3d, PressureChangeRateUnit.KilopascalPerSecond),
- (PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.KilopoundForcePerSquareInchPerMinute) => new PressureChangeRate((_value / 6.894757293168361e3 * 60) / 1e3d, PressureChangeRateUnit.KilopoundForcePerSquareInchPerMinute),
- (PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.KilopoundForcePerSquareInchPerSecond) => new PressureChangeRate((_value / 6.894757293168361e3) / 1e3d, PressureChangeRateUnit.KilopoundForcePerSquareInchPerSecond),
+ (PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.KilopoundForcePerSquareInchPerMinute) => new PressureChangeRate((_value * 60 / (4.4482216152605 / 0.00064516)) / 1e3d, PressureChangeRateUnit.KilopoundForcePerSquareInchPerMinute),
+ (PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.KilopoundForcePerSquareInchPerSecond) => new PressureChangeRate((_value * 0.00064516 / 4.4482216152605) / 1e3d, PressureChangeRateUnit.KilopoundForcePerSquareInchPerSecond),
(PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.MegapascalPerMinute) => new PressureChangeRate((_value * 60) / 1e6d, PressureChangeRateUnit.MegapascalPerMinute),
(PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.MegapascalPerSecond) => new PressureChangeRate((_value) / 1e6d, PressureChangeRateUnit.MegapascalPerSecond),
- (PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.MegapoundForcePerSquareInchPerMinute) => new PressureChangeRate((_value / 6.894757293168361e3 * 60) / 1e6d, PressureChangeRateUnit.MegapoundForcePerSquareInchPerMinute),
- (PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.MegapoundForcePerSquareInchPerSecond) => new PressureChangeRate((_value / 6.894757293168361e3) / 1e6d, PressureChangeRateUnit.MegapoundForcePerSquareInchPerSecond),
+ (PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.MegapoundForcePerSquareInchPerMinute) => new PressureChangeRate((_value * 60 / (4.4482216152605 / 0.00064516)) / 1e6d, PressureChangeRateUnit.MegapoundForcePerSquareInchPerMinute),
+ (PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.MegapoundForcePerSquareInchPerSecond) => new PressureChangeRate((_value * 0.00064516 / 4.4482216152605) / 1e6d, PressureChangeRateUnit.MegapoundForcePerSquareInchPerSecond),
(PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.MillibarPerMinute) => new PressureChangeRate((_value / 1e5 * 60) / 1e-3d, PressureChangeRateUnit.MillibarPerMinute),
(PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.MillibarPerSecond) => new PressureChangeRate((_value / 1e5) / 1e-3d, PressureChangeRateUnit.MillibarPerSecond),
- (PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.MillimeterOfMercuryPerSecond) => new PressureChangeRate(_value / 133.322, PressureChangeRateUnit.MillimeterOfMercuryPerSecond),
+ (PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.MillimeterOfMercuryPerSecond) => new PressureChangeRate(_value / 133.322387415, PressureChangeRateUnit.MillimeterOfMercuryPerSecond),
(PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.PascalPerMinute) => new PressureChangeRate(_value * 60, PressureChangeRateUnit.PascalPerMinute),
- (PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.PoundForcePerSquareInchPerMinute) => new PressureChangeRate(_value / 6.894757293168361e3 * 60, PressureChangeRateUnit.PoundForcePerSquareInchPerMinute),
- (PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.PoundForcePerSquareInchPerSecond) => new PressureChangeRate(_value / 6.894757293168361e3, PressureChangeRateUnit.PoundForcePerSquareInchPerSecond),
+ (PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.PoundForcePerSquareInchPerMinute) => new PressureChangeRate(_value * 60 / (4.4482216152605 / 0.00064516), PressureChangeRateUnit.PoundForcePerSquareInchPerMinute),
+ (PressureChangeRateUnit.PascalPerSecond, PressureChangeRateUnit.PoundForcePerSquareInchPerSecond) => new PressureChangeRate(_value * 0.00064516 / 4.4482216152605, PressureChangeRateUnit.PoundForcePerSquareInchPerSecond),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/ReciprocalArea.g.cs b/UnitsNet/GeneratedCode/Quantities/ReciprocalArea.g.cs
index 105ef61009..849bcd8fba 100644
--- a/UnitsNet/GeneratedCode/Quantities/ReciprocalArea.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ReciprocalArea.g.cs
@@ -905,26 +905,26 @@ private bool TryToUnit(ReciprocalAreaUnit unit, [NotNullWhen(true)] out Reciproc
// ReciprocalAreaUnit -> BaseUnit
(ReciprocalAreaUnit.InverseSquareCentimeter, ReciprocalAreaUnit.InverseSquareMeter) => new ReciprocalArea(_value / 1e-4, ReciprocalAreaUnit.InverseSquareMeter),
(ReciprocalAreaUnit.InverseSquareDecimeter, ReciprocalAreaUnit.InverseSquareMeter) => new ReciprocalArea(_value / 1e-2, ReciprocalAreaUnit.InverseSquareMeter),
- (ReciprocalAreaUnit.InverseSquareFoot, ReciprocalAreaUnit.InverseSquareMeter) => new ReciprocalArea(_value / 0.092903, ReciprocalAreaUnit.InverseSquareMeter),
+ (ReciprocalAreaUnit.InverseSquareFoot, ReciprocalAreaUnit.InverseSquareMeter) => new ReciprocalArea(_value / 9.290304e-2, ReciprocalAreaUnit.InverseSquareMeter),
(ReciprocalAreaUnit.InverseSquareInch, ReciprocalAreaUnit.InverseSquareMeter) => new ReciprocalArea(_value / 0.00064516, ReciprocalAreaUnit.InverseSquareMeter),
(ReciprocalAreaUnit.InverseSquareKilometer, ReciprocalAreaUnit.InverseSquareMeter) => new ReciprocalArea(_value / 1e6, ReciprocalAreaUnit.InverseSquareMeter),
(ReciprocalAreaUnit.InverseSquareMicrometer, ReciprocalAreaUnit.InverseSquareMeter) => new ReciprocalArea(_value / 1e-12, ReciprocalAreaUnit.InverseSquareMeter),
- (ReciprocalAreaUnit.InverseSquareMile, ReciprocalAreaUnit.InverseSquareMeter) => new ReciprocalArea(_value / 2.59e6, ReciprocalAreaUnit.InverseSquareMeter),
+ (ReciprocalAreaUnit.InverseSquareMile, ReciprocalAreaUnit.InverseSquareMeter) => new ReciprocalArea(_value / (1609.344 * 1609.344), ReciprocalAreaUnit.InverseSquareMeter),
(ReciprocalAreaUnit.InverseSquareMillimeter, ReciprocalAreaUnit.InverseSquareMeter) => new ReciprocalArea(_value / 1e-6, ReciprocalAreaUnit.InverseSquareMeter),
- (ReciprocalAreaUnit.InverseSquareYard, ReciprocalAreaUnit.InverseSquareMeter) => new ReciprocalArea(_value / 0.836127, ReciprocalAreaUnit.InverseSquareMeter),
- (ReciprocalAreaUnit.InverseUsSurveySquareFoot, ReciprocalAreaUnit.InverseSquareMeter) => new ReciprocalArea(_value / 0.09290341161, ReciprocalAreaUnit.InverseSquareMeter),
+ (ReciprocalAreaUnit.InverseSquareYard, ReciprocalAreaUnit.InverseSquareMeter) => new ReciprocalArea(_value / (0.9144 * 0.9144), ReciprocalAreaUnit.InverseSquareMeter),
+ (ReciprocalAreaUnit.InverseUsSurveySquareFoot, ReciprocalAreaUnit.InverseSquareMeter) => new ReciprocalArea(_value / (1200.0 / 3937.0) / (1200.0 / 3937.0), ReciprocalAreaUnit.InverseSquareMeter),
// BaseUnit -> ReciprocalAreaUnit
(ReciprocalAreaUnit.InverseSquareMeter, ReciprocalAreaUnit.InverseSquareCentimeter) => new ReciprocalArea(_value * 1e-4, ReciprocalAreaUnit.InverseSquareCentimeter),
(ReciprocalAreaUnit.InverseSquareMeter, ReciprocalAreaUnit.InverseSquareDecimeter) => new ReciprocalArea(_value * 1e-2, ReciprocalAreaUnit.InverseSquareDecimeter),
- (ReciprocalAreaUnit.InverseSquareMeter, ReciprocalAreaUnit.InverseSquareFoot) => new ReciprocalArea(_value * 0.092903, ReciprocalAreaUnit.InverseSquareFoot),
+ (ReciprocalAreaUnit.InverseSquareMeter, ReciprocalAreaUnit.InverseSquareFoot) => new ReciprocalArea(_value * 9.290304e-2, ReciprocalAreaUnit.InverseSquareFoot),
(ReciprocalAreaUnit.InverseSquareMeter, ReciprocalAreaUnit.InverseSquareInch) => new ReciprocalArea(_value * 0.00064516, ReciprocalAreaUnit.InverseSquareInch),
(ReciprocalAreaUnit.InverseSquareMeter, ReciprocalAreaUnit.InverseSquareKilometer) => new ReciprocalArea(_value * 1e6, ReciprocalAreaUnit.InverseSquareKilometer),
(ReciprocalAreaUnit.InverseSquareMeter, ReciprocalAreaUnit.InverseSquareMicrometer) => new ReciprocalArea(_value * 1e-12, ReciprocalAreaUnit.InverseSquareMicrometer),
- (ReciprocalAreaUnit.InverseSquareMeter, ReciprocalAreaUnit.InverseSquareMile) => new ReciprocalArea(_value * 2.59e6, ReciprocalAreaUnit.InverseSquareMile),
+ (ReciprocalAreaUnit.InverseSquareMeter, ReciprocalAreaUnit.InverseSquareMile) => new ReciprocalArea(_value * (1609.344 * 1609.344), ReciprocalAreaUnit.InverseSquareMile),
(ReciprocalAreaUnit.InverseSquareMeter, ReciprocalAreaUnit.InverseSquareMillimeter) => new ReciprocalArea(_value * 1e-6, ReciprocalAreaUnit.InverseSquareMillimeter),
- (ReciprocalAreaUnit.InverseSquareMeter, ReciprocalAreaUnit.InverseSquareYard) => new ReciprocalArea(_value * 0.836127, ReciprocalAreaUnit.InverseSquareYard),
- (ReciprocalAreaUnit.InverseSquareMeter, ReciprocalAreaUnit.InverseUsSurveySquareFoot) => new ReciprocalArea(_value * 0.09290341161, ReciprocalAreaUnit.InverseUsSurveySquareFoot),
+ (ReciprocalAreaUnit.InverseSquareMeter, ReciprocalAreaUnit.InverseSquareYard) => new ReciprocalArea(_value * (0.9144 * 0.9144), ReciprocalAreaUnit.InverseSquareYard),
+ (ReciprocalAreaUnit.InverseSquareMeter, ReciprocalAreaUnit.InverseUsSurveySquareFoot) => new ReciprocalArea(_value * (1200.0 / 3937.0) * (1200.0 / 3937.0), ReciprocalAreaUnit.InverseUsSurveySquareFoot),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs
index fe428aafdf..e3bee1e0c0 100644
--- a/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RotationalSpeed.g.cs
@@ -946,8 +946,8 @@ private bool TryToUnit(RotationalSpeedUnit unit, [NotNullWhen(true)] out Rotatio
(RotationalSpeedUnit.MilliradianPerSecond, RotationalSpeedUnit.RadianPerSecond) => new RotationalSpeed((_value) * 1e-3d, RotationalSpeedUnit.RadianPerSecond),
(RotationalSpeedUnit.NanodegreePerSecond, RotationalSpeedUnit.RadianPerSecond) => new RotationalSpeed(((Math.PI / 180) * _value) * 1e-9d, RotationalSpeedUnit.RadianPerSecond),
(RotationalSpeedUnit.NanoradianPerSecond, RotationalSpeedUnit.RadianPerSecond) => new RotationalSpeed((_value) * 1e-9d, RotationalSpeedUnit.RadianPerSecond),
- (RotationalSpeedUnit.RevolutionPerMinute, RotationalSpeedUnit.RadianPerSecond) => new RotationalSpeed((_value * 6.2831853072) / 60, RotationalSpeedUnit.RadianPerSecond),
- (RotationalSpeedUnit.RevolutionPerSecond, RotationalSpeedUnit.RadianPerSecond) => new RotationalSpeed(_value * 6.2831853072, RotationalSpeedUnit.RadianPerSecond),
+ (RotationalSpeedUnit.RevolutionPerMinute, RotationalSpeedUnit.RadianPerSecond) => new RotationalSpeed((_value * 2 * Math.PI) / 60, RotationalSpeedUnit.RadianPerSecond),
+ (RotationalSpeedUnit.RevolutionPerSecond, RotationalSpeedUnit.RadianPerSecond) => new RotationalSpeed(_value * 2 * Math.PI, RotationalSpeedUnit.RadianPerSecond),
// BaseUnit -> RotationalSpeedUnit
(RotationalSpeedUnit.RadianPerSecond, RotationalSpeedUnit.CentiradianPerSecond) => new RotationalSpeed((_value) / 1e-2d, RotationalSpeedUnit.CentiradianPerSecond),
@@ -960,8 +960,8 @@ private bool TryToUnit(RotationalSpeedUnit unit, [NotNullWhen(true)] out Rotatio
(RotationalSpeedUnit.RadianPerSecond, RotationalSpeedUnit.MilliradianPerSecond) => new RotationalSpeed((_value) / 1e-3d, RotationalSpeedUnit.MilliradianPerSecond),
(RotationalSpeedUnit.RadianPerSecond, RotationalSpeedUnit.NanodegreePerSecond) => new RotationalSpeed(((180 / Math.PI) * _value) / 1e-9d, RotationalSpeedUnit.NanodegreePerSecond),
(RotationalSpeedUnit.RadianPerSecond, RotationalSpeedUnit.NanoradianPerSecond) => new RotationalSpeed((_value) / 1e-9d, RotationalSpeedUnit.NanoradianPerSecond),
- (RotationalSpeedUnit.RadianPerSecond, RotationalSpeedUnit.RevolutionPerMinute) => new RotationalSpeed((_value / 6.2831853072) * 60, RotationalSpeedUnit.RevolutionPerMinute),
- (RotationalSpeedUnit.RadianPerSecond, RotationalSpeedUnit.RevolutionPerSecond) => new RotationalSpeed(_value / 6.2831853072, RotationalSpeedUnit.RevolutionPerSecond),
+ (RotationalSpeedUnit.RadianPerSecond, RotationalSpeedUnit.RevolutionPerMinute) => new RotationalSpeed((_value / (2 * Math.PI)) * 60, RotationalSpeedUnit.RevolutionPerMinute),
+ (RotationalSpeedUnit.RadianPerSecond, RotationalSpeedUnit.RevolutionPerSecond) => new RotationalSpeed(_value / (2 * Math.PI), RotationalSpeedUnit.RevolutionPerSecond),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs
index ad3b18fdff..887429e8fd 100644
--- a/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RotationalStiffness.g.cs
@@ -1309,7 +1309,7 @@ private bool TryToUnit(RotationalStiffnessUnit unit, [NotNullWhen(true)] out Rot
(RotationalStiffnessUnit.KilonewtonMeterPerRadian, RotationalStiffnessUnit.NewtonMeterPerRadian) => new RotationalStiffness((_value) * 1e3d, RotationalStiffnessUnit.NewtonMeterPerRadian),
(RotationalStiffnessUnit.KilonewtonMillimeterPerDegree, RotationalStiffnessUnit.NewtonMeterPerRadian) => new RotationalStiffness((_value * 180 / Math.PI * 0.001) * 1e3d, RotationalStiffnessUnit.NewtonMeterPerRadian),
(RotationalStiffnessUnit.KilonewtonMillimeterPerRadian, RotationalStiffnessUnit.NewtonMeterPerRadian) => new RotationalStiffness((_value * 0.001) * 1e3d, RotationalStiffnessUnit.NewtonMeterPerRadian),
- (RotationalStiffnessUnit.KilopoundForceFootPerDegrees, RotationalStiffnessUnit.NewtonMeterPerRadian) => new RotationalStiffness(_value * 77682.6, RotationalStiffnessUnit.NewtonMeterPerRadian),
+ (RotationalStiffnessUnit.KilopoundForceFootPerDegrees, RotationalStiffnessUnit.NewtonMeterPerRadian) => new RotationalStiffness(_value * (4.4482216152605e3 * 0.3048 * 180 / Math.PI), RotationalStiffnessUnit.NewtonMeterPerRadian),
(RotationalStiffnessUnit.MeganewtonMeterPerDegree, RotationalStiffnessUnit.NewtonMeterPerRadian) => new RotationalStiffness((_value * (180 / Math.PI)) * 1e6d, RotationalStiffnessUnit.NewtonMeterPerRadian),
(RotationalStiffnessUnit.MeganewtonMeterPerRadian, RotationalStiffnessUnit.NewtonMeterPerRadian) => new RotationalStiffness((_value) * 1e6d, RotationalStiffnessUnit.NewtonMeterPerRadian),
(RotationalStiffnessUnit.MeganewtonMillimeterPerDegree, RotationalStiffnessUnit.NewtonMeterPerRadian) => new RotationalStiffness((_value * 180 / Math.PI * 0.001) * 1e6d, RotationalStiffnessUnit.NewtonMeterPerRadian),
@@ -1326,8 +1326,8 @@ private bool TryToUnit(RotationalStiffnessUnit unit, [NotNullWhen(true)] out Rot
(RotationalStiffnessUnit.NewtonMeterPerDegree, RotationalStiffnessUnit.NewtonMeterPerRadian) => new RotationalStiffness(_value * (180 / Math.PI), RotationalStiffnessUnit.NewtonMeterPerRadian),
(RotationalStiffnessUnit.NewtonMillimeterPerDegree, RotationalStiffnessUnit.NewtonMeterPerRadian) => new RotationalStiffness(_value * 180 / Math.PI * 0.001, RotationalStiffnessUnit.NewtonMeterPerRadian),
(RotationalStiffnessUnit.NewtonMillimeterPerRadian, RotationalStiffnessUnit.NewtonMeterPerRadian) => new RotationalStiffness(_value * 0.001, RotationalStiffnessUnit.NewtonMeterPerRadian),
- (RotationalStiffnessUnit.PoundForceFeetPerRadian, RotationalStiffnessUnit.NewtonMeterPerRadian) => new RotationalStiffness(_value * 1.3558179483314, RotationalStiffnessUnit.NewtonMeterPerRadian),
- (RotationalStiffnessUnit.PoundForceFootPerDegrees, RotationalStiffnessUnit.NewtonMeterPerRadian) => new RotationalStiffness(_value * 77.6826, RotationalStiffnessUnit.NewtonMeterPerRadian),
+ (RotationalStiffnessUnit.PoundForceFeetPerRadian, RotationalStiffnessUnit.NewtonMeterPerRadian) => new RotationalStiffness(_value * 4.4482216152605 * 0.3048, RotationalStiffnessUnit.NewtonMeterPerRadian),
+ (RotationalStiffnessUnit.PoundForceFootPerDegrees, RotationalStiffnessUnit.NewtonMeterPerRadian) => new RotationalStiffness(_value * (4.4482216152605 * 0.3048 * 180 / Math.PI), RotationalStiffnessUnit.NewtonMeterPerRadian),
// BaseUnit -> RotationalStiffnessUnit
(RotationalStiffnessUnit.NewtonMeterPerRadian, RotationalStiffnessUnit.CentinewtonMeterPerDegree) => new RotationalStiffness((_value / (180 / Math.PI)) / 1e-2d, RotationalStiffnessUnit.CentinewtonMeterPerDegree),
@@ -1343,7 +1343,7 @@ private bool TryToUnit(RotationalStiffnessUnit unit, [NotNullWhen(true)] out Rot
(RotationalStiffnessUnit.NewtonMeterPerRadian, RotationalStiffnessUnit.KilonewtonMeterPerRadian) => new RotationalStiffness((_value) / 1e3d, RotationalStiffnessUnit.KilonewtonMeterPerRadian),
(RotationalStiffnessUnit.NewtonMeterPerRadian, RotationalStiffnessUnit.KilonewtonMillimeterPerDegree) => new RotationalStiffness((_value / 180 * Math.PI * 1000) / 1e3d, RotationalStiffnessUnit.KilonewtonMillimeterPerDegree),
(RotationalStiffnessUnit.NewtonMeterPerRadian, RotationalStiffnessUnit.KilonewtonMillimeterPerRadian) => new RotationalStiffness((_value * 1000) / 1e3d, RotationalStiffnessUnit.KilonewtonMillimeterPerRadian),
- (RotationalStiffnessUnit.NewtonMeterPerRadian, RotationalStiffnessUnit.KilopoundForceFootPerDegrees) => new RotationalStiffness(_value / 77682.6, RotationalStiffnessUnit.KilopoundForceFootPerDegrees),
+ (RotationalStiffnessUnit.NewtonMeterPerRadian, RotationalStiffnessUnit.KilopoundForceFootPerDegrees) => new RotationalStiffness(_value / (4.4482216152605e3 * 0.3048 * 180 / Math.PI), RotationalStiffnessUnit.KilopoundForceFootPerDegrees),
(RotationalStiffnessUnit.NewtonMeterPerRadian, RotationalStiffnessUnit.MeganewtonMeterPerDegree) => new RotationalStiffness((_value / (180 / Math.PI)) / 1e6d, RotationalStiffnessUnit.MeganewtonMeterPerDegree),
(RotationalStiffnessUnit.NewtonMeterPerRadian, RotationalStiffnessUnit.MeganewtonMeterPerRadian) => new RotationalStiffness((_value) / 1e6d, RotationalStiffnessUnit.MeganewtonMeterPerRadian),
(RotationalStiffnessUnit.NewtonMeterPerRadian, RotationalStiffnessUnit.MeganewtonMillimeterPerDegree) => new RotationalStiffness((_value / 180 * Math.PI * 1000) / 1e6d, RotationalStiffnessUnit.MeganewtonMillimeterPerDegree),
@@ -1360,8 +1360,8 @@ private bool TryToUnit(RotationalStiffnessUnit unit, [NotNullWhen(true)] out Rot
(RotationalStiffnessUnit.NewtonMeterPerRadian, RotationalStiffnessUnit.NewtonMeterPerDegree) => new RotationalStiffness(_value / (180 / Math.PI), RotationalStiffnessUnit.NewtonMeterPerDegree),
(RotationalStiffnessUnit.NewtonMeterPerRadian, RotationalStiffnessUnit.NewtonMillimeterPerDegree) => new RotationalStiffness(_value / 180 * Math.PI * 1000, RotationalStiffnessUnit.NewtonMillimeterPerDegree),
(RotationalStiffnessUnit.NewtonMeterPerRadian, RotationalStiffnessUnit.NewtonMillimeterPerRadian) => new RotationalStiffness(_value * 1000, RotationalStiffnessUnit.NewtonMillimeterPerRadian),
- (RotationalStiffnessUnit.NewtonMeterPerRadian, RotationalStiffnessUnit.PoundForceFeetPerRadian) => new RotationalStiffness(_value / 1.3558179483314, RotationalStiffnessUnit.PoundForceFeetPerRadian),
- (RotationalStiffnessUnit.NewtonMeterPerRadian, RotationalStiffnessUnit.PoundForceFootPerDegrees) => new RotationalStiffness(_value / 77.6826, RotationalStiffnessUnit.PoundForceFootPerDegrees),
+ (RotationalStiffnessUnit.NewtonMeterPerRadian, RotationalStiffnessUnit.PoundForceFeetPerRadian) => new RotationalStiffness(_value / (4.4482216152605 * 0.3048), RotationalStiffnessUnit.PoundForceFeetPerRadian),
+ (RotationalStiffnessUnit.NewtonMeterPerRadian, RotationalStiffnessUnit.PoundForceFootPerDegrees) => new RotationalStiffness(_value / (4.4482216152605 * 0.3048 * 180 / Math.PI), RotationalStiffnessUnit.PoundForceFootPerDegrees),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs
index cf2b8128b9..a8dd2c31be 100644
--- a/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/RotationalStiffnessPerLength.g.cs
@@ -793,15 +793,15 @@ private bool TryToUnit(RotationalStiffnessPerLengthUnit unit, [NotNullWhen(true)
{
// RotationalStiffnessPerLengthUnit -> BaseUnit
(RotationalStiffnessPerLengthUnit.KilonewtonMeterPerRadianPerMeter, RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter) => new RotationalStiffnessPerLength((_value) * 1e3d, RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter),
- (RotationalStiffnessPerLengthUnit.KilopoundForceFootPerDegreesPerFoot, RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter) => new RotationalStiffnessPerLength(_value * 254864.324570, RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter),
+ (RotationalStiffnessPerLengthUnit.KilopoundForceFootPerDegreesPerFoot, RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter) => new RotationalStiffnessPerLength(_value * (4.4482216152605e3 * 180 / Math.PI), RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter),
(RotationalStiffnessPerLengthUnit.MeganewtonMeterPerRadianPerMeter, RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter) => new RotationalStiffnessPerLength((_value) * 1e6d, RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter),
- (RotationalStiffnessPerLengthUnit.PoundForceFootPerDegreesPerFoot, RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter) => new RotationalStiffnessPerLength(_value * 254.864324570, RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter),
+ (RotationalStiffnessPerLengthUnit.PoundForceFootPerDegreesPerFoot, RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter) => new RotationalStiffnessPerLength(_value * (4.4482216152605 * 180 / Math.PI), RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter),
// BaseUnit -> RotationalStiffnessPerLengthUnit
(RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter, RotationalStiffnessPerLengthUnit.KilonewtonMeterPerRadianPerMeter) => new RotationalStiffnessPerLength((_value) / 1e3d, RotationalStiffnessPerLengthUnit.KilonewtonMeterPerRadianPerMeter),
- (RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter, RotationalStiffnessPerLengthUnit.KilopoundForceFootPerDegreesPerFoot) => new RotationalStiffnessPerLength(_value / 254864.324570, RotationalStiffnessPerLengthUnit.KilopoundForceFootPerDegreesPerFoot),
+ (RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter, RotationalStiffnessPerLengthUnit.KilopoundForceFootPerDegreesPerFoot) => new RotationalStiffnessPerLength(_value / (4.4482216152605e3 * 180 / Math.PI), RotationalStiffnessPerLengthUnit.KilopoundForceFootPerDegreesPerFoot),
(RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter, RotationalStiffnessPerLengthUnit.MeganewtonMeterPerRadianPerMeter) => new RotationalStiffnessPerLength((_value) / 1e6d, RotationalStiffnessPerLengthUnit.MeganewtonMeterPerRadianPerMeter),
- (RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter, RotationalStiffnessPerLengthUnit.PoundForceFootPerDegreesPerFoot) => new RotationalStiffnessPerLength(_value / 254.864324570, RotationalStiffnessPerLengthUnit.PoundForceFootPerDegreesPerFoot),
+ (RotationalStiffnessPerLengthUnit.NewtonMeterPerRadianPerMeter, RotationalStiffnessPerLengthUnit.PoundForceFootPerDegreesPerFoot) => new RotationalStiffnessPerLength(_value / (4.4482216152605 * 180 / Math.PI), RotationalStiffnessPerLengthUnit.PoundForceFootPerDegreesPerFoot),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs
index 487f414852..f1333f13ab 100644
--- a/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/SpecificEnergy.g.cs
@@ -1245,7 +1245,7 @@ private bool TryToUnit(SpecificEnergyUnit unit, [NotNullWhen(true)] out Specific
SpecificEnergy? convertedOrNull = (Unit, unit) switch
{
// SpecificEnergyUnit -> BaseUnit
- (SpecificEnergyUnit.BtuPerPound, SpecificEnergyUnit.JoulePerKilogram) => new SpecificEnergy(_value * 2326.000075362, SpecificEnergyUnit.JoulePerKilogram),
+ (SpecificEnergyUnit.BtuPerPound, SpecificEnergyUnit.JoulePerKilogram) => new SpecificEnergy(_value * 1055.05585262 / 0.45359237, SpecificEnergyUnit.JoulePerKilogram),
(SpecificEnergyUnit.CaloriePerGram, SpecificEnergyUnit.JoulePerKilogram) => new SpecificEnergy(_value * 4.184e3, SpecificEnergyUnit.JoulePerKilogram),
(SpecificEnergyUnit.GigawattDayPerKilogram, SpecificEnergyUnit.JoulePerKilogram) => new SpecificEnergy((_value * (24 * 3.6e3)) * 1e9d, SpecificEnergyUnit.JoulePerKilogram),
(SpecificEnergyUnit.GigawattDayPerShortTon, SpecificEnergyUnit.JoulePerKilogram) => new SpecificEnergy((_value * ((24 * 3.6e3) / 9.0718474e2)) * 1e9d, SpecificEnergyUnit.JoulePerKilogram),
@@ -1276,7 +1276,7 @@ private bool TryToUnit(SpecificEnergyUnit unit, [NotNullWhen(true)] out Specific
(SpecificEnergyUnit.WattHourPerPound, SpecificEnergyUnit.JoulePerKilogram) => new SpecificEnergy(_value * 7.93664e3, SpecificEnergyUnit.JoulePerKilogram),
// BaseUnit -> SpecificEnergyUnit
- (SpecificEnergyUnit.JoulePerKilogram, SpecificEnergyUnit.BtuPerPound) => new SpecificEnergy(_value / 2326.000075362, SpecificEnergyUnit.BtuPerPound),
+ (SpecificEnergyUnit.JoulePerKilogram, SpecificEnergyUnit.BtuPerPound) => new SpecificEnergy(_value * 0.45359237 / 1055.05585262, SpecificEnergyUnit.BtuPerPound),
(SpecificEnergyUnit.JoulePerKilogram, SpecificEnergyUnit.CaloriePerGram) => new SpecificEnergy(_value / 4.184e3, SpecificEnergyUnit.CaloriePerGram),
(SpecificEnergyUnit.JoulePerKilogram, SpecificEnergyUnit.GigawattDayPerKilogram) => new SpecificEnergy((_value / (24 * 3.6e3)) / 1e9d, SpecificEnergyUnit.GigawattDayPerKilogram),
(SpecificEnergyUnit.JoulePerKilogram, SpecificEnergyUnit.GigawattDayPerShortTon) => new SpecificEnergy((_value / ((24 * 3.6e3) / 9.0718474e2)) / 1e9d, SpecificEnergyUnit.GigawattDayPerShortTon),
diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificFuelConsumption.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificFuelConsumption.g.cs
index 96e2d43088..8ccf9f1dad 100644
--- a/UnitsNet/GeneratedCode/Quantities/SpecificFuelConsumption.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/SpecificFuelConsumption.g.cs
@@ -777,14 +777,14 @@ private bool TryToUnit(SpecificFuelConsumptionUnit unit, [NotNullWhen(true)] out
SpecificFuelConsumption? convertedOrNull = (Unit, unit) switch
{
// SpecificFuelConsumptionUnit -> BaseUnit
- (SpecificFuelConsumptionUnit.KilogramPerKilogramForceHour, SpecificFuelConsumptionUnit.GramPerKiloNewtonSecond) => new SpecificFuelConsumption(_value * 28.33, SpecificFuelConsumptionUnit.GramPerKiloNewtonSecond),
+ (SpecificFuelConsumptionUnit.KilogramPerKilogramForceHour, SpecificFuelConsumptionUnit.GramPerKiloNewtonSecond) => new SpecificFuelConsumption(_value * 453.59237 / (0.0044482216152605 * 3600), SpecificFuelConsumptionUnit.GramPerKiloNewtonSecond),
(SpecificFuelConsumptionUnit.KilogramPerKiloNewtonSecond, SpecificFuelConsumptionUnit.GramPerKiloNewtonSecond) => new SpecificFuelConsumption((_value) * 1e3d, SpecificFuelConsumptionUnit.GramPerKiloNewtonSecond),
- (SpecificFuelConsumptionUnit.PoundMassPerPoundForceHour, SpecificFuelConsumptionUnit.GramPerKiloNewtonSecond) => new SpecificFuelConsumption(_value * 28.33, SpecificFuelConsumptionUnit.GramPerKiloNewtonSecond),
+ (SpecificFuelConsumptionUnit.PoundMassPerPoundForceHour, SpecificFuelConsumptionUnit.GramPerKiloNewtonSecond) => new SpecificFuelConsumption(_value * 453.59237 / (0.0044482216152605 * 3600), SpecificFuelConsumptionUnit.GramPerKiloNewtonSecond),
// BaseUnit -> SpecificFuelConsumptionUnit
- (SpecificFuelConsumptionUnit.GramPerKiloNewtonSecond, SpecificFuelConsumptionUnit.KilogramPerKilogramForceHour) => new SpecificFuelConsumption(_value / 28.33, SpecificFuelConsumptionUnit.KilogramPerKilogramForceHour),
+ (SpecificFuelConsumptionUnit.GramPerKiloNewtonSecond, SpecificFuelConsumptionUnit.KilogramPerKilogramForceHour) => new SpecificFuelConsumption(_value * (0.0044482216152605 * 3600) / 453.59237, SpecificFuelConsumptionUnit.KilogramPerKilogramForceHour),
(SpecificFuelConsumptionUnit.GramPerKiloNewtonSecond, SpecificFuelConsumptionUnit.KilogramPerKiloNewtonSecond) => new SpecificFuelConsumption((_value) / 1e3d, SpecificFuelConsumptionUnit.KilogramPerKiloNewtonSecond),
- (SpecificFuelConsumptionUnit.GramPerKiloNewtonSecond, SpecificFuelConsumptionUnit.PoundMassPerPoundForceHour) => new SpecificFuelConsumption(_value / 28.33, SpecificFuelConsumptionUnit.PoundMassPerPoundForceHour),
+ (SpecificFuelConsumptionUnit.GramPerKiloNewtonSecond, SpecificFuelConsumptionUnit.PoundMassPerPoundForceHour) => new SpecificFuelConsumption(_value * (0.0044482216152605 * 3600) / 453.59237, SpecificFuelConsumptionUnit.PoundMassPerPoundForceHour),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs
index 62668120cc..1eaaaf61be 100644
--- a/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/SpecificVolume.g.cs
@@ -756,11 +756,11 @@ private bool TryToUnit(SpecificVolumeUnit unit, [NotNullWhen(true)] out Specific
SpecificVolume? convertedOrNull = (Unit, unit) switch
{
// SpecificVolumeUnit -> BaseUnit
- (SpecificVolumeUnit.CubicFootPerPound, SpecificVolumeUnit.CubicMeterPerKilogram) => new SpecificVolume(_value / 16.01846353, SpecificVolumeUnit.CubicMeterPerKilogram),
+ (SpecificVolumeUnit.CubicFootPerPound, SpecificVolumeUnit.CubicMeterPerKilogram) => new SpecificVolume(_value * 0.028316846592 / 0.45359237, SpecificVolumeUnit.CubicMeterPerKilogram),
(SpecificVolumeUnit.MillicubicMeterPerKilogram, SpecificVolumeUnit.CubicMeterPerKilogram) => new SpecificVolume((_value) * 1e-3d, SpecificVolumeUnit.CubicMeterPerKilogram),
// BaseUnit -> SpecificVolumeUnit
- (SpecificVolumeUnit.CubicMeterPerKilogram, SpecificVolumeUnit.CubicFootPerPound) => new SpecificVolume(_value * 16.01846353, SpecificVolumeUnit.CubicFootPerPound),
+ (SpecificVolumeUnit.CubicMeterPerKilogram, SpecificVolumeUnit.CubicFootPerPound) => new SpecificVolume(_value * 0.45359237 / 0.028316846592, SpecificVolumeUnit.CubicFootPerPound),
(SpecificVolumeUnit.CubicMeterPerKilogram, SpecificVolumeUnit.MillicubicMeterPerKilogram) => new SpecificVolume((_value) / 1e-3d, SpecificVolumeUnit.MillicubicMeterPerKilogram),
_ => null
diff --git a/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs b/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs
index 38f7dcc446..39589e0f10 100644
--- a/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/SpecificWeight.g.cs
@@ -1017,13 +1017,13 @@ private bool TryToUnit(SpecificWeightUnit unit, [NotNullWhen(true)] out Specific
(SpecificWeightUnit.KilonewtonPerCubicCentimeter, SpecificWeightUnit.NewtonPerCubicMeter) => new SpecificWeight((_value * 1000000) * 1e3d, SpecificWeightUnit.NewtonPerCubicMeter),
(SpecificWeightUnit.KilonewtonPerCubicMeter, SpecificWeightUnit.NewtonPerCubicMeter) => new SpecificWeight((_value) * 1e3d, SpecificWeightUnit.NewtonPerCubicMeter),
(SpecificWeightUnit.KilonewtonPerCubicMillimeter, SpecificWeightUnit.NewtonPerCubicMeter) => new SpecificWeight((_value * 1000000000) * 1e3d, SpecificWeightUnit.NewtonPerCubicMeter),
- (SpecificWeightUnit.KilopoundForcePerCubicFoot, SpecificWeightUnit.NewtonPerCubicMeter) => new SpecificWeight((_value * 1.570874638462462e2) * 1e3d, SpecificWeightUnit.NewtonPerCubicMeter),
- (SpecificWeightUnit.KilopoundForcePerCubicInch, SpecificWeightUnit.NewtonPerCubicMeter) => new SpecificWeight((_value * 2.714471375263134e5) * 1e3d, SpecificWeightUnit.NewtonPerCubicMeter),
+ (SpecificWeightUnit.KilopoundForcePerCubicFoot, SpecificWeightUnit.NewtonPerCubicMeter) => new SpecificWeight((_value * 4.4482216152605 / 0.028316846592) * 1e3d, SpecificWeightUnit.NewtonPerCubicMeter),
+ (SpecificWeightUnit.KilopoundForcePerCubicInch, SpecificWeightUnit.NewtonPerCubicMeter) => new SpecificWeight((_value * 4.4482216152605 / 1.6387064e-5) * 1e3d, SpecificWeightUnit.NewtonPerCubicMeter),
(SpecificWeightUnit.MeganewtonPerCubicMeter, SpecificWeightUnit.NewtonPerCubicMeter) => new SpecificWeight((_value) * 1e6d, SpecificWeightUnit.NewtonPerCubicMeter),
(SpecificWeightUnit.NewtonPerCubicCentimeter, SpecificWeightUnit.NewtonPerCubicMeter) => new SpecificWeight(_value * 1000000, SpecificWeightUnit.NewtonPerCubicMeter),
(SpecificWeightUnit.NewtonPerCubicMillimeter, SpecificWeightUnit.NewtonPerCubicMeter) => new SpecificWeight(_value * 1000000000, SpecificWeightUnit.NewtonPerCubicMeter),
- (SpecificWeightUnit.PoundForcePerCubicFoot, SpecificWeightUnit.NewtonPerCubicMeter) => new SpecificWeight(_value * 1.570874638462462e2, SpecificWeightUnit.NewtonPerCubicMeter),
- (SpecificWeightUnit.PoundForcePerCubicInch, SpecificWeightUnit.NewtonPerCubicMeter) => new SpecificWeight(_value * 2.714471375263134e5, SpecificWeightUnit.NewtonPerCubicMeter),
+ (SpecificWeightUnit.PoundForcePerCubicFoot, SpecificWeightUnit.NewtonPerCubicMeter) => new SpecificWeight(_value * 4.4482216152605 / 0.028316846592, SpecificWeightUnit.NewtonPerCubicMeter),
+ (SpecificWeightUnit.PoundForcePerCubicInch, SpecificWeightUnit.NewtonPerCubicMeter) => new SpecificWeight(_value * 4.4482216152605 / 1.6387064e-5, SpecificWeightUnit.NewtonPerCubicMeter),
(SpecificWeightUnit.TonneForcePerCubicCentimeter, SpecificWeightUnit.NewtonPerCubicMeter) => new SpecificWeight(_value * 9.80665e9, SpecificWeightUnit.NewtonPerCubicMeter),
(SpecificWeightUnit.TonneForcePerCubicMeter, SpecificWeightUnit.NewtonPerCubicMeter) => new SpecificWeight(_value * 9.80665e3, SpecificWeightUnit.NewtonPerCubicMeter),
(SpecificWeightUnit.TonneForcePerCubicMillimeter, SpecificWeightUnit.NewtonPerCubicMeter) => new SpecificWeight(_value * 9.80665e12, SpecificWeightUnit.NewtonPerCubicMeter),
@@ -1035,13 +1035,13 @@ private bool TryToUnit(SpecificWeightUnit unit, [NotNullWhen(true)] out Specific
(SpecificWeightUnit.NewtonPerCubicMeter, SpecificWeightUnit.KilonewtonPerCubicCentimeter) => new SpecificWeight((_value * 0.000001) / 1e3d, SpecificWeightUnit.KilonewtonPerCubicCentimeter),
(SpecificWeightUnit.NewtonPerCubicMeter, SpecificWeightUnit.KilonewtonPerCubicMeter) => new SpecificWeight((_value) / 1e3d, SpecificWeightUnit.KilonewtonPerCubicMeter),
(SpecificWeightUnit.NewtonPerCubicMeter, SpecificWeightUnit.KilonewtonPerCubicMillimeter) => new SpecificWeight((_value * 0.000000001) / 1e3d, SpecificWeightUnit.KilonewtonPerCubicMillimeter),
- (SpecificWeightUnit.NewtonPerCubicMeter, SpecificWeightUnit.KilopoundForcePerCubicFoot) => new SpecificWeight((_value / 1.570874638462462e2) / 1e3d, SpecificWeightUnit.KilopoundForcePerCubicFoot),
- (SpecificWeightUnit.NewtonPerCubicMeter, SpecificWeightUnit.KilopoundForcePerCubicInch) => new SpecificWeight((_value / 2.714471375263134e5) / 1e3d, SpecificWeightUnit.KilopoundForcePerCubicInch),
+ (SpecificWeightUnit.NewtonPerCubicMeter, SpecificWeightUnit.KilopoundForcePerCubicFoot) => new SpecificWeight((_value * 0.028316846592 / 4.4482216152605) / 1e3d, SpecificWeightUnit.KilopoundForcePerCubicFoot),
+ (SpecificWeightUnit.NewtonPerCubicMeter, SpecificWeightUnit.KilopoundForcePerCubicInch) => new SpecificWeight((_value * 1.6387064e-5 / 4.4482216152605) / 1e3d, SpecificWeightUnit.KilopoundForcePerCubicInch),
(SpecificWeightUnit.NewtonPerCubicMeter, SpecificWeightUnit.MeganewtonPerCubicMeter) => new SpecificWeight((_value) / 1e6d, SpecificWeightUnit.MeganewtonPerCubicMeter),
(SpecificWeightUnit.NewtonPerCubicMeter, SpecificWeightUnit.NewtonPerCubicCentimeter) => new SpecificWeight(_value * 0.000001, SpecificWeightUnit.NewtonPerCubicCentimeter),
(SpecificWeightUnit.NewtonPerCubicMeter, SpecificWeightUnit.NewtonPerCubicMillimeter) => new SpecificWeight(_value * 0.000000001, SpecificWeightUnit.NewtonPerCubicMillimeter),
- (SpecificWeightUnit.NewtonPerCubicMeter, SpecificWeightUnit.PoundForcePerCubicFoot) => new SpecificWeight(_value / 1.570874638462462e2, SpecificWeightUnit.PoundForcePerCubicFoot),
- (SpecificWeightUnit.NewtonPerCubicMeter, SpecificWeightUnit.PoundForcePerCubicInch) => new SpecificWeight(_value / 2.714471375263134e5, SpecificWeightUnit.PoundForcePerCubicInch),
+ (SpecificWeightUnit.NewtonPerCubicMeter, SpecificWeightUnit.PoundForcePerCubicFoot) => new SpecificWeight(_value * 0.028316846592 / 4.4482216152605, SpecificWeightUnit.PoundForcePerCubicFoot),
+ (SpecificWeightUnit.NewtonPerCubicMeter, SpecificWeightUnit.PoundForcePerCubicInch) => new SpecificWeight(_value * 1.6387064e-5 / 4.4482216152605, SpecificWeightUnit.PoundForcePerCubicInch),
(SpecificWeightUnit.NewtonPerCubicMeter, SpecificWeightUnit.TonneForcePerCubicCentimeter) => new SpecificWeight(_value / 9.80665e9, SpecificWeightUnit.TonneForcePerCubicCentimeter),
(SpecificWeightUnit.NewtonPerCubicMeter, SpecificWeightUnit.TonneForcePerCubicMeter) => new SpecificWeight(_value / 9.80665e3, SpecificWeightUnit.TonneForcePerCubicMeter),
(SpecificWeightUnit.NewtonPerCubicMeter, SpecificWeightUnit.TonneForcePerCubicMillimeter) => new SpecificWeight(_value / 9.80665e12, SpecificWeightUnit.TonneForcePerCubicMillimeter),
diff --git a/UnitsNet/GeneratedCode/Quantities/StandardVolumeFlow.g.cs b/UnitsNet/GeneratedCode/Quantities/StandardVolumeFlow.g.cs
index 403dc573d2..379f1c3f9d 100644
--- a/UnitsNet/GeneratedCode/Quantities/StandardVolumeFlow.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/StandardVolumeFlow.g.cs
@@ -865,9 +865,9 @@ private bool TryToUnit(StandardVolumeFlowUnit unit, [NotNullWhen(true)] out Stan
{
// StandardVolumeFlowUnit -> BaseUnit
(StandardVolumeFlowUnit.StandardCubicCentimeterPerMinute, StandardVolumeFlowUnit.StandardCubicMeterPerSecond) => new StandardVolumeFlow(_value / 6e7, StandardVolumeFlowUnit.StandardCubicMeterPerSecond),
- (StandardVolumeFlowUnit.StandardCubicFootPerHour, StandardVolumeFlowUnit.StandardCubicMeterPerSecond) => new StandardVolumeFlow(_value * 7.8657907199999087346816086183876e-6, StandardVolumeFlowUnit.StandardCubicMeterPerSecond),
- (StandardVolumeFlowUnit.StandardCubicFootPerMinute, StandardVolumeFlowUnit.StandardCubicMeterPerSecond) => new StandardVolumeFlow(_value / 2118.88000326, StandardVolumeFlowUnit.StandardCubicMeterPerSecond),
- (StandardVolumeFlowUnit.StandardCubicFootPerSecond, StandardVolumeFlowUnit.StandardCubicMeterPerSecond) => new StandardVolumeFlow(_value / 35.314666721, StandardVolumeFlowUnit.StandardCubicMeterPerSecond),
+ (StandardVolumeFlowUnit.StandardCubicFootPerHour, StandardVolumeFlowUnit.StandardCubicMeterPerSecond) => new StandardVolumeFlow(_value * 0.028316846592 / 3600, StandardVolumeFlowUnit.StandardCubicMeterPerSecond),
+ (StandardVolumeFlowUnit.StandardCubicFootPerMinute, StandardVolumeFlowUnit.StandardCubicMeterPerSecond) => new StandardVolumeFlow(_value * 0.028316846592 / 60, StandardVolumeFlowUnit.StandardCubicMeterPerSecond),
+ (StandardVolumeFlowUnit.StandardCubicFootPerSecond, StandardVolumeFlowUnit.StandardCubicMeterPerSecond) => new StandardVolumeFlow(_value * 0.028316846592, StandardVolumeFlowUnit.StandardCubicMeterPerSecond),
(StandardVolumeFlowUnit.StandardCubicMeterPerDay, StandardVolumeFlowUnit.StandardCubicMeterPerSecond) => new StandardVolumeFlow(_value / 86400, StandardVolumeFlowUnit.StandardCubicMeterPerSecond),
(StandardVolumeFlowUnit.StandardCubicMeterPerHour, StandardVolumeFlowUnit.StandardCubicMeterPerSecond) => new StandardVolumeFlow(_value / 3600, StandardVolumeFlowUnit.StandardCubicMeterPerSecond),
(StandardVolumeFlowUnit.StandardCubicMeterPerMinute, StandardVolumeFlowUnit.StandardCubicMeterPerSecond) => new StandardVolumeFlow(_value / 60, StandardVolumeFlowUnit.StandardCubicMeterPerSecond),
@@ -875,9 +875,9 @@ private bool TryToUnit(StandardVolumeFlowUnit unit, [NotNullWhen(true)] out Stan
// BaseUnit -> StandardVolumeFlowUnit
(StandardVolumeFlowUnit.StandardCubicMeterPerSecond, StandardVolumeFlowUnit.StandardCubicCentimeterPerMinute) => new StandardVolumeFlow(_value * 6e7, StandardVolumeFlowUnit.StandardCubicCentimeterPerMinute),
- (StandardVolumeFlowUnit.StandardCubicMeterPerSecond, StandardVolumeFlowUnit.StandardCubicFootPerHour) => new StandardVolumeFlow(_value / 7.8657907199999087346816086183876e-6, StandardVolumeFlowUnit.StandardCubicFootPerHour),
- (StandardVolumeFlowUnit.StandardCubicMeterPerSecond, StandardVolumeFlowUnit.StandardCubicFootPerMinute) => new StandardVolumeFlow(_value * 2118.88000326, StandardVolumeFlowUnit.StandardCubicFootPerMinute),
- (StandardVolumeFlowUnit.StandardCubicMeterPerSecond, StandardVolumeFlowUnit.StandardCubicFootPerSecond) => new StandardVolumeFlow(_value * 35.314666721, StandardVolumeFlowUnit.StandardCubicFootPerSecond),
+ (StandardVolumeFlowUnit.StandardCubicMeterPerSecond, StandardVolumeFlowUnit.StandardCubicFootPerHour) => new StandardVolumeFlow(_value / (0.028316846592 / 3600), StandardVolumeFlowUnit.StandardCubicFootPerHour),
+ (StandardVolumeFlowUnit.StandardCubicMeterPerSecond, StandardVolumeFlowUnit.StandardCubicFootPerMinute) => new StandardVolumeFlow(_value / (0.028316846592 / 60), StandardVolumeFlowUnit.StandardCubicFootPerMinute),
+ (StandardVolumeFlowUnit.StandardCubicMeterPerSecond, StandardVolumeFlowUnit.StandardCubicFootPerSecond) => new StandardVolumeFlow(_value / 0.028316846592, StandardVolumeFlowUnit.StandardCubicFootPerSecond),
(StandardVolumeFlowUnit.StandardCubicMeterPerSecond, StandardVolumeFlowUnit.StandardCubicMeterPerDay) => new StandardVolumeFlow(_value * 86400, StandardVolumeFlowUnit.StandardCubicMeterPerDay),
(StandardVolumeFlowUnit.StandardCubicMeterPerSecond, StandardVolumeFlowUnit.StandardCubicMeterPerHour) => new StandardVolumeFlow(_value * 3600, StandardVolumeFlowUnit.StandardCubicMeterPerHour),
(StandardVolumeFlowUnit.StandardCubicMeterPerSecond, StandardVolumeFlowUnit.StandardCubicMeterPerMinute) => new StandardVolumeFlow(_value * 60, StandardVolumeFlowUnit.StandardCubicMeterPerMinute),
diff --git a/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs b/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs
index 9b71a558df..5f8d9011bf 100644
--- a/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ThermalConductivity.g.cs
@@ -741,10 +741,10 @@ private bool TryToUnit(ThermalConductivityUnit unit, [NotNullWhen(true)] out The
ThermalConductivity? convertedOrNull = (Unit, unit) switch
{
// ThermalConductivityUnit -> BaseUnit
- (ThermalConductivityUnit.BtuPerHourFootFahrenheit, ThermalConductivityUnit.WattPerMeterKelvin) => new ThermalConductivity(_value * 1.73073467, ThermalConductivityUnit.WattPerMeterKelvin),
+ (ThermalConductivityUnit.BtuPerHourFootFahrenheit, ThermalConductivityUnit.WattPerMeterKelvin) => new ThermalConductivity(_value * ((1055.05585262 / (0.3048 * 3600)) * 1.8), ThermalConductivityUnit.WattPerMeterKelvin),
// BaseUnit -> ThermalConductivityUnit
- (ThermalConductivityUnit.WattPerMeterKelvin, ThermalConductivityUnit.BtuPerHourFootFahrenheit) => new ThermalConductivity(_value / 1.73073467, ThermalConductivityUnit.BtuPerHourFootFahrenheit),
+ (ThermalConductivityUnit.WattPerMeterKelvin, ThermalConductivityUnit.BtuPerHourFootFahrenheit) => new ThermalConductivity(_value / ((1055.05585262 / (0.3048 * 3600)) * 1.8), ThermalConductivityUnit.BtuPerHourFootFahrenheit),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs b/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs
index 147b6d04ec..ea816e02db 100644
--- a/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/ThermalResistance.g.cs
@@ -810,15 +810,15 @@ private bool TryToUnit(ThermalResistanceUnit unit, [NotNullWhen(true)] out Therm
ThermalResistance? convertedOrNull = (Unit, unit) switch
{
// ThermalResistanceUnit -> BaseUnit
- (ThermalResistanceUnit.HourSquareFeetDegreeFahrenheitPerBtu, ThermalResistanceUnit.SquareMeterKelvinPerKilowatt) => new ThermalResistance(_value * 176.1121482159839, ThermalResistanceUnit.SquareMeterKelvinPerKilowatt),
- (ThermalResistanceUnit.SquareCentimeterHourDegreeCelsiusPerKilocalorie, ThermalResistanceUnit.SquareMeterKelvinPerKilowatt) => new ThermalResistance(_value * 0.0859779507590433, ThermalResistanceUnit.SquareMeterKelvinPerKilowatt),
+ (ThermalResistanceUnit.HourSquareFeetDegreeFahrenheitPerBtu, ThermalResistanceUnit.SquareMeterKelvinPerKilowatt) => new ThermalResistance(_value * (1000 * 0.3048 * 0.3048 * 3600) / (1055.05585262 * 1.8), ThermalResistanceUnit.SquareMeterKelvinPerKilowatt),
+ (ThermalResistanceUnit.SquareCentimeterHourDegreeCelsiusPerKilocalorie, ThermalResistanceUnit.SquareMeterKelvinPerKilowatt) => new ThermalResistance(_value * (0.0001 * 3600) / 4.184, ThermalResistanceUnit.SquareMeterKelvinPerKilowatt),
(ThermalResistanceUnit.SquareCentimeterKelvinPerWatt, ThermalResistanceUnit.SquareMeterKelvinPerKilowatt) => new ThermalResistance(_value * 0.1, ThermalResistanceUnit.SquareMeterKelvinPerKilowatt),
(ThermalResistanceUnit.SquareMeterDegreeCelsiusPerWatt, ThermalResistanceUnit.SquareMeterKelvinPerKilowatt) => new ThermalResistance(_value * 1000.0, ThermalResistanceUnit.SquareMeterKelvinPerKilowatt),
(ThermalResistanceUnit.SquareMeterKelvinPerWatt, ThermalResistanceUnit.SquareMeterKelvinPerKilowatt) => new ThermalResistance(_value * 1000, ThermalResistanceUnit.SquareMeterKelvinPerKilowatt),
// BaseUnit -> ThermalResistanceUnit
- (ThermalResistanceUnit.SquareMeterKelvinPerKilowatt, ThermalResistanceUnit.HourSquareFeetDegreeFahrenheitPerBtu) => new ThermalResistance(_value / 176.1121482159839, ThermalResistanceUnit.HourSquareFeetDegreeFahrenheitPerBtu),
- (ThermalResistanceUnit.SquareMeterKelvinPerKilowatt, ThermalResistanceUnit.SquareCentimeterHourDegreeCelsiusPerKilocalorie) => new ThermalResistance(_value / 0.0859779507590433, ThermalResistanceUnit.SquareCentimeterHourDegreeCelsiusPerKilocalorie),
+ (ThermalResistanceUnit.SquareMeterKelvinPerKilowatt, ThermalResistanceUnit.HourSquareFeetDegreeFahrenheitPerBtu) => new ThermalResistance(_value * (1055.05585262 * 1.8) / (1000 * 0.3048 * 0.3048 * 3600), ThermalResistanceUnit.HourSquareFeetDegreeFahrenheitPerBtu),
+ (ThermalResistanceUnit.SquareMeterKelvinPerKilowatt, ThermalResistanceUnit.SquareCentimeterHourDegreeCelsiusPerKilocalorie) => new ThermalResistance(_value * 4.184 / (0.0001 * 3600), ThermalResistanceUnit.SquareCentimeterHourDegreeCelsiusPerKilocalorie),
(ThermalResistanceUnit.SquareMeterKelvinPerKilowatt, ThermalResistanceUnit.SquareCentimeterKelvinPerWatt) => new ThermalResistance(_value / 0.1, ThermalResistanceUnit.SquareCentimeterKelvinPerWatt),
(ThermalResistanceUnit.SquareMeterKelvinPerKilowatt, ThermalResistanceUnit.SquareMeterDegreeCelsiusPerWatt) => new ThermalResistance(_value / 1000.0, ThermalResistanceUnit.SquareMeterDegreeCelsiusPerWatt),
(ThermalResistanceUnit.SquareMeterKelvinPerKilowatt, ThermalResistanceUnit.SquareMeterKelvinPerWatt) => new ThermalResistance(_value / 1000, ThermalResistanceUnit.SquareMeterKelvinPerWatt),
diff --git a/UnitsNet/GeneratedCode/Quantities/Torque.g.cs b/UnitsNet/GeneratedCode/Quantities/Torque.g.cs
index a5868119dd..c74f8f8f8e 100644
--- a/UnitsNet/GeneratedCode/Quantities/Torque.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Torque.g.cs
@@ -1161,18 +1161,18 @@ private bool TryToUnit(TorqueUnit unit, [NotNullWhen(true)] out Torque? converte
(TorqueUnit.KilonewtonCentimeter, TorqueUnit.NewtonMeter) => new Torque((_value * 0.01) * 1e3d, TorqueUnit.NewtonMeter),
(TorqueUnit.KilonewtonMeter, TorqueUnit.NewtonMeter) => new Torque((_value) * 1e3d, TorqueUnit.NewtonMeter),
(TorqueUnit.KilonewtonMillimeter, TorqueUnit.NewtonMeter) => new Torque((_value * 0.001) * 1e3d, TorqueUnit.NewtonMeter),
- (TorqueUnit.KilopoundForceFoot, TorqueUnit.NewtonMeter) => new Torque((_value * 1.3558179483314) * 1e3d, TorqueUnit.NewtonMeter),
- (TorqueUnit.KilopoundForceInch, TorqueUnit.NewtonMeter) => new Torque((_value * 1.129848290276167e-1) * 1e3d, TorqueUnit.NewtonMeter),
+ (TorqueUnit.KilopoundForceFoot, TorqueUnit.NewtonMeter) => new Torque((_value * 4.4482216152605 * 0.3048) * 1e3d, TorqueUnit.NewtonMeter),
+ (TorqueUnit.KilopoundForceInch, TorqueUnit.NewtonMeter) => new Torque((_value * 4.4482216152605 * 2.54e-2) * 1e3d, TorqueUnit.NewtonMeter),
(TorqueUnit.MeganewtonCentimeter, TorqueUnit.NewtonMeter) => new Torque((_value * 0.01) * 1e6d, TorqueUnit.NewtonMeter),
(TorqueUnit.MeganewtonMeter, TorqueUnit.NewtonMeter) => new Torque((_value) * 1e6d, TorqueUnit.NewtonMeter),
(TorqueUnit.MeganewtonMillimeter, TorqueUnit.NewtonMeter) => new Torque((_value * 0.001) * 1e6d, TorqueUnit.NewtonMeter),
- (TorqueUnit.MegapoundForceFoot, TorqueUnit.NewtonMeter) => new Torque((_value * 1.3558179483314) * 1e6d, TorqueUnit.NewtonMeter),
- (TorqueUnit.MegapoundForceInch, TorqueUnit.NewtonMeter) => new Torque((_value * 1.129848290276167e-1) * 1e6d, TorqueUnit.NewtonMeter),
+ (TorqueUnit.MegapoundForceFoot, TorqueUnit.NewtonMeter) => new Torque((_value * 4.4482216152605 * 0.3048) * 1e6d, TorqueUnit.NewtonMeter),
+ (TorqueUnit.MegapoundForceInch, TorqueUnit.NewtonMeter) => new Torque((_value * 4.4482216152605 * 2.54e-2) * 1e6d, TorqueUnit.NewtonMeter),
(TorqueUnit.NewtonCentimeter, TorqueUnit.NewtonMeter) => new Torque(_value * 0.01, TorqueUnit.NewtonMeter),
(TorqueUnit.NewtonMillimeter, TorqueUnit.NewtonMeter) => new Torque(_value * 0.001, TorqueUnit.NewtonMeter),
- (TorqueUnit.PoundalFoot, TorqueUnit.NewtonMeter) => new Torque(_value * 4.21401100938048e-2, TorqueUnit.NewtonMeter),
- (TorqueUnit.PoundForceFoot, TorqueUnit.NewtonMeter) => new Torque(_value * 1.3558179483314, TorqueUnit.NewtonMeter),
- (TorqueUnit.PoundForceInch, TorqueUnit.NewtonMeter) => new Torque(_value * 1.129848290276167e-1, TorqueUnit.NewtonMeter),
+ (TorqueUnit.PoundalFoot, TorqueUnit.NewtonMeter) => new Torque(_value * 0.138254954376 * 0.3048, TorqueUnit.NewtonMeter),
+ (TorqueUnit.PoundForceFoot, TorqueUnit.NewtonMeter) => new Torque(_value * 4.4482216152605 * 0.3048, TorqueUnit.NewtonMeter),
+ (TorqueUnit.PoundForceInch, TorqueUnit.NewtonMeter) => new Torque(_value * 4.4482216152605 * 2.54e-2, TorqueUnit.NewtonMeter),
(TorqueUnit.TonneForceCentimeter, TorqueUnit.NewtonMeter) => new Torque(_value * 9.80665e1, TorqueUnit.NewtonMeter),
(TorqueUnit.TonneForceMeter, TorqueUnit.NewtonMeter) => new Torque(_value * 9.80665e3, TorqueUnit.NewtonMeter),
(TorqueUnit.TonneForceMillimeter, TorqueUnit.NewtonMeter) => new Torque(_value * 9.80665, TorqueUnit.NewtonMeter),
@@ -1187,18 +1187,18 @@ private bool TryToUnit(TorqueUnit unit, [NotNullWhen(true)] out Torque? converte
(TorqueUnit.NewtonMeter, TorqueUnit.KilonewtonCentimeter) => new Torque((_value * 100) / 1e3d, TorqueUnit.KilonewtonCentimeter),
(TorqueUnit.NewtonMeter, TorqueUnit.KilonewtonMeter) => new Torque((_value) / 1e3d, TorqueUnit.KilonewtonMeter),
(TorqueUnit.NewtonMeter, TorqueUnit.KilonewtonMillimeter) => new Torque((_value * 1000) / 1e3d, TorqueUnit.KilonewtonMillimeter),
- (TorqueUnit.NewtonMeter, TorqueUnit.KilopoundForceFoot) => new Torque((_value / 1.3558179483314) / 1e3d, TorqueUnit.KilopoundForceFoot),
- (TorqueUnit.NewtonMeter, TorqueUnit.KilopoundForceInch) => new Torque((_value / 1.129848290276167e-1) / 1e3d, TorqueUnit.KilopoundForceInch),
+ (TorqueUnit.NewtonMeter, TorqueUnit.KilopoundForceFoot) => new Torque((_value / (4.4482216152605 * 0.3048)) / 1e3d, TorqueUnit.KilopoundForceFoot),
+ (TorqueUnit.NewtonMeter, TorqueUnit.KilopoundForceInch) => new Torque((_value / (4.4482216152605 * 2.54e-2)) / 1e3d, TorqueUnit.KilopoundForceInch),
(TorqueUnit.NewtonMeter, TorqueUnit.MeganewtonCentimeter) => new Torque((_value * 100) / 1e6d, TorqueUnit.MeganewtonCentimeter),
(TorqueUnit.NewtonMeter, TorqueUnit.MeganewtonMeter) => new Torque((_value) / 1e6d, TorqueUnit.MeganewtonMeter),
(TorqueUnit.NewtonMeter, TorqueUnit.MeganewtonMillimeter) => new Torque((_value * 1000) / 1e6d, TorqueUnit.MeganewtonMillimeter),
- (TorqueUnit.NewtonMeter, TorqueUnit.MegapoundForceFoot) => new Torque((_value / 1.3558179483314) / 1e6d, TorqueUnit.MegapoundForceFoot),
- (TorqueUnit.NewtonMeter, TorqueUnit.MegapoundForceInch) => new Torque((_value / 1.129848290276167e-1) / 1e6d, TorqueUnit.MegapoundForceInch),
+ (TorqueUnit.NewtonMeter, TorqueUnit.MegapoundForceFoot) => new Torque((_value / (4.4482216152605 * 0.3048)) / 1e6d, TorqueUnit.MegapoundForceFoot),
+ (TorqueUnit.NewtonMeter, TorqueUnit.MegapoundForceInch) => new Torque((_value / (4.4482216152605 * 2.54e-2)) / 1e6d, TorqueUnit.MegapoundForceInch),
(TorqueUnit.NewtonMeter, TorqueUnit.NewtonCentimeter) => new Torque(_value * 100, TorqueUnit.NewtonCentimeter),
(TorqueUnit.NewtonMeter, TorqueUnit.NewtonMillimeter) => new Torque(_value * 1000, TorqueUnit.NewtonMillimeter),
- (TorqueUnit.NewtonMeter, TorqueUnit.PoundalFoot) => new Torque(_value / 4.21401100938048e-2, TorqueUnit.PoundalFoot),
- (TorqueUnit.NewtonMeter, TorqueUnit.PoundForceFoot) => new Torque(_value / 1.3558179483314, TorqueUnit.PoundForceFoot),
- (TorqueUnit.NewtonMeter, TorqueUnit.PoundForceInch) => new Torque(_value / 1.129848290276167e-1, TorqueUnit.PoundForceInch),
+ (TorqueUnit.NewtonMeter, TorqueUnit.PoundalFoot) => new Torque(_value / (0.138254954376 * 0.3048), TorqueUnit.PoundalFoot),
+ (TorqueUnit.NewtonMeter, TorqueUnit.PoundForceFoot) => new Torque(_value / (4.4482216152605 * 0.3048), TorqueUnit.PoundForceFoot),
+ (TorqueUnit.NewtonMeter, TorqueUnit.PoundForceInch) => new Torque(_value / (4.4482216152605 * 2.54e-2), TorqueUnit.PoundForceInch),
(TorqueUnit.NewtonMeter, TorqueUnit.TonneForceCentimeter) => new Torque(_value / 9.80665e1, TorqueUnit.TonneForceCentimeter),
(TorqueUnit.NewtonMeter, TorqueUnit.TonneForceMeter) => new Torque(_value / 9.80665e3, TorqueUnit.TonneForceMeter),
(TorqueUnit.NewtonMeter, TorqueUnit.TonneForceMillimeter) => new Torque(_value / 9.80665, TorqueUnit.TonneForceMillimeter),
diff --git a/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs
index f5e4883b56..7272a4ffbe 100644
--- a/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/TorquePerLength.g.cs
@@ -1080,48 +1080,48 @@ private bool TryToUnit(TorquePerLengthUnit unit, [NotNullWhen(true)] out TorqueP
TorquePerLength? convertedOrNull = (Unit, unit) switch
{
// TorquePerLengthUnit -> BaseUnit
- (TorquePerLengthUnit.KilogramForceCentimeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength(_value * 0.0980665019960652, TorquePerLengthUnit.NewtonMeterPerMeter),
- (TorquePerLengthUnit.KilogramForceMeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength(_value * 9.80665019960652, TorquePerLengthUnit.NewtonMeterPerMeter),
- (TorquePerLengthUnit.KilogramForceMillimeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength(_value * 0.00980665019960652, TorquePerLengthUnit.NewtonMeterPerMeter),
+ (TorquePerLengthUnit.KilogramForceCentimeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength(_value * 9.80665e-2, TorquePerLengthUnit.NewtonMeterPerMeter),
+ (TorquePerLengthUnit.KilogramForceMeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength(_value * 9.80665, TorquePerLengthUnit.NewtonMeterPerMeter),
+ (TorquePerLengthUnit.KilogramForceMillimeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength(_value * 9.80665e-3, TorquePerLengthUnit.NewtonMeterPerMeter),
(TorquePerLengthUnit.KilonewtonCentimeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength((_value * 0.01) * 1e3d, TorquePerLengthUnit.NewtonMeterPerMeter),
(TorquePerLengthUnit.KilonewtonMeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength((_value) * 1e3d, TorquePerLengthUnit.NewtonMeterPerMeter),
(TorquePerLengthUnit.KilonewtonMillimeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength((_value * 0.001) * 1e3d, TorquePerLengthUnit.NewtonMeterPerMeter),
- (TorquePerLengthUnit.KilopoundForceFootPerFoot, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength((_value * 4.44822161526) * 1e3d, TorquePerLengthUnit.NewtonMeterPerMeter),
- (TorquePerLengthUnit.KilopoundForceInchPerFoot, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength((_value * 0.370685147638) * 1e3d, TorquePerLengthUnit.NewtonMeterPerMeter),
+ (TorquePerLengthUnit.KilopoundForceFootPerFoot, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength((_value * 4.4482216152605) * 1e3d, TorquePerLengthUnit.NewtonMeterPerMeter),
+ (TorquePerLengthUnit.KilopoundForceInchPerFoot, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength((_value * (4.4482216152605 * 2.54e-2) / 0.3048) * 1e3d, TorquePerLengthUnit.NewtonMeterPerMeter),
(TorquePerLengthUnit.MeganewtonCentimeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength((_value * 0.01) * 1e6d, TorquePerLengthUnit.NewtonMeterPerMeter),
(TorquePerLengthUnit.MeganewtonMeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength((_value) * 1e6d, TorquePerLengthUnit.NewtonMeterPerMeter),
(TorquePerLengthUnit.MeganewtonMillimeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength((_value * 0.001) * 1e6d, TorquePerLengthUnit.NewtonMeterPerMeter),
- (TorquePerLengthUnit.MegapoundForceFootPerFoot, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength((_value * 4.44822161526) * 1e6d, TorquePerLengthUnit.NewtonMeterPerMeter),
- (TorquePerLengthUnit.MegapoundForceInchPerFoot, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength((_value * 0.370685147638) * 1e6d, TorquePerLengthUnit.NewtonMeterPerMeter),
+ (TorquePerLengthUnit.MegapoundForceFootPerFoot, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength((_value * 4.4482216152605) * 1e6d, TorquePerLengthUnit.NewtonMeterPerMeter),
+ (TorquePerLengthUnit.MegapoundForceInchPerFoot, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength((_value * (4.4482216152605 * 2.54e-2) / 0.3048) * 1e6d, TorquePerLengthUnit.NewtonMeterPerMeter),
(TorquePerLengthUnit.NewtonCentimeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength(_value * 0.01, TorquePerLengthUnit.NewtonMeterPerMeter),
(TorquePerLengthUnit.NewtonMillimeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength(_value * 0.001, TorquePerLengthUnit.NewtonMeterPerMeter),
- (TorquePerLengthUnit.PoundForceFootPerFoot, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength(_value * 4.44822161526, TorquePerLengthUnit.NewtonMeterPerMeter),
- (TorquePerLengthUnit.PoundForceInchPerFoot, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength(_value * 0.370685147638, TorquePerLengthUnit.NewtonMeterPerMeter),
- (TorquePerLengthUnit.TonneForceCentimeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength(_value * 98.0665019960652, TorquePerLengthUnit.NewtonMeterPerMeter),
- (TorquePerLengthUnit.TonneForceMeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength(_value * 9806.65019960653, TorquePerLengthUnit.NewtonMeterPerMeter),
- (TorquePerLengthUnit.TonneForceMillimeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength(_value * 9.80665019960652, TorquePerLengthUnit.NewtonMeterPerMeter),
+ (TorquePerLengthUnit.PoundForceFootPerFoot, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength(_value * 4.4482216152605, TorquePerLengthUnit.NewtonMeterPerMeter),
+ (TorquePerLengthUnit.PoundForceInchPerFoot, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength(_value * (4.4482216152605 * 2.54e-2) / 0.3048, TorquePerLengthUnit.NewtonMeterPerMeter),
+ (TorquePerLengthUnit.TonneForceCentimeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength(_value * 9.80665e1, TorquePerLengthUnit.NewtonMeterPerMeter),
+ (TorquePerLengthUnit.TonneForceMeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength(_value * 9.80665e3, TorquePerLengthUnit.NewtonMeterPerMeter),
+ (TorquePerLengthUnit.TonneForceMillimeterPerMeter, TorquePerLengthUnit.NewtonMeterPerMeter) => new TorquePerLength(_value * 9.80665, TorquePerLengthUnit.NewtonMeterPerMeter),
// BaseUnit -> TorquePerLengthUnit
- (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.KilogramForceCentimeterPerMeter) => new TorquePerLength(_value * 10.1971619222242, TorquePerLengthUnit.KilogramForceCentimeterPerMeter),
- (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.KilogramForceMeterPerMeter) => new TorquePerLength(_value * 0.101971619222242, TorquePerLengthUnit.KilogramForceMeterPerMeter),
- (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.KilogramForceMillimeterPerMeter) => new TorquePerLength(_value * 101.971619222242, TorquePerLengthUnit.KilogramForceMillimeterPerMeter),
+ (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.KilogramForceCentimeterPerMeter) => new TorquePerLength(_value / 9.80665e-2, TorquePerLengthUnit.KilogramForceCentimeterPerMeter),
+ (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.KilogramForceMeterPerMeter) => new TorquePerLength(_value / 9.80665, TorquePerLengthUnit.KilogramForceMeterPerMeter),
+ (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.KilogramForceMillimeterPerMeter) => new TorquePerLength(_value / 9.80665e-3, TorquePerLengthUnit.KilogramForceMillimeterPerMeter),
(TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.KilonewtonCentimeterPerMeter) => new TorquePerLength((_value * 100) / 1e3d, TorquePerLengthUnit.KilonewtonCentimeterPerMeter),
(TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.KilonewtonMeterPerMeter) => new TorquePerLength((_value) / 1e3d, TorquePerLengthUnit.KilonewtonMeterPerMeter),
(TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.KilonewtonMillimeterPerMeter) => new TorquePerLength((_value * 1000) / 1e3d, TorquePerLengthUnit.KilonewtonMillimeterPerMeter),
- (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.KilopoundForceFootPerFoot) => new TorquePerLength((_value / 4.44822161526) / 1e3d, TorquePerLengthUnit.KilopoundForceFootPerFoot),
- (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.KilopoundForceInchPerFoot) => new TorquePerLength((_value / 0.370685147638) / 1e3d, TorquePerLengthUnit.KilopoundForceInchPerFoot),
+ (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.KilopoundForceFootPerFoot) => new TorquePerLength((_value / 4.4482216152605) / 1e3d, TorquePerLengthUnit.KilopoundForceFootPerFoot),
+ (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.KilopoundForceInchPerFoot) => new TorquePerLength((_value * 0.3048 / (4.4482216152605 * 2.54e-2)) / 1e3d, TorquePerLengthUnit.KilopoundForceInchPerFoot),
(TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.MeganewtonCentimeterPerMeter) => new TorquePerLength((_value * 100) / 1e6d, TorquePerLengthUnit.MeganewtonCentimeterPerMeter),
(TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.MeganewtonMeterPerMeter) => new TorquePerLength((_value) / 1e6d, TorquePerLengthUnit.MeganewtonMeterPerMeter),
(TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.MeganewtonMillimeterPerMeter) => new TorquePerLength((_value * 1000) / 1e6d, TorquePerLengthUnit.MeganewtonMillimeterPerMeter),
- (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.MegapoundForceFootPerFoot) => new TorquePerLength((_value / 4.44822161526) / 1e6d, TorquePerLengthUnit.MegapoundForceFootPerFoot),
- (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.MegapoundForceInchPerFoot) => new TorquePerLength((_value / 0.370685147638) / 1e6d, TorquePerLengthUnit.MegapoundForceInchPerFoot),
+ (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.MegapoundForceFootPerFoot) => new TorquePerLength((_value / 4.4482216152605) / 1e6d, TorquePerLengthUnit.MegapoundForceFootPerFoot),
+ (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.MegapoundForceInchPerFoot) => new TorquePerLength((_value * 0.3048 / (4.4482216152605 * 2.54e-2)) / 1e6d, TorquePerLengthUnit.MegapoundForceInchPerFoot),
(TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.NewtonCentimeterPerMeter) => new TorquePerLength(_value * 100, TorquePerLengthUnit.NewtonCentimeterPerMeter),
(TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.NewtonMillimeterPerMeter) => new TorquePerLength(_value * 1000, TorquePerLengthUnit.NewtonMillimeterPerMeter),
- (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.PoundForceFootPerFoot) => new TorquePerLength(_value / 4.44822161526, TorquePerLengthUnit.PoundForceFootPerFoot),
- (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.PoundForceInchPerFoot) => new TorquePerLength(_value / 0.370685147638, TorquePerLengthUnit.PoundForceInchPerFoot),
- (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.TonneForceCentimeterPerMeter) => new TorquePerLength(_value * 0.0101971619222242, TorquePerLengthUnit.TonneForceCentimeterPerMeter),
- (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.TonneForceMeterPerMeter) => new TorquePerLength(_value * 0.000101971619222242, TorquePerLengthUnit.TonneForceMeterPerMeter),
- (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.TonneForceMillimeterPerMeter) => new TorquePerLength(_value * 0.101971619222242, TorquePerLengthUnit.TonneForceMillimeterPerMeter),
+ (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.PoundForceFootPerFoot) => new TorquePerLength(_value / 4.4482216152605, TorquePerLengthUnit.PoundForceFootPerFoot),
+ (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.PoundForceInchPerFoot) => new TorquePerLength(_value * 0.3048 / (4.4482216152605 * 2.54e-2), TorquePerLengthUnit.PoundForceInchPerFoot),
+ (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.TonneForceCentimeterPerMeter) => new TorquePerLength(_value / 9.80665e1, TorquePerLengthUnit.TonneForceCentimeterPerMeter),
+ (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.TonneForceMeterPerMeter) => new TorquePerLength(_value / 9.80665e3, TorquePerLengthUnit.TonneForceMeterPerMeter),
+ (TorquePerLengthUnit.NewtonMeterPerMeter, TorquePerLengthUnit.TonneForceMillimeterPerMeter) => new TorquePerLength(_value / 9.80665, TorquePerLengthUnit.TonneForceMillimeterPerMeter),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/Volume.g.cs b/UnitsNet/GeneratedCode/Quantities/Volume.g.cs
index 5c3b28c287..2b6d756217 100644
--- a/UnitsNet/GeneratedCode/Quantities/Volume.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/Volume.g.cs
@@ -1674,40 +1674,40 @@ private bool TryToUnit(VolumeUnit unit, [NotNullWhen(true)] out Volume? converte
Volume? convertedOrNull = (Unit, unit) switch
{
// VolumeUnit -> BaseUnit
- (VolumeUnit.AcreFoot, VolumeUnit.CubicMeter) => new Volume(_value / 0.000810714, VolumeUnit.CubicMeter),
+ (VolumeUnit.AcreFoot, VolumeUnit.CubicMeter) => new Volume(_value * 1233.48183754752, VolumeUnit.CubicMeter),
(VolumeUnit.AuTablespoon, VolumeUnit.CubicMeter) => new Volume(_value * 2e-5, VolumeUnit.CubicMeter),
- (VolumeUnit.BoardFoot, VolumeUnit.CubicMeter) => new Volume(_value * 2.3597372158e-3, VolumeUnit.CubicMeter),
+ (VolumeUnit.BoardFoot, VolumeUnit.CubicMeter) => new Volume(_value * (0.028316846592 / 12), VolumeUnit.CubicMeter),
(VolumeUnit.Centiliter, VolumeUnit.CubicMeter) => new Volume((_value / 1e3) * 1e-2d, VolumeUnit.CubicMeter),
(VolumeUnit.CubicCentimeter, VolumeUnit.CubicMeter) => new Volume(_value / 1e6, VolumeUnit.CubicMeter),
(VolumeUnit.CubicDecimeter, VolumeUnit.CubicMeter) => new Volume(_value / 1e3, VolumeUnit.CubicMeter),
- (VolumeUnit.CubicFoot, VolumeUnit.CubicMeter) => new Volume(_value * 2.8316846592e-2, VolumeUnit.CubicMeter),
+ (VolumeUnit.CubicFoot, VolumeUnit.CubicMeter) => new Volume(_value * 0.028316846592, VolumeUnit.CubicMeter),
(VolumeUnit.CubicHectometer, VolumeUnit.CubicMeter) => new Volume(_value * 1e6, VolumeUnit.CubicMeter),
(VolumeUnit.CubicInch, VolumeUnit.CubicMeter) => new Volume(_value * 1.6387064e-5, VolumeUnit.CubicMeter),
(VolumeUnit.CubicKilometer, VolumeUnit.CubicMeter) => new Volume(_value * 1e9, VolumeUnit.CubicMeter),
(VolumeUnit.CubicMicrometer, VolumeUnit.CubicMeter) => new Volume(_value / 1e18, VolumeUnit.CubicMeter),
- (VolumeUnit.CubicMile, VolumeUnit.CubicMeter) => new Volume(_value * 4.16818182544058e9, VolumeUnit.CubicMeter),
+ (VolumeUnit.CubicMile, VolumeUnit.CubicMeter) => new Volume(_value * 4.168181825440579584e9, VolumeUnit.CubicMeter),
(VolumeUnit.CubicMillimeter, VolumeUnit.CubicMeter) => new Volume(_value / 1e9, VolumeUnit.CubicMeter),
- (VolumeUnit.CubicYard, VolumeUnit.CubicMeter) => new Volume(_value * 0.764554858, VolumeUnit.CubicMeter),
+ (VolumeUnit.CubicYard, VolumeUnit.CubicMeter) => new Volume(_value * 0.764554857984, VolumeUnit.CubicMeter),
(VolumeUnit.Decaliter, VolumeUnit.CubicMeter) => new Volume((_value / 1e3) * 1e1d, VolumeUnit.CubicMeter),
(VolumeUnit.DecausGallon, VolumeUnit.CubicMeter) => new Volume((_value * 0.003785411784) * 1e1d, VolumeUnit.CubicMeter),
(VolumeUnit.Deciliter, VolumeUnit.CubicMeter) => new Volume((_value / 1e3) * 1e-1d, VolumeUnit.CubicMeter),
(VolumeUnit.DeciusGallon, VolumeUnit.CubicMeter) => new Volume((_value * 0.003785411784) * 1e-1d, VolumeUnit.CubicMeter),
- (VolumeUnit.HectocubicFoot, VolumeUnit.CubicMeter) => new Volume((_value * 2.8316846592e-2) * 1e2d, VolumeUnit.CubicMeter),
+ (VolumeUnit.HectocubicFoot, VolumeUnit.CubicMeter) => new Volume((_value * 0.028316846592) * 1e2d, VolumeUnit.CubicMeter),
(VolumeUnit.HectocubicMeter, VolumeUnit.CubicMeter) => new Volume((_value) * 1e2d, VolumeUnit.CubicMeter),
(VolumeUnit.Hectoliter, VolumeUnit.CubicMeter) => new Volume((_value / 1e3) * 1e2d, VolumeUnit.CubicMeter),
(VolumeUnit.HectousGallon, VolumeUnit.CubicMeter) => new Volume((_value * 0.003785411784) * 1e2d, VolumeUnit.CubicMeter),
(VolumeUnit.ImperialBeerBarrel, VolumeUnit.CubicMeter) => new Volume(_value * 0.16365924, VolumeUnit.CubicMeter),
(VolumeUnit.ImperialGallon, VolumeUnit.CubicMeter) => new Volume(_value * 0.00454609, VolumeUnit.CubicMeter),
- (VolumeUnit.ImperialOunce, VolumeUnit.CubicMeter) => new Volume(_value * 2.8413062499962901241875439064617e-5, VolumeUnit.CubicMeter),
+ (VolumeUnit.ImperialOunce, VolumeUnit.CubicMeter) => new Volume(_value * 2.84130625e-5, VolumeUnit.CubicMeter),
(VolumeUnit.ImperialPint, VolumeUnit.CubicMeter) => new Volume(_value * 5.6826125e-4, VolumeUnit.CubicMeter),
(VolumeUnit.ImperialQuart, VolumeUnit.CubicMeter) => new Volume(_value * 1.1365225e-3, VolumeUnit.CubicMeter),
- (VolumeUnit.KilocubicFoot, VolumeUnit.CubicMeter) => new Volume((_value * 2.8316846592e-2) * 1e3d, VolumeUnit.CubicMeter),
+ (VolumeUnit.KilocubicFoot, VolumeUnit.CubicMeter) => new Volume((_value * 0.028316846592) * 1e3d, VolumeUnit.CubicMeter),
(VolumeUnit.KilocubicMeter, VolumeUnit.CubicMeter) => new Volume((_value) * 1e3d, VolumeUnit.CubicMeter),
(VolumeUnit.KiloimperialGallon, VolumeUnit.CubicMeter) => new Volume((_value * 0.00454609) * 1e3d, VolumeUnit.CubicMeter),
(VolumeUnit.Kiloliter, VolumeUnit.CubicMeter) => new Volume((_value / 1e3) * 1e3d, VolumeUnit.CubicMeter),
(VolumeUnit.KilousGallon, VolumeUnit.CubicMeter) => new Volume((_value * 0.003785411784) * 1e3d, VolumeUnit.CubicMeter),
(VolumeUnit.Liter, VolumeUnit.CubicMeter) => new Volume(_value / 1e3, VolumeUnit.CubicMeter),
- (VolumeUnit.MegacubicFoot, VolumeUnit.CubicMeter) => new Volume((_value * 2.8316846592e-2) * 1e6d, VolumeUnit.CubicMeter),
+ (VolumeUnit.MegacubicFoot, VolumeUnit.CubicMeter) => new Volume((_value * 0.028316846592) * 1e6d, VolumeUnit.CubicMeter),
(VolumeUnit.MegaimperialGallon, VolumeUnit.CubicMeter) => new Volume((_value * 0.00454609) * 1e6d, VolumeUnit.CubicMeter),
(VolumeUnit.Megaliter, VolumeUnit.CubicMeter) => new Volume((_value / 1e3) * 1e6d, VolumeUnit.CubicMeter),
(VolumeUnit.MegausGallon, VolumeUnit.CubicMeter) => new Volume((_value * 0.003785411784) * 1e6d, VolumeUnit.CubicMeter),
@@ -1718,51 +1718,51 @@ private bool TryToUnit(VolumeUnit unit, [NotNullWhen(true)] out Volume? converte
(VolumeUnit.Nanoliter, VolumeUnit.CubicMeter) => new Volume((_value / 1e3) * 1e-9d, VolumeUnit.CubicMeter),
(VolumeUnit.OilBarrel, VolumeUnit.CubicMeter) => new Volume(_value * 0.158987294928, VolumeUnit.CubicMeter),
(VolumeUnit.UkTablespoon, VolumeUnit.CubicMeter) => new Volume(_value * 1.5e-5, VolumeUnit.CubicMeter),
- (VolumeUnit.UsBeerBarrel, VolumeUnit.CubicMeter) => new Volume(_value * 0.1173477658, VolumeUnit.CubicMeter),
+ (VolumeUnit.UsBeerBarrel, VolumeUnit.CubicMeter) => new Volume(_value * 0.117347765304, VolumeUnit.CubicMeter),
(VolumeUnit.UsCustomaryCup, VolumeUnit.CubicMeter) => new Volume(_value * 0.0002365882365, VolumeUnit.CubicMeter),
(VolumeUnit.UsGallon, VolumeUnit.CubicMeter) => new Volume(_value * 0.003785411784, VolumeUnit.CubicMeter),
(VolumeUnit.UsLegalCup, VolumeUnit.CubicMeter) => new Volume(_value * 0.00024, VolumeUnit.CubicMeter),
- (VolumeUnit.UsOunce, VolumeUnit.CubicMeter) => new Volume(_value * 2.957352956253760505068307980135e-5, VolumeUnit.CubicMeter),
+ (VolumeUnit.UsOunce, VolumeUnit.CubicMeter) => new Volume(_value * 2.95735295625e-5, VolumeUnit.CubicMeter),
(VolumeUnit.UsPint, VolumeUnit.CubicMeter) => new Volume(_value * 4.73176473e-4, VolumeUnit.CubicMeter),
(VolumeUnit.UsQuart, VolumeUnit.CubicMeter) => new Volume(_value * 9.46352946e-4, VolumeUnit.CubicMeter),
(VolumeUnit.UsTablespoon, VolumeUnit.CubicMeter) => new Volume(_value * 1.478676478125e-5, VolumeUnit.CubicMeter),
(VolumeUnit.UsTeaspoon, VolumeUnit.CubicMeter) => new Volume(_value * 4.92892159375e-6, VolumeUnit.CubicMeter),
// BaseUnit -> VolumeUnit
- (VolumeUnit.CubicMeter, VolumeUnit.AcreFoot) => new Volume(_value * 0.000810714, VolumeUnit.AcreFoot),
+ (VolumeUnit.CubicMeter, VolumeUnit.AcreFoot) => new Volume(_value / 1233.48183754752, VolumeUnit.AcreFoot),
(VolumeUnit.CubicMeter, VolumeUnit.AuTablespoon) => new Volume(_value / 2e-5, VolumeUnit.AuTablespoon),
- (VolumeUnit.CubicMeter, VolumeUnit.BoardFoot) => new Volume(_value / 2.3597372158e-3, VolumeUnit.BoardFoot),
+ (VolumeUnit.CubicMeter, VolumeUnit.BoardFoot) => new Volume(_value / (0.028316846592 / 12), VolumeUnit.BoardFoot),
(VolumeUnit.CubicMeter, VolumeUnit.Centiliter) => new Volume((_value * 1e3) / 1e-2d, VolumeUnit.Centiliter),
(VolumeUnit.CubicMeter, VolumeUnit.CubicCentimeter) => new Volume(_value * 1e6, VolumeUnit.CubicCentimeter),
(VolumeUnit.CubicMeter, VolumeUnit.CubicDecimeter) => new Volume(_value * 1e3, VolumeUnit.CubicDecimeter),
- (VolumeUnit.CubicMeter, VolumeUnit.CubicFoot) => new Volume(_value / 2.8316846592e-2, VolumeUnit.CubicFoot),
+ (VolumeUnit.CubicMeter, VolumeUnit.CubicFoot) => new Volume(_value / 0.028316846592, VolumeUnit.CubicFoot),
(VolumeUnit.CubicMeter, VolumeUnit.CubicHectometer) => new Volume(_value / 1e6, VolumeUnit.CubicHectometer),
(VolumeUnit.CubicMeter, VolumeUnit.CubicInch) => new Volume(_value / 1.6387064e-5, VolumeUnit.CubicInch),
(VolumeUnit.CubicMeter, VolumeUnit.CubicKilometer) => new Volume(_value / 1e9, VolumeUnit.CubicKilometer),
(VolumeUnit.CubicMeter, VolumeUnit.CubicMicrometer) => new Volume(_value * 1e18, VolumeUnit.CubicMicrometer),
- (VolumeUnit.CubicMeter, VolumeUnit.CubicMile) => new Volume(_value / 4.16818182544058e9, VolumeUnit.CubicMile),
+ (VolumeUnit.CubicMeter, VolumeUnit.CubicMile) => new Volume(_value / 4.168181825440579584e9, VolumeUnit.CubicMile),
(VolumeUnit.CubicMeter, VolumeUnit.CubicMillimeter) => new Volume(_value * 1e9, VolumeUnit.CubicMillimeter),
- (VolumeUnit.CubicMeter, VolumeUnit.CubicYard) => new Volume(_value / 0.764554858, VolumeUnit.CubicYard),
+ (VolumeUnit.CubicMeter, VolumeUnit.CubicYard) => new Volume(_value / 0.764554857984, VolumeUnit.CubicYard),
(VolumeUnit.CubicMeter, VolumeUnit.Decaliter) => new Volume((_value * 1e3) / 1e1d, VolumeUnit.Decaliter),
(VolumeUnit.CubicMeter, VolumeUnit.DecausGallon) => new Volume((_value / 0.003785411784) / 1e1d, VolumeUnit.DecausGallon),
(VolumeUnit.CubicMeter, VolumeUnit.Deciliter) => new Volume((_value * 1e3) / 1e-1d, VolumeUnit.Deciliter),
(VolumeUnit.CubicMeter, VolumeUnit.DeciusGallon) => new Volume((_value / 0.003785411784) / 1e-1d, VolumeUnit.DeciusGallon),
- (VolumeUnit.CubicMeter, VolumeUnit.HectocubicFoot) => new Volume((_value / 2.8316846592e-2) / 1e2d, VolumeUnit.HectocubicFoot),
+ (VolumeUnit.CubicMeter, VolumeUnit.HectocubicFoot) => new Volume((_value / 0.028316846592) / 1e2d, VolumeUnit.HectocubicFoot),
(VolumeUnit.CubicMeter, VolumeUnit.HectocubicMeter) => new Volume((_value) / 1e2d, VolumeUnit.HectocubicMeter),
(VolumeUnit.CubicMeter, VolumeUnit.Hectoliter) => new Volume((_value * 1e3) / 1e2d, VolumeUnit.Hectoliter),
(VolumeUnit.CubicMeter, VolumeUnit.HectousGallon) => new Volume((_value / 0.003785411784) / 1e2d, VolumeUnit.HectousGallon),
(VolumeUnit.CubicMeter, VolumeUnit.ImperialBeerBarrel) => new Volume(_value / 0.16365924, VolumeUnit.ImperialBeerBarrel),
(VolumeUnit.CubicMeter, VolumeUnit.ImperialGallon) => new Volume(_value / 0.00454609, VolumeUnit.ImperialGallon),
- (VolumeUnit.CubicMeter, VolumeUnit.ImperialOunce) => new Volume(_value / 2.8413062499962901241875439064617e-5, VolumeUnit.ImperialOunce),
+ (VolumeUnit.CubicMeter, VolumeUnit.ImperialOunce) => new Volume(_value / 2.84130625e-5, VolumeUnit.ImperialOunce),
(VolumeUnit.CubicMeter, VolumeUnit.ImperialPint) => new Volume(_value / 5.6826125e-4, VolumeUnit.ImperialPint),
(VolumeUnit.CubicMeter, VolumeUnit.ImperialQuart) => new Volume(_value / 1.1365225e-3, VolumeUnit.ImperialQuart),
- (VolumeUnit.CubicMeter, VolumeUnit.KilocubicFoot) => new Volume((_value / 2.8316846592e-2) / 1e3d, VolumeUnit.KilocubicFoot),
+ (VolumeUnit.CubicMeter, VolumeUnit.KilocubicFoot) => new Volume((_value / 0.028316846592) / 1e3d, VolumeUnit.KilocubicFoot),
(VolumeUnit.CubicMeter, VolumeUnit.KilocubicMeter) => new Volume((_value) / 1e3d, VolumeUnit.KilocubicMeter),
(VolumeUnit.CubicMeter, VolumeUnit.KiloimperialGallon) => new Volume((_value / 0.00454609) / 1e3d, VolumeUnit.KiloimperialGallon),
(VolumeUnit.CubicMeter, VolumeUnit.Kiloliter) => new Volume((_value * 1e3) / 1e3d, VolumeUnit.Kiloliter),
(VolumeUnit.CubicMeter, VolumeUnit.KilousGallon) => new Volume((_value / 0.003785411784) / 1e3d, VolumeUnit.KilousGallon),
(VolumeUnit.CubicMeter, VolumeUnit.Liter) => new Volume(_value * 1e3, VolumeUnit.Liter),
- (VolumeUnit.CubicMeter, VolumeUnit.MegacubicFoot) => new Volume((_value / 2.8316846592e-2) / 1e6d, VolumeUnit.MegacubicFoot),
+ (VolumeUnit.CubicMeter, VolumeUnit.MegacubicFoot) => new Volume((_value / 0.028316846592) / 1e6d, VolumeUnit.MegacubicFoot),
(VolumeUnit.CubicMeter, VolumeUnit.MegaimperialGallon) => new Volume((_value / 0.00454609) / 1e6d, VolumeUnit.MegaimperialGallon),
(VolumeUnit.CubicMeter, VolumeUnit.Megaliter) => new Volume((_value * 1e3) / 1e6d, VolumeUnit.Megaliter),
(VolumeUnit.CubicMeter, VolumeUnit.MegausGallon) => new Volume((_value / 0.003785411784) / 1e6d, VolumeUnit.MegausGallon),
@@ -1773,11 +1773,11 @@ private bool TryToUnit(VolumeUnit unit, [NotNullWhen(true)] out Volume? converte
(VolumeUnit.CubicMeter, VolumeUnit.Nanoliter) => new Volume((_value * 1e3) / 1e-9d, VolumeUnit.Nanoliter),
(VolumeUnit.CubicMeter, VolumeUnit.OilBarrel) => new Volume(_value / 0.158987294928, VolumeUnit.OilBarrel),
(VolumeUnit.CubicMeter, VolumeUnit.UkTablespoon) => new Volume(_value / 1.5e-5, VolumeUnit.UkTablespoon),
- (VolumeUnit.CubicMeter, VolumeUnit.UsBeerBarrel) => new Volume(_value / 0.1173477658, VolumeUnit.UsBeerBarrel),
+ (VolumeUnit.CubicMeter, VolumeUnit.UsBeerBarrel) => new Volume(_value / 0.117347765304, VolumeUnit.UsBeerBarrel),
(VolumeUnit.CubicMeter, VolumeUnit.UsCustomaryCup) => new Volume(_value / 0.0002365882365, VolumeUnit.UsCustomaryCup),
(VolumeUnit.CubicMeter, VolumeUnit.UsGallon) => new Volume(_value / 0.003785411784, VolumeUnit.UsGallon),
(VolumeUnit.CubicMeter, VolumeUnit.UsLegalCup) => new Volume(_value / 0.00024, VolumeUnit.UsLegalCup),
- (VolumeUnit.CubicMeter, VolumeUnit.UsOunce) => new Volume(_value / 2.957352956253760505068307980135e-5, VolumeUnit.UsOunce),
+ (VolumeUnit.CubicMeter, VolumeUnit.UsOunce) => new Volume(_value / 2.95735295625e-5, VolumeUnit.UsOunce),
(VolumeUnit.CubicMeter, VolumeUnit.UsPint) => new Volume(_value / 4.73176473e-4, VolumeUnit.UsPint),
(VolumeUnit.CubicMeter, VolumeUnit.UsQuart) => new Volume(_value / 9.46352946e-4, VolumeUnit.UsQuart),
(VolumeUnit.CubicMeter, VolumeUnit.UsTablespoon) => new Volume(_value / 1.478676478125e-5, VolumeUnit.UsTablespoon),
diff --git a/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs
index 90b810bbf9..4465aeafd8 100644
--- a/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs
@@ -2052,156 +2052,156 @@ private bool TryToUnit(VolumeFlowUnit unit, [NotNullWhen(true)] out VolumeFlow?
VolumeFlow? convertedOrNull = (Unit, unit) switch
{
// VolumeFlowUnit -> BaseUnit
- (VolumeFlowUnit.AcreFootPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 70.0457, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.AcreFootPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 2.91857, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.AcreFootPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 0.0486427916, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.AcreFootPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 0.000810713194, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.CentiliterPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 86400000) * 1e-2d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.CentiliterPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 3600000.000) * 1e-2d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.CentiliterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 60000.00000) * 1e-2d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.AcreFootPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 1233.48183754752 / 86400, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.AcreFootPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 1233.48183754752 / 3600, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.AcreFootPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 1233.48183754752 / 60, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.AcreFootPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 1233.48183754752, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.CentiliterPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 86400)) * 1e-2d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.CentiliterPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 3600)) * 1e-2d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.CentiliterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 60)) * 1e-2d, VolumeFlowUnit.CubicMeterPerSecond),
(VolumeFlowUnit.CentiliterPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 1000) * 1e-2d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.CubicCentimeterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 1.6666666666667e-8, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.CubicCentimeterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 1e-6 / 60, VolumeFlowUnit.CubicMeterPerSecond),
(VolumeFlowUnit.CubicDecimeterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 60000.00000, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.CubicFootPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 7.8657907199999087346816086183876e-6, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.CubicFootPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 2118.88000326, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.CubicFootPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 35.314666721, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.CubicFootPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 0.028316846592 / 3600, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.CubicFootPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 0.028316846592 / 60, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.CubicFootPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 0.028316846592, VolumeFlowUnit.CubicMeterPerSecond),
(VolumeFlowUnit.CubicMeterPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 86400, VolumeFlowUnit.CubicMeterPerSecond),
(VolumeFlowUnit.CubicMeterPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 3600, VolumeFlowUnit.CubicMeterPerSecond),
(VolumeFlowUnit.CubicMeterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 60, VolumeFlowUnit.CubicMeterPerSecond),
(VolumeFlowUnit.CubicMillimeterPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 1e-9, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.CubicYardPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 113007, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.CubicYardPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 2.1237634944E-4, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.CubicYardPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 0.0127425809664, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.CubicYardPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 0.764554857984 / 86400, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.CubicYardPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 0.764554857984 / 3600, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.CubicYardPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 0.764554857984 / 60, VolumeFlowUnit.CubicMeterPerSecond),
(VolumeFlowUnit.CubicYardPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 0.764554857984, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.DecaliterPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 86400000) * 1e1d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.DecaliterPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 3600000.000) * 1e1d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.DecaliterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 60000.00000) * 1e1d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.DecaliterPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 86400)) * 1e1d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.DecaliterPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 3600)) * 1e1d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.DecaliterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 60)) * 1e1d, VolumeFlowUnit.CubicMeterPerSecond),
(VolumeFlowUnit.DecaliterPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 1000) * 1e1d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.DeciliterPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 86400000) * 1e-1d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.DeciliterPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 3600000.000) * 1e-1d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.DeciliterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 60000.00000) * 1e-1d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.DeciliterPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 86400)) * 1e-1d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.DeciliterPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 3600)) * 1e-1d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.DeciliterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 60)) * 1e-1d, VolumeFlowUnit.CubicMeterPerSecond),
(VolumeFlowUnit.DeciliterPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 1000) * 1e-1d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.HectoliterPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 86400000) * 1e2d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.HectoliterPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 3600000.000) * 1e2d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.HectoliterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 60000.00000) * 1e2d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.HectoliterPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 86400)) * 1e2d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.HectoliterPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 3600)) * 1e2d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.HectoliterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 60)) * 1e2d, VolumeFlowUnit.CubicMeterPerSecond),
(VolumeFlowUnit.HectoliterPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 1000) * 1e2d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.KiloliterPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 86400000) * 1e3d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.KiloliterPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 3600000.000) * 1e3d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.KiloliterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 60000.00000) * 1e3d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.KiloliterPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 86400)) * 1e3d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.KiloliterPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 3600)) * 1e3d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.KiloliterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 60)) * 1e3d, VolumeFlowUnit.CubicMeterPerSecond),
(VolumeFlowUnit.KiloliterPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 1000) * 1e3d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.KilousGallonPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 15.850323141489, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.LiterPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 86400000, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.LiterPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 3600000.000, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.LiterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 60000.00000, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.KilousGallonPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 1000 * 0.003785411784 / 60, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.LiterPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / (1000 * 86400), VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.LiterPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / (1000 * 3600), VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.LiterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / (1000 * 60), VolumeFlowUnit.CubicMeterPerSecond),
(VolumeFlowUnit.LiterPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 1000, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.MegaliterPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 86400000) * 1e6d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.MegaliterPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 3600000.000) * 1e6d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.MegaliterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 60000.00000) * 1e6d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.MegaliterPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 86400)) * 1e6d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.MegaliterPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 3600)) * 1e6d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.MegaliterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 60)) * 1e6d, VolumeFlowUnit.CubicMeterPerSecond),
(VolumeFlowUnit.MegaliterPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 1000) * 1e6d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.MegaukGallonPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 19005304) * 1e6d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.MegaukGallonPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 219.969) * 1e6d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.MegausGallonPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 22824465.227) * 1e6d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.MicroliterPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 86400000) * 1e-6d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.MicroliterPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 3600000.000) * 1e-6d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.MicroliterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 60000.00000) * 1e-6d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.MegaukGallonPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value * 0.00454609 / 86400) * 1e6d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.MegaukGallonPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value * 0.00454609) * 1e6d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.MegausGallonPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value * 0.003785411784 / 86400) * 1e6d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.MicroliterPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 86400)) * 1e-6d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.MicroliterPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 3600)) * 1e-6d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.MicroliterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 60)) * 1e-6d, VolumeFlowUnit.CubicMeterPerSecond),
(VolumeFlowUnit.MicroliterPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 1000) * 1e-6d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.MilliliterPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 86400000) * 1e-3d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.MilliliterPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 3600000.000) * 1e-3d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.MilliliterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 60000.00000) * 1e-3d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.MilliliterPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 86400)) * 1e-3d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.MilliliterPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 3600)) * 1e-3d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.MilliliterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 60)) * 1e-3d, VolumeFlowUnit.CubicMeterPerSecond),
(VolumeFlowUnit.MilliliterPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 1000) * 1e-3d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.MillionUsGallonPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 22.824465227, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.NanoliterPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 86400000) * 1e-9d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.NanoliterPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 3600000.000) * 1e-9d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.NanoliterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 60000.00000) * 1e-9d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.MillionUsGallonPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 1e6 * 0.003785411784 / 86400, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.NanoliterPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 86400)) * 1e-9d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.NanoliterPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 3600)) * 1e-9d, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.NanoliterPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / (1000 * 60)) * 1e-9d, VolumeFlowUnit.CubicMeterPerSecond),
(VolumeFlowUnit.NanoliterPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow((_value / 1000) * 1e-9d, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.OilBarrelPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 1.8401307283333333333333333333333e-6, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.OilBarrelPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 4.41631375e-5, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.OilBarrelPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 2.64978825e-3, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.OilBarrelPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 6.28981, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.UkGallonPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 19005304, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.UkGallonPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 791887.667, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.UkGallonPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 13198.2, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.UkGallonPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 219.969, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.UsGallonPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 22824465.227, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.UsGallonPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 951019.38848933424, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.UsGallonPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 15850.323141489, VolumeFlowUnit.CubicMeterPerSecond),
- (VolumeFlowUnit.UsGallonPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value / 264.1720523581484, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.OilBarrelPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 0.158987294928 / 86400, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.OilBarrelPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 0.158987294928 / 3600, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.OilBarrelPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 0.158987294928 / 60, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.OilBarrelPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 0.158987294928, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.UkGallonPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 0.00454609 / 86400, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.UkGallonPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 0.00454609 / 3600, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.UkGallonPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 0.00454609 / 60, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.UkGallonPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 0.00454609, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.UsGallonPerDay, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 0.003785411784 / 86400, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.UsGallonPerHour, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 0.003785411784 / 3600, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.UsGallonPerMinute, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 0.003785411784 / 60, VolumeFlowUnit.CubicMeterPerSecond),
+ (VolumeFlowUnit.UsGallonPerSecond, VolumeFlowUnit.CubicMeterPerSecond) => new VolumeFlow(_value * 0.003785411784, VolumeFlowUnit.CubicMeterPerSecond),
// BaseUnit -> VolumeFlowUnit
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.AcreFootPerDay) => new VolumeFlow(_value * 70.0457, VolumeFlowUnit.AcreFootPerDay),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.AcreFootPerHour) => new VolumeFlow(_value * 2.91857, VolumeFlowUnit.AcreFootPerHour),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.AcreFootPerMinute) => new VolumeFlow(_value * 0.0486427916, VolumeFlowUnit.AcreFootPerMinute),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.AcreFootPerSecond) => new VolumeFlow(_value * 0.000810713194, VolumeFlowUnit.AcreFootPerSecond),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CentiliterPerDay) => new VolumeFlow((_value * 86400000) / 1e-2d, VolumeFlowUnit.CentiliterPerDay),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CentiliterPerHour) => new VolumeFlow((_value * 3600000.000) / 1e-2d, VolumeFlowUnit.CentiliterPerHour),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CentiliterPerMinute) => new VolumeFlow((_value * 60000.00000) / 1e-2d, VolumeFlowUnit.CentiliterPerMinute),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.AcreFootPerDay) => new VolumeFlow(_value / (1233.48183754752 / 86400), VolumeFlowUnit.AcreFootPerDay),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.AcreFootPerHour) => new VolumeFlow(_value / (1233.48183754752 / 3600), VolumeFlowUnit.AcreFootPerHour),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.AcreFootPerMinute) => new VolumeFlow(_value / (1233.48183754752 / 60), VolumeFlowUnit.AcreFootPerMinute),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.AcreFootPerSecond) => new VolumeFlow(_value / 1233.48183754752, VolumeFlowUnit.AcreFootPerSecond),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CentiliterPerDay) => new VolumeFlow((_value * (1000 * 86400)) / 1e-2d, VolumeFlowUnit.CentiliterPerDay),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CentiliterPerHour) => new VolumeFlow((_value * (1000 * 3600)) / 1e-2d, VolumeFlowUnit.CentiliterPerHour),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CentiliterPerMinute) => new VolumeFlow((_value * (1000 * 60)) / 1e-2d, VolumeFlowUnit.CentiliterPerMinute),
(VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CentiliterPerSecond) => new VolumeFlow((_value * 1000) / 1e-2d, VolumeFlowUnit.CentiliterPerSecond),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CubicCentimeterPerMinute) => new VolumeFlow(_value / 1.6666666666667e-8, VolumeFlowUnit.CubicCentimeterPerMinute),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CubicCentimeterPerMinute) => new VolumeFlow(_value / (1e-6 / 60), VolumeFlowUnit.CubicCentimeterPerMinute),
(VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CubicDecimeterPerMinute) => new VolumeFlow(_value * 60000.00000, VolumeFlowUnit.CubicDecimeterPerMinute),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CubicFootPerHour) => new VolumeFlow(_value / 7.8657907199999087346816086183876e-6, VolumeFlowUnit.CubicFootPerHour),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CubicFootPerMinute) => new VolumeFlow(_value * 2118.88000326, VolumeFlowUnit.CubicFootPerMinute),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CubicFootPerSecond) => new VolumeFlow(_value * 35.314666721, VolumeFlowUnit.CubicFootPerSecond),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CubicFootPerHour) => new VolumeFlow(_value / (0.028316846592 / 3600), VolumeFlowUnit.CubicFootPerHour),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CubicFootPerMinute) => new VolumeFlow(_value / (0.028316846592 / 60), VolumeFlowUnit.CubicFootPerMinute),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CubicFootPerSecond) => new VolumeFlow(_value / 0.028316846592, VolumeFlowUnit.CubicFootPerSecond),
(VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CubicMeterPerDay) => new VolumeFlow(_value * 86400, VolumeFlowUnit.CubicMeterPerDay),
(VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CubicMeterPerHour) => new VolumeFlow(_value * 3600, VolumeFlowUnit.CubicMeterPerHour),
(VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CubicMeterPerMinute) => new VolumeFlow(_value * 60, VolumeFlowUnit.CubicMeterPerMinute),
(VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CubicMillimeterPerSecond) => new VolumeFlow(_value / 1e-9, VolumeFlowUnit.CubicMillimeterPerSecond),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CubicYardPerDay) => new VolumeFlow(_value * 113007, VolumeFlowUnit.CubicYardPerDay),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CubicYardPerHour) => new VolumeFlow(_value / 2.1237634944E-4, VolumeFlowUnit.CubicYardPerHour),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CubicYardPerMinute) => new VolumeFlow(_value / 0.0127425809664, VolumeFlowUnit.CubicYardPerMinute),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CubicYardPerDay) => new VolumeFlow(_value / (0.764554857984 / 86400), VolumeFlowUnit.CubicYardPerDay),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CubicYardPerHour) => new VolumeFlow(_value / (0.764554857984 / 3600), VolumeFlowUnit.CubicYardPerHour),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CubicYardPerMinute) => new VolumeFlow(_value / (0.764554857984 / 60), VolumeFlowUnit.CubicYardPerMinute),
(VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.CubicYardPerSecond) => new VolumeFlow(_value / 0.764554857984, VolumeFlowUnit.CubicYardPerSecond),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.DecaliterPerDay) => new VolumeFlow((_value * 86400000) / 1e1d, VolumeFlowUnit.DecaliterPerDay),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.DecaliterPerHour) => new VolumeFlow((_value * 3600000.000) / 1e1d, VolumeFlowUnit.DecaliterPerHour),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.DecaliterPerMinute) => new VolumeFlow((_value * 60000.00000) / 1e1d, VolumeFlowUnit.DecaliterPerMinute),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.DecaliterPerDay) => new VolumeFlow((_value * (1000 * 86400)) / 1e1d, VolumeFlowUnit.DecaliterPerDay),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.DecaliterPerHour) => new VolumeFlow((_value * (1000 * 3600)) / 1e1d, VolumeFlowUnit.DecaliterPerHour),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.DecaliterPerMinute) => new VolumeFlow((_value * (1000 * 60)) / 1e1d, VolumeFlowUnit.DecaliterPerMinute),
(VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.DecaliterPerSecond) => new VolumeFlow((_value * 1000) / 1e1d, VolumeFlowUnit.DecaliterPerSecond),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.DeciliterPerDay) => new VolumeFlow((_value * 86400000) / 1e-1d, VolumeFlowUnit.DeciliterPerDay),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.DeciliterPerHour) => new VolumeFlow((_value * 3600000.000) / 1e-1d, VolumeFlowUnit.DeciliterPerHour),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.DeciliterPerMinute) => new VolumeFlow((_value * 60000.00000) / 1e-1d, VolumeFlowUnit.DeciliterPerMinute),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.DeciliterPerDay) => new VolumeFlow((_value * (1000 * 86400)) / 1e-1d, VolumeFlowUnit.DeciliterPerDay),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.DeciliterPerHour) => new VolumeFlow((_value * (1000 * 3600)) / 1e-1d, VolumeFlowUnit.DeciliterPerHour),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.DeciliterPerMinute) => new VolumeFlow((_value * (1000 * 60)) / 1e-1d, VolumeFlowUnit.DeciliterPerMinute),
(VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.DeciliterPerSecond) => new VolumeFlow((_value * 1000) / 1e-1d, VolumeFlowUnit.DeciliterPerSecond),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.HectoliterPerDay) => new VolumeFlow((_value * 86400000) / 1e2d, VolumeFlowUnit.HectoliterPerDay),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.HectoliterPerHour) => new VolumeFlow((_value * 3600000.000) / 1e2d, VolumeFlowUnit.HectoliterPerHour),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.HectoliterPerMinute) => new VolumeFlow((_value * 60000.00000) / 1e2d, VolumeFlowUnit.HectoliterPerMinute),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.HectoliterPerDay) => new VolumeFlow((_value * (1000 * 86400)) / 1e2d, VolumeFlowUnit.HectoliterPerDay),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.HectoliterPerHour) => new VolumeFlow((_value * (1000 * 3600)) / 1e2d, VolumeFlowUnit.HectoliterPerHour),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.HectoliterPerMinute) => new VolumeFlow((_value * (1000 * 60)) / 1e2d, VolumeFlowUnit.HectoliterPerMinute),
(VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.HectoliterPerSecond) => new VolumeFlow((_value * 1000) / 1e2d, VolumeFlowUnit.HectoliterPerSecond),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.KiloliterPerDay) => new VolumeFlow((_value * 86400000) / 1e3d, VolumeFlowUnit.KiloliterPerDay),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.KiloliterPerHour) => new VolumeFlow((_value * 3600000.000) / 1e3d, VolumeFlowUnit.KiloliterPerHour),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.KiloliterPerMinute) => new VolumeFlow((_value * 60000.00000) / 1e3d, VolumeFlowUnit.KiloliterPerMinute),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.KiloliterPerDay) => new VolumeFlow((_value * (1000 * 86400)) / 1e3d, VolumeFlowUnit.KiloliterPerDay),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.KiloliterPerHour) => new VolumeFlow((_value * (1000 * 3600)) / 1e3d, VolumeFlowUnit.KiloliterPerHour),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.KiloliterPerMinute) => new VolumeFlow((_value * (1000 * 60)) / 1e3d, VolumeFlowUnit.KiloliterPerMinute),
(VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.KiloliterPerSecond) => new VolumeFlow((_value * 1000) / 1e3d, VolumeFlowUnit.KiloliterPerSecond),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.KilousGallonPerMinute) => new VolumeFlow(_value * 15.850323141489, VolumeFlowUnit.KilousGallonPerMinute),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.LiterPerDay) => new VolumeFlow(_value * 86400000, VolumeFlowUnit.LiterPerDay),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.LiterPerHour) => new VolumeFlow(_value * 3600000.000, VolumeFlowUnit.LiterPerHour),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.LiterPerMinute) => new VolumeFlow(_value * 60000.00000, VolumeFlowUnit.LiterPerMinute),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.KilousGallonPerMinute) => new VolumeFlow(_value / (1000 * 0.003785411784 / 60), VolumeFlowUnit.KilousGallonPerMinute),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.LiterPerDay) => new VolumeFlow(_value * (1000 * 86400), VolumeFlowUnit.LiterPerDay),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.LiterPerHour) => new VolumeFlow(_value * (1000 * 3600), VolumeFlowUnit.LiterPerHour),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.LiterPerMinute) => new VolumeFlow(_value * (1000 * 60), VolumeFlowUnit.LiterPerMinute),
(VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.LiterPerSecond) => new VolumeFlow(_value * 1000, VolumeFlowUnit.LiterPerSecond),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MegaliterPerDay) => new VolumeFlow((_value * 86400000) / 1e6d, VolumeFlowUnit.MegaliterPerDay),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MegaliterPerHour) => new VolumeFlow((_value * 3600000.000) / 1e6d, VolumeFlowUnit.MegaliterPerHour),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MegaliterPerMinute) => new VolumeFlow((_value * 60000.00000) / 1e6d, VolumeFlowUnit.MegaliterPerMinute),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MegaliterPerDay) => new VolumeFlow((_value * (1000 * 86400)) / 1e6d, VolumeFlowUnit.MegaliterPerDay),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MegaliterPerHour) => new VolumeFlow((_value * (1000 * 3600)) / 1e6d, VolumeFlowUnit.MegaliterPerHour),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MegaliterPerMinute) => new VolumeFlow((_value * (1000 * 60)) / 1e6d, VolumeFlowUnit.MegaliterPerMinute),
(VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MegaliterPerSecond) => new VolumeFlow((_value * 1000) / 1e6d, VolumeFlowUnit.MegaliterPerSecond),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MegaukGallonPerDay) => new VolumeFlow((_value * 19005304) / 1e6d, VolumeFlowUnit.MegaukGallonPerDay),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MegaukGallonPerSecond) => new VolumeFlow((_value * 219.969) / 1e6d, VolumeFlowUnit.MegaukGallonPerSecond),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MegausGallonPerDay) => new VolumeFlow((_value * 22824465.227) / 1e6d, VolumeFlowUnit.MegausGallonPerDay),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MicroliterPerDay) => new VolumeFlow((_value * 86400000) / 1e-6d, VolumeFlowUnit.MicroliterPerDay),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MicroliterPerHour) => new VolumeFlow((_value * 3600000.000) / 1e-6d, VolumeFlowUnit.MicroliterPerHour),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MicroliterPerMinute) => new VolumeFlow((_value * 60000.00000) / 1e-6d, VolumeFlowUnit.MicroliterPerMinute),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MegaukGallonPerDay) => new VolumeFlow((_value / (0.00454609 / 86400)) / 1e6d, VolumeFlowUnit.MegaukGallonPerDay),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MegaukGallonPerSecond) => new VolumeFlow((_value / 0.00454609) / 1e6d, VolumeFlowUnit.MegaukGallonPerSecond),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MegausGallonPerDay) => new VolumeFlow((_value / (0.003785411784 / 86400)) / 1e6d, VolumeFlowUnit.MegausGallonPerDay),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MicroliterPerDay) => new VolumeFlow((_value * (1000 * 86400)) / 1e-6d, VolumeFlowUnit.MicroliterPerDay),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MicroliterPerHour) => new VolumeFlow((_value * (1000 * 3600)) / 1e-6d, VolumeFlowUnit.MicroliterPerHour),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MicroliterPerMinute) => new VolumeFlow((_value * (1000 * 60)) / 1e-6d, VolumeFlowUnit.MicroliterPerMinute),
(VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MicroliterPerSecond) => new VolumeFlow((_value * 1000) / 1e-6d, VolumeFlowUnit.MicroliterPerSecond),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MilliliterPerDay) => new VolumeFlow((_value * 86400000) / 1e-3d, VolumeFlowUnit.MilliliterPerDay),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MilliliterPerHour) => new VolumeFlow((_value * 3600000.000) / 1e-3d, VolumeFlowUnit.MilliliterPerHour),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MilliliterPerMinute) => new VolumeFlow((_value * 60000.00000) / 1e-3d, VolumeFlowUnit.MilliliterPerMinute),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MilliliterPerDay) => new VolumeFlow((_value * (1000 * 86400)) / 1e-3d, VolumeFlowUnit.MilliliterPerDay),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MilliliterPerHour) => new VolumeFlow((_value * (1000 * 3600)) / 1e-3d, VolumeFlowUnit.MilliliterPerHour),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MilliliterPerMinute) => new VolumeFlow((_value * (1000 * 60)) / 1e-3d, VolumeFlowUnit.MilliliterPerMinute),
(VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MilliliterPerSecond) => new VolumeFlow((_value * 1000) / 1e-3d, VolumeFlowUnit.MilliliterPerSecond),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MillionUsGallonPerDay) => new VolumeFlow(_value * 22.824465227, VolumeFlowUnit.MillionUsGallonPerDay),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.NanoliterPerDay) => new VolumeFlow((_value * 86400000) / 1e-9d, VolumeFlowUnit.NanoliterPerDay),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.NanoliterPerHour) => new VolumeFlow((_value * 3600000.000) / 1e-9d, VolumeFlowUnit.NanoliterPerHour),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.NanoliterPerMinute) => new VolumeFlow((_value * 60000.00000) / 1e-9d, VolumeFlowUnit.NanoliterPerMinute),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.MillionUsGallonPerDay) => new VolumeFlow(_value / (1e6 * 0.003785411784 / 86400), VolumeFlowUnit.MillionUsGallonPerDay),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.NanoliterPerDay) => new VolumeFlow((_value * (1000 * 86400)) / 1e-9d, VolumeFlowUnit.NanoliterPerDay),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.NanoliterPerHour) => new VolumeFlow((_value * (1000 * 3600)) / 1e-9d, VolumeFlowUnit.NanoliterPerHour),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.NanoliterPerMinute) => new VolumeFlow((_value * (1000 * 60)) / 1e-9d, VolumeFlowUnit.NanoliterPerMinute),
(VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.NanoliterPerSecond) => new VolumeFlow((_value * 1000) / 1e-9d, VolumeFlowUnit.NanoliterPerSecond),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.OilBarrelPerDay) => new VolumeFlow(_value / 1.8401307283333333333333333333333e-6, VolumeFlowUnit.OilBarrelPerDay),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.OilBarrelPerHour) => new VolumeFlow(_value / 4.41631375e-5, VolumeFlowUnit.OilBarrelPerHour),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.OilBarrelPerMinute) => new VolumeFlow(_value / 2.64978825e-3, VolumeFlowUnit.OilBarrelPerMinute),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.OilBarrelPerSecond) => new VolumeFlow(_value * 6.28981, VolumeFlowUnit.OilBarrelPerSecond),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.UkGallonPerDay) => new VolumeFlow(_value * 19005304, VolumeFlowUnit.UkGallonPerDay),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.UkGallonPerHour) => new VolumeFlow(_value * 791887.667, VolumeFlowUnit.UkGallonPerHour),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.UkGallonPerMinute) => new VolumeFlow(_value * 13198.2, VolumeFlowUnit.UkGallonPerMinute),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.UkGallonPerSecond) => new VolumeFlow(_value * 219.969, VolumeFlowUnit.UkGallonPerSecond),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.UsGallonPerDay) => new VolumeFlow(_value * 22824465.227, VolumeFlowUnit.UsGallonPerDay),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.UsGallonPerHour) => new VolumeFlow(_value * 951019.38848933424, VolumeFlowUnit.UsGallonPerHour),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.UsGallonPerMinute) => new VolumeFlow(_value * 15850.323141489, VolumeFlowUnit.UsGallonPerMinute),
- (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.UsGallonPerSecond) => new VolumeFlow(_value * 264.1720523581484, VolumeFlowUnit.UsGallonPerSecond),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.OilBarrelPerDay) => new VolumeFlow(_value / (0.158987294928 / 86400), VolumeFlowUnit.OilBarrelPerDay),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.OilBarrelPerHour) => new VolumeFlow(_value / (0.158987294928 / 3600), VolumeFlowUnit.OilBarrelPerHour),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.OilBarrelPerMinute) => new VolumeFlow(_value / (0.158987294928 / 60), VolumeFlowUnit.OilBarrelPerMinute),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.OilBarrelPerSecond) => new VolumeFlow(_value / 0.158987294928, VolumeFlowUnit.OilBarrelPerSecond),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.UkGallonPerDay) => new VolumeFlow(_value / (0.00454609 / 86400), VolumeFlowUnit.UkGallonPerDay),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.UkGallonPerHour) => new VolumeFlow(_value / (0.00454609 / 3600), VolumeFlowUnit.UkGallonPerHour),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.UkGallonPerMinute) => new VolumeFlow(_value / (0.00454609 / 60), VolumeFlowUnit.UkGallonPerMinute),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.UkGallonPerSecond) => new VolumeFlow(_value / 0.00454609, VolumeFlowUnit.UkGallonPerSecond),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.UsGallonPerDay) => new VolumeFlow(_value / (0.003785411784 / 86400), VolumeFlowUnit.UsGallonPerDay),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.UsGallonPerHour) => new VolumeFlow(_value / (0.003785411784 / 3600), VolumeFlowUnit.UsGallonPerHour),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.UsGallonPerMinute) => new VolumeFlow(_value / (0.003785411784 / 60), VolumeFlowUnit.UsGallonPerMinute),
+ (VolumeFlowUnit.CubicMeterPerSecond, VolumeFlowUnit.UsGallonPerSecond) => new VolumeFlow(_value / 0.003785411784, VolumeFlowUnit.UsGallonPerSecond),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/VolumeFlowPerArea.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumeFlowPerArea.g.cs
index 1718909c8a..900d7156dc 100644
--- a/UnitsNet/GeneratedCode/Quantities/VolumeFlowPerArea.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/VolumeFlowPerArea.g.cs
@@ -738,10 +738,10 @@ private bool TryToUnit(VolumeFlowPerAreaUnit unit, [NotNullWhen(true)] out Volum
VolumeFlowPerArea? convertedOrNull = (Unit, unit) switch
{
// VolumeFlowPerAreaUnit -> BaseUnit
- (VolumeFlowPerAreaUnit.CubicFootPerMinutePerSquareFoot, VolumeFlowPerAreaUnit.CubicMeterPerSecondPerSquareMeter) => new VolumeFlowPerArea(_value / 196.850394, VolumeFlowPerAreaUnit.CubicMeterPerSecondPerSquareMeter),
+ (VolumeFlowPerAreaUnit.CubicFootPerMinutePerSquareFoot, VolumeFlowPerAreaUnit.CubicMeterPerSecondPerSquareMeter) => new VolumeFlowPerArea(_value * (0.028316846592 / 60) / 9.290304e-2, VolumeFlowPerAreaUnit.CubicMeterPerSecondPerSquareMeter),
// BaseUnit -> VolumeFlowPerAreaUnit
- (VolumeFlowPerAreaUnit.CubicMeterPerSecondPerSquareMeter, VolumeFlowPerAreaUnit.CubicFootPerMinutePerSquareFoot) => new VolumeFlowPerArea(_value * 196.850394, VolumeFlowPerAreaUnit.CubicFootPerMinutePerSquareFoot),
+ (VolumeFlowPerAreaUnit.CubicMeterPerSecondPerSquareMeter, VolumeFlowPerAreaUnit.CubicFootPerMinutePerSquareFoot) => new VolumeFlowPerArea(_value * 9.290304e-2 / (0.028316846592 / 60), VolumeFlowPerAreaUnit.CubicFootPerMinutePerSquareFoot),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs
index 76d7afb513..e89e8466e7 100644
--- a/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/VolumePerLength.g.cs
@@ -864,24 +864,24 @@ private bool TryToUnit(VolumePerLengthUnit unit, [NotNullWhen(true)] out VolumeP
VolumePerLength? convertedOrNull = (Unit, unit) switch
{
// VolumePerLengthUnit -> BaseUnit
- (VolumePerLengthUnit.CubicYardPerFoot, VolumePerLengthUnit.CubicMeterPerMeter) => new VolumePerLength(_value * 2.50838208, VolumePerLengthUnit.CubicMeterPerMeter),
- (VolumePerLengthUnit.CubicYardPerUsSurveyFoot, VolumePerLengthUnit.CubicMeterPerMeter) => new VolumePerLength(_value * 2.50837706323584, VolumePerLengthUnit.CubicMeterPerMeter),
- (VolumePerLengthUnit.ImperialGallonPerMile, VolumePerLengthUnit.CubicMeterPerMeter) => new VolumePerLength(_value / (1000 * 1609.344 / 4.54609), VolumePerLengthUnit.CubicMeterPerMeter),
+ (VolumePerLengthUnit.CubicYardPerFoot, VolumePerLengthUnit.CubicMeterPerMeter) => new VolumePerLength(_value * 0.764554857984 / 0.3048, VolumePerLengthUnit.CubicMeterPerMeter),
+ (VolumePerLengthUnit.CubicYardPerUsSurveyFoot, VolumePerLengthUnit.CubicMeterPerMeter) => new VolumePerLength(_value * 0.764554857984 * 3937 / 1200, VolumePerLengthUnit.CubicMeterPerMeter),
+ (VolumePerLengthUnit.ImperialGallonPerMile, VolumePerLengthUnit.CubicMeterPerMeter) => new VolumePerLength(_value * 0.00454609 / 1609.344, VolumePerLengthUnit.CubicMeterPerMeter),
(VolumePerLengthUnit.LiterPerKilometer, VolumePerLengthUnit.CubicMeterPerMeter) => new VolumePerLength(_value / 1e6, VolumePerLengthUnit.CubicMeterPerMeter),
(VolumePerLengthUnit.LiterPerMeter, VolumePerLengthUnit.CubicMeterPerMeter) => new VolumePerLength(_value / 1000, VolumePerLengthUnit.CubicMeterPerMeter),
(VolumePerLengthUnit.LiterPerMillimeter, VolumePerLengthUnit.CubicMeterPerMeter) => new VolumePerLength(_value, VolumePerLengthUnit.CubicMeterPerMeter),
- (VolumePerLengthUnit.OilBarrelPerFoot, VolumePerLengthUnit.CubicMeterPerMeter) => new VolumePerLength(_value / 1.91713408, VolumePerLengthUnit.CubicMeterPerMeter),
- (VolumePerLengthUnit.UsGallonPerMile, VolumePerLengthUnit.CubicMeterPerMeter) => new VolumePerLength(_value / (1000 * 1609.344 / 3.785411784), VolumePerLengthUnit.CubicMeterPerMeter),
+ (VolumePerLengthUnit.OilBarrelPerFoot, VolumePerLengthUnit.CubicMeterPerMeter) => new VolumePerLength(_value * 0.158987294928 / 0.3048, VolumePerLengthUnit.CubicMeterPerMeter),
+ (VolumePerLengthUnit.UsGallonPerMile, VolumePerLengthUnit.CubicMeterPerMeter) => new VolumePerLength(_value * 0.003785411784 / 1609.344, VolumePerLengthUnit.CubicMeterPerMeter),
// BaseUnit -> VolumePerLengthUnit
- (VolumePerLengthUnit.CubicMeterPerMeter, VolumePerLengthUnit.CubicYardPerFoot) => new VolumePerLength(_value / 2.50838208, VolumePerLengthUnit.CubicYardPerFoot),
- (VolumePerLengthUnit.CubicMeterPerMeter, VolumePerLengthUnit.CubicYardPerUsSurveyFoot) => new VolumePerLength(_value / 2.50837706323584, VolumePerLengthUnit.CubicYardPerUsSurveyFoot),
- (VolumePerLengthUnit.CubicMeterPerMeter, VolumePerLengthUnit.ImperialGallonPerMile) => new VolumePerLength(_value * (1000 * 1609.344 / 4.54609), VolumePerLengthUnit.ImperialGallonPerMile),
+ (VolumePerLengthUnit.CubicMeterPerMeter, VolumePerLengthUnit.CubicYardPerFoot) => new VolumePerLength(_value * 0.3048 / 0.764554857984, VolumePerLengthUnit.CubicYardPerFoot),
+ (VolumePerLengthUnit.CubicMeterPerMeter, VolumePerLengthUnit.CubicYardPerUsSurveyFoot) => new VolumePerLength(_value * 1200 / (0.764554857984 * 3937), VolumePerLengthUnit.CubicYardPerUsSurveyFoot),
+ (VolumePerLengthUnit.CubicMeterPerMeter, VolumePerLengthUnit.ImperialGallonPerMile) => new VolumePerLength(_value * 1609.344 / 0.00454609, VolumePerLengthUnit.ImperialGallonPerMile),
(VolumePerLengthUnit.CubicMeterPerMeter, VolumePerLengthUnit.LiterPerKilometer) => new VolumePerLength(_value * 1e6, VolumePerLengthUnit.LiterPerKilometer),
(VolumePerLengthUnit.CubicMeterPerMeter, VolumePerLengthUnit.LiterPerMeter) => new VolumePerLength(_value * 1000, VolumePerLengthUnit.LiterPerMeter),
(VolumePerLengthUnit.CubicMeterPerMeter, VolumePerLengthUnit.LiterPerMillimeter) => new VolumePerLength(_value, VolumePerLengthUnit.LiterPerMillimeter),
- (VolumePerLengthUnit.CubicMeterPerMeter, VolumePerLengthUnit.OilBarrelPerFoot) => new VolumePerLength(_value * 1.91713408, VolumePerLengthUnit.OilBarrelPerFoot),
- (VolumePerLengthUnit.CubicMeterPerMeter, VolumePerLengthUnit.UsGallonPerMile) => new VolumePerLength(_value * (1000 * 1609.344 / 3.785411784), VolumePerLengthUnit.UsGallonPerMile),
+ (VolumePerLengthUnit.CubicMeterPerMeter, VolumePerLengthUnit.OilBarrelPerFoot) => new VolumePerLength(_value * 0.3048 / 0.158987294928, VolumePerLengthUnit.OilBarrelPerFoot),
+ (VolumePerLengthUnit.CubicMeterPerMeter, VolumePerLengthUnit.UsGallonPerMile) => new VolumePerLength(_value * 1609.344 / 0.003785411784, VolumePerLengthUnit.UsGallonPerMile),
_ => null
};
diff --git a/UnitsNet/GeneratedCode/Quantities/VolumetricHeatCapacity.g.cs b/UnitsNet/GeneratedCode/Quantities/VolumetricHeatCapacity.g.cs
index a36cf12201..80fc7529a6 100644
--- a/UnitsNet/GeneratedCode/Quantities/VolumetricHeatCapacity.g.cs
+++ b/UnitsNet/GeneratedCode/Quantities/VolumetricHeatCapacity.g.cs
@@ -867,20 +867,20 @@ private bool TryToUnit(VolumetricHeatCapacityUnit unit, [NotNullWhen(true)] out
VolumetricHeatCapacity? convertedOrNull = (Unit, unit) switch
{
// VolumetricHeatCapacityUnit -> BaseUnit
- (VolumetricHeatCapacityUnit.BtuPerCubicFootDegreeFahrenheit, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin) => new VolumetricHeatCapacity(_value / 1.4910660e-5, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin),
- (VolumetricHeatCapacityUnit.CaloriePerCubicCentimeterDegreeCelsius, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin) => new VolumetricHeatCapacity(_value / 2.388459e-7, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin),
+ (VolumetricHeatCapacityUnit.BtuPerCubicFootDegreeFahrenheit, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin) => new VolumetricHeatCapacity(_value * (1055.05585262 / 0.028316846592) * 1.8, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin),
+ (VolumetricHeatCapacityUnit.CaloriePerCubicCentimeterDegreeCelsius, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin) => new VolumetricHeatCapacity(_value * 4.184e6, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin),
(VolumetricHeatCapacityUnit.JoulePerCubicMeterDegreeCelsius, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin) => new VolumetricHeatCapacity(_value, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin),
- (VolumetricHeatCapacityUnit.KilocaloriePerCubicCentimeterDegreeCelsius, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin) => new VolumetricHeatCapacity((_value / 2.388459e-7) * 1e3d, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin),
+ (VolumetricHeatCapacityUnit.KilocaloriePerCubicCentimeterDegreeCelsius, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin) => new VolumetricHeatCapacity((_value * 4.184e6) * 1e3d, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin),
(VolumetricHeatCapacityUnit.KilojoulePerCubicMeterDegreeCelsius, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin) => new VolumetricHeatCapacity((_value) * 1e3d, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin),
(VolumetricHeatCapacityUnit.KilojoulePerCubicMeterKelvin, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin) => new VolumetricHeatCapacity((_value) * 1e3d, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin),
(VolumetricHeatCapacityUnit.MegajoulePerCubicMeterDegreeCelsius, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin) => new VolumetricHeatCapacity((_value) * 1e6d, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin),
(VolumetricHeatCapacityUnit.MegajoulePerCubicMeterKelvin, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin) => new VolumetricHeatCapacity((_value) * 1e6d, VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin),
// BaseUnit -> VolumetricHeatCapacityUnit
- (VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin, VolumetricHeatCapacityUnit.BtuPerCubicFootDegreeFahrenheit) => new VolumetricHeatCapacity(_value * 1.4910660e-5, VolumetricHeatCapacityUnit.BtuPerCubicFootDegreeFahrenheit),
- (VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin, VolumetricHeatCapacityUnit.CaloriePerCubicCentimeterDegreeCelsius) => new VolumetricHeatCapacity(_value * 2.388459e-7, VolumetricHeatCapacityUnit.CaloriePerCubicCentimeterDegreeCelsius),
+ (VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin, VolumetricHeatCapacityUnit.BtuPerCubicFootDegreeFahrenheit) => new VolumetricHeatCapacity(_value / ((1055.05585262 / 0.028316846592) * 1.8), VolumetricHeatCapacityUnit.BtuPerCubicFootDegreeFahrenheit),
+ (VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin, VolumetricHeatCapacityUnit.CaloriePerCubicCentimeterDegreeCelsius) => new VolumetricHeatCapacity(_value / 4.184e6, VolumetricHeatCapacityUnit.CaloriePerCubicCentimeterDegreeCelsius),
(VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin, VolumetricHeatCapacityUnit.JoulePerCubicMeterDegreeCelsius) => new VolumetricHeatCapacity(_value, VolumetricHeatCapacityUnit.JoulePerCubicMeterDegreeCelsius),
- (VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin, VolumetricHeatCapacityUnit.KilocaloriePerCubicCentimeterDegreeCelsius) => new VolumetricHeatCapacity((_value * 2.388459e-7) / 1e3d, VolumetricHeatCapacityUnit.KilocaloriePerCubicCentimeterDegreeCelsius),
+ (VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin, VolumetricHeatCapacityUnit.KilocaloriePerCubicCentimeterDegreeCelsius) => new VolumetricHeatCapacity((_value / 4.184e6) / 1e3d, VolumetricHeatCapacityUnit.KilocaloriePerCubicCentimeterDegreeCelsius),
(VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin, VolumetricHeatCapacityUnit.KilojoulePerCubicMeterDegreeCelsius) => new VolumetricHeatCapacity((_value) / 1e3d, VolumetricHeatCapacityUnit.KilojoulePerCubicMeterDegreeCelsius),
(VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin, VolumetricHeatCapacityUnit.KilojoulePerCubicMeterKelvin) => new VolumetricHeatCapacity((_value) / 1e3d, VolumetricHeatCapacityUnit.KilojoulePerCubicMeterKelvin),
(VolumetricHeatCapacityUnit.JoulePerCubicMeterKelvin, VolumetricHeatCapacityUnit.MegajoulePerCubicMeterDegreeCelsius) => new VolumetricHeatCapacity((_value) / 1e6d, VolumetricHeatCapacityUnit.MegajoulePerCubicMeterDegreeCelsius),
diff --git a/UnitsNet/GeneratedCode/Units/AccelerationUnit.g.cs b/UnitsNet/GeneratedCode/Units/AccelerationUnit.g.cs
index b4f1c48938..a514c50ff7 100644
--- a/UnitsNet/GeneratedCode/Units/AccelerationUnit.g.cs
+++ b/UnitsNet/GeneratedCode/Units/AccelerationUnit.g.cs
@@ -30,7 +30,17 @@ public enum AccelerationUnit
FootPerSecondSquared = 3,
InchPerSecondSquared = 4,
KilometerPerSecondSquared = 5,
+
+ ///
+ /// The knot (/nɒt/) is a unit of speed equal to one nautical mile per hour, exactly 1.852 km/h (approximately 1.151 mph or 0.514 m/s).
+ ///
+ /// https://en.wikipedia.org/wiki/Knot_(unit)
KnotPerHour = 6,
+
+ ///
+ /// The knot (/nɒt/) is a unit of speed equal to one nautical mile per hour, exactly 1.852 km/h (approximately 1.151 mph or 0.514 m/s).
+ ///
+ /// https://en.wikipedia.org/wiki/Knot_(unit)
KnotPerMinute = 7,
KnotPerSecond = 8,
MeterPerSecondSquared = 9,
diff --git a/UnitsNet/GeneratedCode/Units/DensityUnit.g.cs b/UnitsNet/GeneratedCode/Units/DensityUnit.g.cs
index 70b4e91fc7..638b21b01a 100644
--- a/UnitsNet/GeneratedCode/Units/DensityUnit.g.cs
+++ b/UnitsNet/GeneratedCode/Units/DensityUnit.g.cs
@@ -70,7 +70,7 @@ public enum DensityUnit
PoundPerCubicMillimeter = 39,
///
- /// Calculated from the definition of pound and yard compared to metric kilogram and meter.
+ /// Calculated from the definition of pound and Cubic yard compared to metric kilogram and meter.
///
PoundPerCubicYard = 58,
PoundPerImperialGallon = 40,
diff --git a/UnitsNet/GeneratedCode/Units/EnergyUnit.g.cs b/UnitsNet/GeneratedCode/Units/EnergyUnit.g.cs
index 392f8f736a..87b58d3a8a 100644
--- a/UnitsNet/GeneratedCode/Units/EnergyUnit.g.cs
+++ b/UnitsNet/GeneratedCode/Units/EnergyUnit.g.cs
@@ -30,14 +30,34 @@ public enum EnergyUnit
DecathermEc = 3,
DecathermImperial = 4,
DecathermUs = 5,
+
+ ///
+ /// In physics, an electronvolt (symbol eV, also written electron-volt and electron volt) is the measure of an amount of kinetic energy gained by a single electron accelerating from rest through an electric potential difference of one volt in vacuum. When used as a unit of energy, the numerical value of 1 eV in joules (symbol J) is equivalent to the numerical value of the charge of an electron in coulombs (symbol C). Under the 2019 redefinition of the SI base units, this sets 1 eV equal to the exact value 1.602176634×10−19 J.
+ ///
+ /// https://en.wikipedia.org/wiki/Electronvolt
ElectronVolt = 6,
+
+ ///
+ /// The erg is a unit of energy equal to 10−7 joules (100 nJ). It originated in the Centimetre–gram–second system of units (CGS). It has the symbol erg. The erg is not an SI unit. Its name is derived from ergon (ἔργον), a Greek word meaning 'work' or 'task'.
+ ///
+ /// https://en.wikipedia.org/wiki/Erg
Erg = 7,
+
+ ///
+ /// A pound-foot (lb⋅ft), abbreviated from pound-force foot (lbf · ft), is a unit of torque representing one pound of force acting at a perpendicular distance of one foot from a pivot point. Conversely one foot pound-force (ft · lbf) is the moment about an axis that applies one pound-force at a radius of one foot.
+ ///
+ /// https://en.wikipedia.org/wiki/Pound-foot_(torque)
FootPound = 8,
GigabritishThermalUnit = 9,
GigaelectronVolt = 10,
Gigajoule = 11,
GigawattDay = 12,
GigawattHour = 13,
+
+ ///
+ /// A horsepower-hour (symbol: hp⋅h) is an outdated unit of energy, not used in the International System of Units. The unit represents an amount of work a horse is supposed capable of delivering during an hour (1 horsepower integrated over a time interval of an hour).
+ ///
+ /// https://en.wikipedia.org/wiki/Horsepower-hour
HorsepowerHour = 14,
Joule = 15,
KilobritishThermalUnit = 16,
@@ -60,8 +80,23 @@ public enum EnergyUnit
Terajoule = 37,
TerawattDay = 30,
TerawattHour = 31,
+
+ ///
+ /// The therm (symbol, thm) is a non-SI unit of heat energy equal to 100,000 British thermal units (BTU), and approximately 105 megajoules, 29.3 kilowatt-hours, 25,200 kilocalories and 25.2 thermies. One therm is the energy content of approximately 100 cubic feet (2.83 cubic metres) of natural gas at standard temperature and pressure. However, the BTU is not standardised worldwide, with slightly different values in the EU, UK, and United States, meaning that the energy content of the therm also varies by territory.
+ ///
+ /// https://en.wikipedia.org/wiki/Therm
ThermEc = 32,
+
+ ///
+ /// The therm (symbol, thm) is a non-SI unit of heat energy equal to 100,000 British thermal units (BTU), and approximately 105 megajoules, 29.3 kilowatt-hours, 25,200 kilocalories and 25.2 thermies. One therm is the energy content of approximately 100 cubic feet (2.83 cubic metres) of natural gas at standard temperature and pressure. However, the BTU is not standardised worldwide, with slightly different values in the EU, UK, and United States, meaning that the energy content of the therm also varies by territory.
+ ///
+ /// https://en.wikipedia.org/wiki/Therm
ThermImperial = 33,
+
+ ///
+ /// The therm (symbol, thm) is a non-SI unit of heat energy equal to 100,000 British thermal units (BTU), and approximately 105 megajoules, 29.3 kilowatt-hours, 25,200 kilocalories and 25.2 thermies. One therm is the energy content of approximately 100 cubic feet (2.83 cubic metres) of natural gas at standard temperature and pressure. However, the BTU is not standardised worldwide, with slightly different values in the EU, UK, and United States, meaning that the energy content of the therm also varies by territory.
+ ///
+ /// https://en.wikipedia.org/wiki/Therm
ThermUs = 34,
WattDay = 35,
WattHour = 36,
diff --git a/UnitsNet/GeneratedCode/Units/FrequencyUnit.g.cs b/UnitsNet/GeneratedCode/Units/FrequencyUnit.g.cs
index 370d1d3ccd..9bd8b9aa0e 100644
--- a/UnitsNet/GeneratedCode/Units/FrequencyUnit.g.cs
+++ b/UnitsNet/GeneratedCode/Units/FrequencyUnit.g.cs
@@ -36,6 +36,11 @@ public enum FrequencyUnit
Microhertz = 16,
Millihertz = 21,
PerSecond = 9,
+
+ ///
+ /// In SI units, angular frequency is normally presented with the unit radian per second, and need not express a rotational value. The unit hertz (Hz) is dimensionally equivalent, but by convention it is only used for frequency f, never for angular frequency ω. This convention is used to help avoid the confusion that arises when dealing with quantities such as frequency and angular quantities because the units of measure (such as cycle or radian) are considered to be one and hence may be omitted when expressing quantities in terms of SI units.
+ ///
+ /// https://en.wikipedia.org/wiki/Angular_frequency
RadianPerSecond = 10,
Terahertz = 11,
}
diff --git a/UnitsNet/GeneratedCode/Units/LengthUnit.g.cs b/UnitsNet/GeneratedCode/Units/LengthUnit.g.cs
index 9323e39ba8..0c92578089 100644
--- a/UnitsNet/GeneratedCode/Units/LengthUnit.g.cs
+++ b/UnitsNet/GeneratedCode/Units/LengthUnit.g.cs
@@ -38,6 +38,11 @@ public enum LengthUnit
/// https://en.wikipedia.org/wiki/Astronomical_unit
AstronomicalUnit = 2,
Centimeter = 3,
+
+ ///
+ /// The chain (abbreviated ch) is a unit of length equal to 66 feet (22 yards), used in both the US customary and Imperial unit systems. It is subdivided into 100 links. There are 10 chains in a furlong, and 80 chains in one statute mile. In metric terms, it is 20.1168 m long.
+ ///
+ /// https://en.wikipedia.org/wiki/Chain_(unit)
Chain = 4,
///
@@ -47,14 +52,39 @@ public enum LengthUnit
DataMile = 5,
Decameter = 6,
Decimeter = 7,
+
+ ///
+ /// The pica is a typographic unit of measure corresponding to approximately 1⁄6 of an inch, or from 1⁄68 to 1⁄73 of a foot. One pica is further divided into 12 points.
+ ///
+ /// https://en.wikipedia.org/wiki/Pica_(typography)
DtpPica = 8,
+
+ ///
+ /// The desktop publishing point (DTP) is defined as 1⁄72 of an inch (1/72 × 25.4 mm ≈ 0.353 mm) and, as with earlier American point sizes, is considered to be 1⁄12 of a pica.
+ ///
+ /// https://en.wikipedia.org/wiki/Point_(typography)
DtpPoint = 9,
Fathom = 10,
Femtometer = 48,
+
+ ///
+ /// The foot (pl. feet; standard symbol: ft) is a unit of length in the British imperial and United States customary systems of measurement. The prime symbol, ′, is commonly used to represent the foot. In both customary and imperial units, one foot comprises 12 inches, and one yard comprises three feet. Since an international agreement in 1959, the foot is defined as equal to exactly 0.3048 meters.
+ ///
+ /// https://en.wikipedia.org/wiki/Foot_(unit)
Foot = 11,
Gigameter = 44,
+
+ ///
+ /// The hand is a non-SI unit of measurement of length standardized to 4 in (101.6 mm). It is used to measure the height of horses in many English-speaking countries, including Australia, Canada, Ireland, the United Kingdom, and the United States. It was originally based on the breadth of a human hand.
+ ///
+ /// https://en.wikipedia.org/wiki/Hand_(unit)
Hand = 12,
Hectometer = 13,
+
+ ///
+ /// The inch (symbol: in or ″) is a unit of length in the British Imperial and the United States customary systems of measurement. It is equal to 1/36 yard or 1/12 of a foot. Derived from the Roman uncia ("twelfth"), the word inch is also sometimes used to translate similar units in other measurement systems, usually understood as deriving from the width of the human thumb.
+ ///
+ /// https://en.wikipedia.org/wiki/Inch
Inch = 14,
Kilofoot = 45,
KilolightYear = 15,
@@ -90,7 +120,17 @@ public enum LengthUnit
/// https://en.wikipedia.org/wiki/Parsec
Parsec = 29,
Picometer = 43,
+
+ ///
+ /// The American pica of 0.16604 inches (~4.217 mm) was established by the United States Type Founders' Association in 1886. In TeX one pica is 400⁄2409 of an inch.
+ ///
+ /// https://en.wikipedia.org/wiki/Pica_(typography)
PrinterPica = 30,
+
+ ///
+ /// In typography, the point is the smallest unit of measure. It is used for measuring font size, leading, and other items on a printed page. In modern times this size of the point has been approximated as exactly 1⁄72.27 (0.01383700013837) of the inch by Donald Knuth for the default unit of his TeX computer typesetting system and is thus sometimes known as the TeX point.
+ ///
+ /// https://en.wikipedia.org/wiki/Point_(typography)
PrinterPoint = 31,
Shackle = 32,
@@ -99,6 +139,11 @@ public enum LengthUnit
///
/// https://en.wikipedia.org/wiki/Stellar_classification
SolarRadius = 33,
+
+ ///
+ /// A twip (abbreviating "twentieth of a point" or "twentieth of an inch point") is a typographical measurement, defined as 1⁄20 of a typographical point. One twip is 1⁄1440 inch, or ~17.64 μm.
+ ///
+ /// https://en.wikipedia.org/wiki/Twip
Twip = 34,
///
diff --git a/UnitsNet/GeneratedCode/Units/LuminosityUnit.g.cs b/UnitsNet/GeneratedCode/Units/LuminosityUnit.g.cs
index 44cdfec58c..f15cfe1cef 100644
--- a/UnitsNet/GeneratedCode/Units/LuminosityUnit.g.cs
+++ b/UnitsNet/GeneratedCode/Units/LuminosityUnit.g.cs
@@ -36,7 +36,11 @@ public enum LuminosityUnit
Nanowatt = 9,
Petawatt = 10,
Picowatt = 11,
- /// https://www.britannica.com/science/luminosity
+
+ ///
+ /// The IAU has defined a nominal solar luminosity of 3.828×10^26 W to promote publication of consistent and comparable values in units of the solar luminosity.
+ ///
+ /// https://en.wikipedia.org/wiki/Luminosity#Measurement
SolarLuminosity = 12,
Terawatt = 13,
Watt = 14,
diff --git a/UnitsNet/GeneratedCode/Units/MassUnit.g.cs b/UnitsNet/GeneratedCode/Units/MassUnit.g.cs
index 40dca115f1..8bf661827e 100644
--- a/UnitsNet/GeneratedCode/Units/MassUnit.g.cs
+++ b/UnitsNet/GeneratedCode/Units/MassUnit.g.cs
@@ -106,6 +106,11 @@ public enum MassUnit
///
/// http://en.wikipedia.org/wiki/Stone_(unit)
Stone = 24,
+
+ ///
+ /// The tonne is a unit of mass equal to 1,000 kilograms. It is a non-SI unit accepted for use with SI. It is also referred to as a metric ton in the United States to distinguish it from the non-metric units of the short ton (United States customary units) and the long ton (British imperial units). It is equivalent to approximately 2,204.6 pounds, 1.102 short tons, and 0.984 long tons.
+ ///
+ /// https://en.wikipedia.org/wiki/Tonne
Tonne = 25,
}
diff --git a/UnitsNet/GeneratedCode/Units/PorousMediumPermeabilityUnit.g.cs b/UnitsNet/GeneratedCode/Units/PorousMediumPermeabilityUnit.g.cs
index 9b57db7199..0ef3c52664 100644
--- a/UnitsNet/GeneratedCode/Units/PorousMediumPermeabilityUnit.g.cs
+++ b/UnitsNet/GeneratedCode/Units/PorousMediumPermeabilityUnit.g.cs
@@ -25,6 +25,11 @@ namespace UnitsNet.Units
public enum PorousMediumPermeabilityUnit
{
+
+ ///
+ /// The darcy (or darcy unit) and millidarcy (md or mD) are units of permeability, named after Henry Darcy. They are not SI units, but they are widely used in petroleum engineering and geology.
+ ///
+ /// https://en.wikipedia.org/wiki/Darcy_(unit)
Darcy = 1,
Microdarcy = 2,
Millidarcy = 3,
diff --git a/UnitsNet/GeneratedCode/Units/PowerUnit.g.cs b/UnitsNet/GeneratedCode/Units/PowerUnit.g.cs
index 303f690f6e..cde5717808 100644
--- a/UnitsNet/GeneratedCode/Units/PowerUnit.g.cs
+++ b/UnitsNet/GeneratedCode/Units/PowerUnit.g.cs
@@ -25,23 +25,48 @@ namespace UnitsNet.Units
public enum PowerUnit
{
+
+ ///
+ /// Boiler horsepower is a boiler's capacity to deliver steam to a steam engine and is not the same unit of power as the 550 ft lb/s definition. One boiler horsepower is equal to the thermal energy rate required to evaporate 34.5 pounds (15.6 kg) of fresh water at 212 °F (100 °C) in one hour.
+ ///
+ /// https://en.wikipedia.org/wiki/Horsepower#Boiler_horsepower
BoilerHorsepower = 1,
BritishThermalUnitPerHour = 2,
Decawatt = 3,
Deciwatt = 4,
+
+ ///
+ /// Nameplates on electrical motors show their power output, not the power input (the power delivered at the shaft, not the power consumed to drive the motor). This power output is ordinarily stated in watts or kilowatts. In the United States, the power output is stated in horsepower, which for this purpose is defined as exactly 746 W.
+ ///
+ /// https://en.wikipedia.org/wiki/Horsepower#Electrical_horsepower
ElectricalHorsepower = 5,
Femtowatt = 6,
GigajoulePerHour = 7,
Gigawatt = 8,
+
+ ///
+ /// Hydraulic horsepower can represent the power available within hydraulic machinery, power through the down-hole nozzle of a drilling rig, or can be used to estimate the mechanical power needed to generate a known hydraulic flow rate.
+ ///
+ /// https://en.wikipedia.org/wiki/Horsepower#Hydraulic_horsepower
HydraulicHorsepower = 9,
JoulePerHour = 10,
KilobritishThermalUnitPerHour = 11,
KilojoulePerHour = 12,
Kilowatt = 13,
+
+ ///
+ /// Assuming the third CGPM (1901, CR 70) definition of standard gravity, gn = 9.80665 m/s2, is used to define the pound-force as well as the kilogram force, and the international avoirdupois pound (1959), one imperial horsepower is: 76.0402249 × 9.80665 kg⋅m2/s3
+ ///
+ /// https://en.wikipedia.org/wiki/Horsepower#Imperial_horsepower
MechanicalHorsepower = 14,
MegabritishThermalUnitPerHour = 15,
MegajoulePerHour = 16,
Megawatt = 17,
+
+ ///
+ /// DIN 66036 defines one metric horsepower as the power to raise a mass of 75 kilograms against the Earth's gravitational force over a distance of one metre in one second:[18] 75 kg × 9.80665 m/s2 × 1 m / 1 s = 75 kgf⋅m/s = 1 PS. This is equivalent to 735.49875 W, or 98.6% of an imperial horsepower.
+ ///
+ /// https://en.wikipedia.org/wiki/Horsepower#Metric_horsepower_(PS,_KM,_cv,_hk,_pk,_k,_ks,_ch)
MetricHorsepower = 18,
Microwatt = 19,
MillijoulePerHour = 20,
diff --git a/UnitsNet/GeneratedCode/Units/PressureUnit.g.cs b/UnitsNet/GeneratedCode/Units/PressureUnit.g.cs
index 69a642d708..175f6dbcc5 100644
--- a/UnitsNet/GeneratedCode/Units/PressureUnit.g.cs
+++ b/UnitsNet/GeneratedCode/Units/PressureUnit.g.cs
@@ -25,7 +25,17 @@ namespace UnitsNet.Units
public enum PressureUnit
{
+
+ ///
+ /// The standard atmosphere (symbol: atm) is a unit of pressure defined as 101325 Pa. It is sometimes used as a reference pressure or standard pressure. It is approximately equal to Earth's average atmospheric pressure at sea level.
+ ///
+ /// https://en.wikipedia.org/wiki/Standard_atmosphere_(unit)
Atmosphere = 1,
+
+ ///
+ /// The bar is a metric unit of pressure defined as 100,000 Pa (100 kPa), though not part of the International System of Units (SI). A pressure of 1 bar is slightly less than the current average atmospheric pressure on Earth at sea level (approximately 1.013 bar).
+ ///
+ /// https://en.wikipedia.org/wiki/Bar_(unit)
Bar = 2,
Centibar = 3,
CentimeterOfWaterColumn = 48,
@@ -36,9 +46,24 @@ public enum PressureUnit
FootOfHead = 8,
Gigapascal = 9,
Hectopascal = 10,
+
+ ///
+ /// Inch of mercury (inHg and ″Hg) is a non-SI unit of measurement for pressure. It is used for barometric pressure in weather reports, refrigeration and aviation in the United States. It is the pressure exerted by a column of mercury 1 inch (25.4 mm) in height at the standard acceleration of gravity.
+ ///
+ /// https://en.wikipedia.org/wiki/Inch_of_mercury
InchOfMercury = 11,
+
+ ///
+ /// Inches of water is a non-SI unit for pressure. It is defined as the pressure exerted by a column of water of 1 inch in height at defined conditions. At a temperature of 4 °C (39.2 °F) pure water has its highest density (1000 kg/m3). At that temperature and assuming the standard acceleration of gravity, 1 inAq is approximately 249.082 pascals (0.0361263 psi).
+ ///
+ /// https://en.wikipedia.org/wiki/Inch_of_water
InchOfWaterColumn = 12,
Kilobar = 13,
+
+ ///
+ /// A kilogram-force per centimetre square (kgf/cm2), often just kilogram per square centimetre (kg/cm2), or kilopond per centimetre square (kp/cm2) is a deprecated unit of pressure using metric units. It is not a part of the International System of Units (SI), the modern metric system. 1 kgf/cm2 equals 98.0665 kPa (kilopascals). It is also known as a technical atmosphere (symbol: at).
+ ///
+ /// https://en.wikipedia.org/wiki/Kilogram-force_per_square_centimetre
KilogramForcePerSquareCentimeter = 14,
KilogramForcePerSquareMeter = 15,
KilogramForcePerSquareMillimeter = 16,
@@ -54,10 +79,20 @@ public enum PressureUnit
Megapascal = 26,
MeterOfElevation = 27,
MeterOfHead = 28,
+
+ ///
+ /// A centimetre of water is defined as the pressure exerted by a column of water of 1 cm in height at 4 °C (temperature of maximum density) at the standard acceleration of gravity, so that 1 cmH2O (4°C) = 999.9720 kg/m3 × 9.80665 m/s2 × 1 cm = 98.063754138 Pa, but conventionally a nominal maximum water density of 1000 kg/m3 is used, giving 98.0665 Pa.
+ ///
+ /// https://en.wikipedia.org/wiki/Centimetre_or_millimetre_of_water
MeterOfWaterColumn = 57,
Microbar = 29,
Micropascal = 30,
Millibar = 31,
+
+ ///
+ /// A millimetre of mercury is a manometric unit of pressure, formerly defined as the extra pressure generated by a column of mercury one millimetre high, and currently defined as exactly 133.322387415 pascals.
+ ///
+ /// https://en.wikipedia.org/wiki/Millimetre_of_mercury
MillimeterOfMercury = 32,
MillimeterOfWaterColumn = 33,
Millipascal = 34,
@@ -69,10 +104,20 @@ public enum PressureUnit
PoundForcePerSquareInch = 40,
PoundForcePerSquareMil = 41,
PoundPerInchSecondSquared = 42,
+
+ ///
+ /// A kilogram-force per centimetre square (kgf/cm2), often just kilogram per square centimetre (kg/cm2), or kilopond per centimetre square (kp/cm2) is a deprecated unit of pressure using metric units. It is not a part of the International System of Units (SI), the modern metric system. 1 kgf/cm2 equals 98.0665 kPa (kilopascals). It is also known as a technical atmosphere (symbol: at).
+ ///
+ /// https://en.wikipedia.org/wiki/Kilogram-force_per_square_centimetre
TechnicalAtmosphere = 43,
TonneForcePerSquareCentimeter = 44,
TonneForcePerSquareMeter = 45,
TonneForcePerSquareMillimeter = 46,
+
+ ///
+ /// The torr (symbol: Torr) is a unit of pressure based on an absolute scale, defined as exactly 1/760 of a standard atmosphere (101325 Pa). Thus one torr is exactly 101325/760 pascals (≈ 133.32 Pa).
+ ///
+ /// https://en.wikipedia.org/wiki/Torr
Torr = 47,
}
diff --git a/UnitsNet/GeneratedCode/Units/VolumeUnit.g.cs b/UnitsNet/GeneratedCode/Units/VolumeUnit.g.cs
index c35715428b..84dbccfb05 100644
--- a/UnitsNet/GeneratedCode/Units/VolumeUnit.g.cs
+++ b/UnitsNet/GeneratedCode/Units/VolumeUnit.g.cs
@@ -25,20 +25,55 @@ namespace UnitsNet.Units
public enum VolumeUnit
{
+
+ ///
+ /// An acre-foot is 43,560 cubic feet (~1,233.5 m3).
+ ///
+ /// https://en.wikipedia.org/wiki/Acre-foot
AcreFoot = 1,
+
+ ///
+ /// In Australia, the definition of the tablespoon is 20 ml (0.70 imp fl oz).
+ ///
+ /// https://en.wikipedia.org/wiki/Tablespoon#Australia
AuTablespoon = 2,
+
+ ///
+ /// The board foot or board-foot is a unit of measurement for the volume of lumber in the United States and Canada. It equals the volume of a board that is one-foot (305 mm) in length, one-foot (305 mm) in width, and one-inch (25.4 mm) in thickness.
+ ///
+ /// https://en.wikipedia.org/wiki/Board_foot
BoardFoot = 3,
Centiliter = 4,
CubicCentimeter = 5,
CubicDecimeter = 6,
+
+ ///
+ /// The cubic foot (symbol ft3 or cu ft) is an imperial and US customary (non-metric) unit of volume, used in the United States and the United Kingdom. It is defined as the volume of a cube with sides of one foot (0.3048 m) in length.
+ ///
+ /// https://en.wikipedia.org/wiki/Cubic_foot
CubicFoot = 7,
CubicHectometer = 8,
+
+ ///
+ /// The cubic inch (symbol in3) is a unit of volume in the Imperial units and United States customary units systems. It is the volume of a cube with each of its three dimensions (length, width, and height) being one inch long which is equivalent to 1/231 of a US gallon.
+ ///
+ /// https://en.wikipedia.org/wiki/Cubic_yard
CubicInch = 9,
CubicKilometer = 10,
CubicMeter = 11,
CubicMicrometer = 12,
+
+ ///
+ /// A cubic mile (abbreviation: cu mi or mi3) is an imperial and US customary (non-SI non-metric) unit of volume, used in the United States, Canada and the United Kingdom. It is defined as the volume of a cube with sides of 1 mile (63360 inches, 5280 feet, 1760 yards or ~1.609 kilometres) in length.
+ ///
+ /// https://en.wikipedia.org/wiki/Cubic_mile
CubicMile = 13,
CubicMillimeter = 14,
+
+ ///
+ /// A cubic yard is an Imperial / U.S. customary (non-SI non-metric) unit of volume, used in Canada and the United States. It is defined as the volume of a cube with sides of 1 yard (3 feet, 36 inches, 0.9144 meters) in length.
+ ///
+ /// https://en.wikipedia.org/wiki/Cubic_yard
CubicYard = 15,
Decaliter = 16,
DecausGallon = 17,
@@ -48,6 +83,11 @@ public enum VolumeUnit
HectocubicMeter = 21,
Hectoliter = 22,
HectousGallon = 23,
+
+ ///
+ /// Fluid barrels vary depending on what is being measured and where. In the UK a beer barrel is 36 imperial gallons (43 US gal; ~164 L).
+ ///
+ /// https://en.wikipedia.org/wiki/Barrel_(unit)#Fluid_barrel_in_the_US_and_UK
ImperialBeerBarrel = 24,
///
@@ -55,8 +95,23 @@ public enum VolumeUnit
///
/// https://en.wikipedia.org/wiki/Gallon#Imperial_gallon
ImperialGallon = 25,
+
+ ///
+ /// An imperial fluid ounce is 1⁄20 of an imperial pint, 1⁄160 of an imperial gallon or exactly 28.4130625 mL.
+ ///
+ /// https://en.wikipedia.org/wiki/Fluid_ounce
ImperialOunce = 26,
+
+ ///
+ /// The pint is a unit of volume or capacity in both the imperial and United States customary measurement systems. In both of those systems it is traditionally one eighth of a gallon. The British imperial pint is about 20% larger than the American pint because the two systems are defined differently.
+ ///
+ /// https://en.wikipedia.org/wiki/Pint#Imperial_pint
ImperialPint = 27,
+
+ ///
+ /// The imperial quart, which is used for both liquid and dry capacity, is equal to one quarter of an imperial gallon, or exactly 1.1365225 liters.
+ ///
+ /// https://en.wikipedia.org/wiki/Quart#Imperial_quart
ImperialQuart = 57,
KilocubicFoot = 28,
KilocubicMeter = 29,
@@ -68,14 +123,44 @@ public enum VolumeUnit
MegaimperialGallon = 35,
Megaliter = 36,
MegausGallon = 37,
+
+ ///
+ /// Australia, Canada, New Zealand, and some other members of the Commonwealth of Nations, being former British colonies that have since metricated, employ a metric cup of 250 millilitres. Although derived from the metric system, it is not an SI unit.
+ ///
+ /// https://en.wikipedia.org/wiki/Cup_(unit)#Metric_cup
MetricCup = 38,
+
+ ///
+ /// The metric teaspoon as a unit of culinary measure is 5 ml (0.18 imp fl oz; 0.17 US fl oz),[17] equal to 5 cm3, 1⁄3 UK/Canadian metric tablespoon, or 1⁄4 Australian metric tablespoon.
+ ///
+ /// https://en.wikipedia.org/wiki/Teaspoon#Metric_teaspoon
MetricTeaspoon = 39,
Microliter = 40,
Milliliter = 41,
Nanoliter = 53,
+
+ ///
+ /// In the oil industry, one barrel (unit symbol bbl) is a unit of volume used for measuring oil defined as exactly 42 US gallons, approximately 159 liters, or 35 imperial gallons.
+ ///
+ /// https://en.wikipedia.org/wiki/Barrel_(unit)#Oil_barrel
OilBarrel = 42,
+
+ ///
+ /// In nutrition labeling in the U.S. and the U.K., a tablespoon is defined as 15 ml (0.51 US fl oz). In Australia, the definition of the tablespoon is 20 ml (0.70 imp fl oz).
+ ///
+ /// https://en.wikipedia.org/wiki/Tablespoon#International
UkTablespoon = 43,
+
+ ///
+ /// Fluid barrels vary depending on what is being measured and where. In the US most fluid barrels (apart from oil) are 31.5 US gallons (26 imp gal; 119 L) (half a hogshead), but a beer barrel is 31 US gallons (26 imp gal; 117 L).
+ ///
+ /// https://en.wikipedia.org/wiki/Barrel_(unit)#Fluid_barrel_in_the_US_and_UK
UsBeerBarrel = 44,
+
+ ///
+ /// In the United States, the customary cup is half of a liquid pint or 1⁄16 US customary gallon which is 236.5882365 milliliters exactly.
+ ///
+ /// https://en.wikipedia.org/wiki/Cup_(unit)#Customary_cup
UsCustomaryCup = 45,
///
@@ -83,11 +168,41 @@ public enum VolumeUnit
///
/// https://en.wikipedia.org/wiki/Gallon#US_liquid_gallon
UsGallon = 46,
+
+ ///
+ /// The cup currently used in the United States for nutrition labelling is defined in United States law as 240 ml.
+ ///
+ /// https://en.wikipedia.org/wiki/Cup_(unit)#Legal_cup
UsLegalCup = 47,
+
+ ///
+ /// A US customary fluid ounce is 1⁄16 of a US liquid pint and 1⁄128 of a US liquid gallon or exactly 29.5735295625 mL, making it about 4.08% larger than the imperial fluid ounce.
+ ///
+ /// https://en.wikipedia.org/wiki/Fluid_ounce
UsOunce = 48,
+
+ ///
+ /// The pint is a unit of volume or capacity in both the imperial and United States customary measurement systems. In both of those systems it is traditionally one eighth of a gallon. The British imperial pint is about 20% larger than the American pint because the two systems are defined differently.
+ ///
+ /// https://en.wikipedia.org/wiki/Pint#US_liquid_pint
UsPint = 49,
+
+ ///
+ /// The US liquid quart equals 57.75 cubic inches, which is exactly equal to 0.946352946 L.
+ ///
+ /// https://en.wikipedia.org/wiki/Quart#US_liquid_quart
UsQuart = 50,
+
+ ///
+ /// The traditional U.S. interpretation of the tablespoon as a unit of volume is: 1 US tablespoon = 4 fluid drams, or 3 teaspoons or 1/2 US fluid ounce (≈ 14.8 ml)
+ ///
+ /// https://en.wikipedia.org/wiki/Tablespoon#United_States
UsTablespoon = 51,
+
+ ///
+ /// As a unit of culinary measure, one teaspoon in the United States is 1⁄3 tablespoon, exactly 4.92892159375 ml, 1 1⁄3 US fluid drams, 1⁄6 US fl oz, 1⁄48 US cup, 1⁄768 US liquid gallon, or 77⁄256 (0.30078125) cubic inches.
+ ///
+ /// https://en.wikipedia.org/wiki/Teaspoon#United_States_customary_unit
UsTeaspoon = 52,
}