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 Kilo prefix to yards #1339

Merged
merged 1 commit into from
Dec 19, 2023
Merged

Conversation

jmnauman
Copy link
Contributor

I'm submitting a pull request to add a "kilo" prefix to yards (similar to kilofeet). 1kyd = 1000yd. It's not a common measurement, but is needed in a project where I use UnitsNet. See the bottom paragraph of this Wikipedia article for an example of where this is practically used.

The instructions for adding a new unit mentioned adding a comment to the KiloyardsInOneMeter getter in LengthTests.cs about the number's source. I didn't see that on any other getters in this file, so I left it out to be consistent. I can add a source if needed.

@angularsen angularsen changed the title Add a "Kilo" prefix to yards. Add Kilo prefix to yards Dec 19, 2023
@angularsen angularsen merged commit b992708 into angularsen:master Dec 19, 2023
1 check passed
@angularsen
Copy link
Owner

Looks perfect to me!

Nuget should be out shortly.

Release UnitsNet/5.39.0 · angularsen/UnitsNet

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