Skip to content

Add VolumePerLength yd3 / ft and ftUS - #734

Merged
angularsen merged 1 commit into
masterfrom
add-volume-per-length-imperial
Jan 11, 2020
Merged

Add VolumePerLength yd3 / ft and ftUS#734
angularsen merged 1 commit into
masterfrom
add-volume-per-length-imperial

Conversation

@gojanpaolo

Copy link
Copy Markdown
Contributor

Succeeds #733

@angularsenangularsen left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but note that I did not verify the conversion constants as I could not find any conversion references.


protected override double OilBarrelsPerFootInOneCubicMeterPerMeter => 1.917134088;

protected override double CubicYardsPerFootInOneCubicMeterPerMeter => 0.3986633487670267521605;

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was not able to verify these as I could not find any references, but I trust you checked it.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A quick check would be

1 m² = 1.19599 yd²
1.19599 yd² * (1 yd / 3 ft) = 0.3986633 yd³ / ft

@codecov-io

codecov-io commented Jan 11, 2020

Copy link
Copy Markdown

Codecov Report

Merging #734 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@ Coverage Diff @@## master #734 +/- ##
==========================================
+ Coverage 58.56% 58.58% +0.01% 
==========================================
Files 171 171 Lines 38430 38448 +18 ==========================================
+ Hits 22507 22525 +18 
Misses 15923 15923
Impacted FilesCoverage Δ
UnitsNet/GeneratedCode/UnitAbbreviationsCache.g.cs100% <ø> (ø)⬆️
...sNet/GeneratedCode/Quantities/VolumePerLength.g.cs47.35% <100%> (+2.55%)⬆️
UnitsNet/GeneratedCode/UnitConverter.g.cs100% <100%> (ø)⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e69bef4...c6c03a3. Read the comment docs.

@angularsenangularsen changed the title add VolumePerLength yd3 / ft and ftUSAdd VolumePerLength yd3 / ft and ftUSJan 11, 2020
@angularsen
angularsen merged commit 5b4f229 into masterJan 11, 2020
@angularsen
angularsen deleted the add-volume-per-length-imperial branch January 11, 2020 20:02
@angularsen

Copy link
Copy Markdown
Owner

Release UnitsNet/4.43.0 · angularsen/UnitsNet

@gojanpaolo

Copy link
Copy Markdown
ContributorAuthor

Thank you!

jonsuda pushed a commit to wgvdn/UnitsNet that referenced this pull request Jan 15, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@gojanpaolo@codecov-io@angularsen