Skip to content

Commit 434fc92

Browse files
author
Dirk Schuermans
committed
Added KilopoundsForcePerFoot (kipf/ft) imperial variant
1 parent fa4d6c5 commit 434fc92

File tree

10 files changed

+96
-28
lines changed

10 files changed

+96
-28
lines changed

Common/UnitDefinitions/ForcePerLength.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
}
2121
]
2222
},
23-
{
23+
{
2424
"SingularName": "NewtonPerMillimeter",
2525
"PluralName": "NewtonsPerMillimeter",
2626
"FromUnitToBaseFunc": "x*1e3",
@@ -83,6 +83,18 @@
8383
"Abbreviations": [ "lbf/yd" ]
8484
}
8585
]
86+
},
87+
{
88+
"SingularName": "KilopoundForcePerFoot",
89+
"PluralName": "KilopoundsForcePerFoot",
90+
"FromUnitToBaseFunc": "x*14593.90292",
91+
"FromBaseToUnitFunc": "x/14593.90292",
92+
"Localization": [
93+
{
94+
"Culture": "en-US",
95+
"Abbreviations": [ "kipf/ft" ]
96+
}
97+
]
8698
}
8799
]
88100
}

UnitsNet.Tests/CustomCode/ForcePerLengthTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public class ForcePerLengthTests : ForcePerLengthTestsBase
2727
protected override double DecinewtonsPerMeterInOneNewtonPerMeter => 1E1;
2828
protected override double KilogramsForcePerMeterInOneNewtonPerMeter => 0.101972;
2929
protected override double KilonewtonsPerMeterInOneNewtonPerMeter => 1E-3;
30+
protected override double KilopoundsForcePerFootInOneNewtonPerMeter => 6.8521766E-5;
3031
protected override double MicronewtonsPerMeterInOneNewtonPerMeter => 1E6;
3132
protected override double MillinewtonsPerMeterInOneNewtonPerMeter => 1E3;
3233
protected override double NanonewtonsPerMeterInOneNewtonPerMeter => 1E9;

UnitsNet.Tests/GeneratedCode/TestsBase/ForcePerLengthTestsBase.g.cs

Lines changed: 42 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet.WindowsRuntimeComponent/GeneratedCode/Quantities/ForcePerLength.g.cs

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet.WindowsRuntimeComponent/GeneratedCode/UnitAbbreviationsCache.g.cs

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnitsNet.WindowsRuntimeComponent/GeneratedCode/Units/ForcePerLengthUnit.g.cs

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)