-
Notifications
You must be signed in to change notification settings - Fork 966
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
Measure of length #775
base: main
Are you sure you want to change the base?
Measure of length #775
Conversation
… the corresponding powers of ten as underlying values.
…icPrefix.Undefined as null equivaltent and default value for API parameter.
…he functionality of maxPrefix.
…t be undesireable.
@@ -1,8 +1,8 @@ | |||
// Wrote by Alois de Gouvello https://github.com/aloisdg | |||
// Written by Alois de Gouvello https://github.com/aloisdg with additions by Jonas Barkå https://github.com/JonasBarka. |
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.
The copyrights at the top of the file, if any, should be simply Copyright (c) .NET Foundation and Contributors
Alternatively, it can be removed as it's in the project root.
|
||
// The MIT License (MIT) | ||
|
||
// Copyright (c) 2015 Alois de Gouvello | ||
// Copyright (c) 2015-2019 Alois de Gouvello and each other contributor for their respective work. | ||
|
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.
Same as above
@JonasBarka do you still want this one merged? if so can you address the comments and rebase |
Fixes #526
Here is a checklist you should tick through before submitting a pull request:
dev
branch (more info below). Based on latest master.fixes #<the issue number>
build.cmd
orbuild.ps1
and ensure there are no test failuresNote the interaction between parameters
decimals
andminPrefix
as described in the comment to one of the unit tests.Only
maxPrefix
andminPrefix
are new options, but I added all options to the readme description ofToMetric
.