Skip to content

Commit 11c78e0

Browse files
committed
made the conversion factor of cubic centimeters per minute more accurate
1 parent ca7a608 commit 11c78e0

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Common/UnitDefinitions/VolumeFlow.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,8 +466,8 @@
466466
{
467467
"SingularName": "CubicCentimeterPerMinute",
468468
"PluralName": "CubicCentimetersPerMinute",
469-
"FromUnitToBaseFunc": "x*0.00000001667",
470-
"FromBaseToUnitFunc": "x/0.00000001667",
469+
"FromUnitToBaseFunc": "x*1.6666666666667e-8",
470+
"FromBaseToUnitFunc": "x/1.6666666666667e-8",
471471
"Localization": [
472472
{
473473
"Culture": "en-US",

UnitsNet.Tests/CustomCode/VolumeFlowTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public class VolumeFlowTests : VolumeFlowTestsBase
131131

132132
protected override double CubicMillimetersPerSecondInOneCubicMeterPerSecond => 1e9;
133133

134-
protected override double CubicCentimetersPerMinuteInOneCubicMeterPerSecond => 59988002.39;
134+
protected override double CubicCentimetersPerMinuteInOneCubicMeterPerSecond => 6e7;
135135

136136
[Theory]
137137
[InlineData(20, 2, 40)]

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

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

UnitsNet/GeneratedCode/Quantities/VolumeFlow.g.cs

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

0 commit comments

Comments
 (0)