Skip to content

Conversation

@MH-ZShearer
Copy link
Contributor

@MH-ZShearer MH-ZShearer commented Aug 21, 2023

Fixes #1306

Corrects the conversion rates of the force quantity to be the precisely defined values, relative to standard gravity.

Adds a unit test that verifies that the conversion rate from kilograms divided by the conversion rate from newtons equals standard gravity (9.80665 m/s2).

Takes the rate from kilograms and divides it by the rate from newtons
Standard gravity is stated as being 9.80665 m/s2
Opt to have the compiler calculate the expected value
Copy link
Owner

@angularsen angularsen left a comment

Choose a reason for hiding this comment

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

Very nice, just a few minor things to look at.

@angularsen
Copy link
Owner

Will get to this soon

Copy link
Owner

@angularsen angularsen left a comment

Choose a reason for hiding this comment

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

Almost there 😊

@angularsen angularsen added the pending-response Waiting for response from author of PR/issue. label Sep 11, 2023
@angularsen angularsen merged commit 628c531 into angularsen:master Sep 16, 2023
@angularsen
Copy link
Owner

Thanks! A lot of great improvements here.
Nuget should be out shortly.

Release UnitsNet/5.33.0 · angularsen/UnitsNet

Now that this is merged, I can put my attention to #1309 the next time I find some free time.

@MH-ZShearer MH-ZShearer deleted the fix-force-conversion-rates branch December 22, 2025 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-response Waiting for response from author of PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect standard gravity/unit conversion constant

2 participants