-
Notifications
You must be signed in to change notification settings - Fork 395
Added a few new units and new prefixes for existing units. #291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
fbfdb00
121f6c0
6064445
a09f66b
38f7f76
5aa9472
1c4614e
5c7bb61
6eb6688
5e0903b
15baeef
eb03a6d
3328370
38801de
56d4a5e
22c2df0
51cc39b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,14 +48,24 @@ public class VolumeTests : VolumeTestsBase | |
protected override double CubicYardsInOneCubicMeter => 1.30795062; | ||
|
||
protected override double DecilitersInOneCubicMeter => 1E4; | ||
protected override double HectocubicFeetInOneCubicMeter => 3.531472e-1; | ||
protected override double HectocubicMetersInOneCubicMeter => 0.01; | ||
|
||
protected override double HectolitersInOneCubicMeter => 1E1; | ||
|
||
protected override double ImperialGallonsInOneCubicMeter => 219.96924; | ||
|
||
protected override double ImperialOuncesInOneCubicMeter => 35195.07972; | ||
|
||
protected override double KilocubicFeetInOneCubicMeter => 3.531472e-2; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wait, is this really a unit? Kilocubic feet? Sure this is not just 1000 cubicfeet? I can't find kilocubic feet on google. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hi @angularsen This is a unit of measure, that used in this product https://portfoliomanager.energystar.gov/ and called kcf (thousand cubic feet) |
||
protected override double KilocubicMetersInOneCubicMeter => 0.001; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same with kilocubic meters. Doesn't sound right? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See above |
||
protected override double KiloimperialGallonsInOneCubicMeter => 2.1996924e-1; | ||
protected override double KilousGallonsInOneCubicMeter => 2.6417217e-1; | ||
|
||
protected override double LitersInOneCubicMeter => 1E3; | ||
protected override double MegacubicFeetInOneCubicMeter => 3.531472e-5; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And the megacubic ones too. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The same here, they called it Kcm (Thousand Cubic meters) |
||
protected override double MegaimperialGallonsInOneCubicMeter => 2.1996924e-4; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I do find megaimperial gallons though so this one should be OK, still sounds funny to me :-) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And that means mega US gallons probably also is OK. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like in U.S. they call them KGal (thousand gallons) (US) and KGal (thousand gallons) (UK) |
||
protected override double MegausGallonsInOneCubicMeter => 2.6417217e-4; | ||
|
||
protected override double MicrolitersInOneCubicMeter => 1E9; | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forgot to verify the latest units, I see a difference here with google (BTU, not kBTU):
9.47817...e-7
https://www.google.no/search?q=britishThermalUnitsInOneJoule&oq=britishThermalUnitsInOneJoule&aqs=chrome..69i57.224j0j7&sourceid=chrome&ie=UTF-8