We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 711f89c + 1fc1216 commit 429c25bCopy full SHA for 429c25b
Src/UnitsNet/Unit.cs
@@ -171,7 +171,7 @@ public enum Unit
171
172
// Metric
173
[Flow(1, "CubicMetersPerSecond")] CubicMeterPerSecond,
174
- [Flow(3600, "CubicMetersPerHour")] CubicMeterPerHour,
+ [Flow(1.0/3600, "CubicMetersPerHour")] CubicMeterPerHour,
175
176
177
[RotationalSpeed(1, "RevolutionsPerSecond")] RevolutionPerSecond,
Tests/Custom Code/FlowTests.cs
@@ -10,7 +10,7 @@ public class FlowTests : FlowTestsBase
10
{
11
public override double CubicMetersPerHourInOneCubicMeterPerSecond
12
13
- get { return 1/3600.0; }
+ get { return 1*3600.0; }
14
}
15
16
public override double CubicMetersPerSecondInOneCubicMeterPerSecond
0 commit comments