-
Notifications
You must be signed in to change notification settings - Fork 406
Adding RatioChangeRate unit #678
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
Adding RatioChangeRate unit #678
Conversation
angularsen
left a comment
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.
Looks good, but a couple of things I'd like you to consider first.
| @@ -0,0 +1,32 @@ | |||
| { | |||
| "Name": "RatioChangeRate", | |||
| "BaseUnit": "PercentPerSecond", | |||
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.
I would choose DecimalFractionPerSecond as base unit, to be consistent with Ratio.
You would then have to swap some of the conversion functions and test case values too.
| { | ||
| "Name": "RatioChangeRate", | ||
| "BaseUnit": "PercentPerSecond", | ||
| "XmlDoc": "The quantity of percent flowing per unit of time.", |
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.
How about The change in ratio per unit of time. ?
| "Localization": [ | ||
| { | ||
| "Culture": "en-US", | ||
| "Abbreviations": [ "" ] |
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.
Hmm.. should this not have an abbreviation? Not sure what, but would perhaps 1/s work? Just something to signify the time dimensions we clearly have.
- Use of DecimalFractionPerSecond as base unit - Correction of the documentation - Adding abbreviation for DecimalFractionPerSecond
|
You are right, I fixed thoses points. I wasn't sure for the abbreviation as a DecimalFraction do not have any. |
|
Nuget on the way out |
No description provided.