Skip to content
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

Add density unit PoundsPerCubicYard + Kilo prefix #1334

Merged
merged 1 commit into from
Dec 6, 2023
Merged

Add density unit PoundsPerCubicYard + Kilo prefix #1334

merged 1 commit into from
Dec 6, 2023

Conversation

aharres
Copy link
Contributor

@aharres aharres commented Dec 5, 2023

This commit just adds two new density units: PoundsPerCubicYard and KilopoundsPerCubicYard.

protected override double KilopoundsPerCubicFootInOneKilogramPerCubicMeter => 6.242796e-5;

protected override double KilopoundsPerCubicInchInOneKilogramPerCubicMeter => 3.6127292e-8;

protected override double PoundsPerCubicYardInOneKilogramPerCubicMeter => 1.6855549356;
Copy link
Owner

Choose a reason for hiding this comment

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

Verified

0.45359237 kg ÷ ( 0.9144 yd ^ 3 ) = 1.685554935555904522820787307335

1.6855549: https://www.convert-me.com/en/convert/density/lbpyd/lbpyd-to-kgpm.html?u=kgpm&v=1

@angularsen angularsen changed the title add new density unit: pounds per cubic yard Add density unit PoundsPerCubicYard + Kilo prefix Dec 6, 2023
@angularsen angularsen merged commit 202eafa into angularsen:master Dec 6, 2023
1 check passed
@angularsen
Copy link
Owner

Looks good to me, thanks! Nuget should be out shortly.

Release UnitsNet/5.37.0 · angularsen/UnitsNet

angularsen added a commit that referenced this pull request Dec 6, 2023
Fixup of 202eafa - Add density unit PoundsPerCubicYard + Kilo prefix (#1334)

Use precise calculation from definitions.
angularsen added a commit that referenced this pull request Dec 6, 2023
Fixup of 202eafa - Add density unit PoundsPerCubicYard + Kilo prefix
(#1334)

Use precise calculation from definitions.
Sign up for free to 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.

2 participants