Open
Conversation
Contributor
|
Wouldn't you rather write |
Author
|
Neat! I didn’t know about that, might be worth documenting that instead?
It’s obvious in hindsight but wasn’t to me yesterday
On Fri, May 14, 2021 at 5:14 AM Cédric St-Jean ***@***.***> wrote:
Wouldn't you rather write unknown_quantity * mm?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#444 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGSYX5PXBZ2YK3DTRK5NGDTNUH35ANCNFSM443JUYNQ>
.
--
Tyler Benster | tylerbenster.com
Twitter: @tbenst <http://twitter.com/tbenst> | LinkedIn: tylerbenster
<http://www.linkedin.com/in/tylerbenster/>
|
Mo-Gul
reviewed
May 8, 2022
| whether or not units on a dimensionless quantity seem "intentional" or not. | ||
|
|
||
| ## Adding units to a real number | ||
| Untis can be easily added to a real number using the `Quantity` constructor. This may be useful when the value of a unit is not yet known. |
There was a problem hiding this comment.
Suggested change
| Untis can be easily added to a real number using the `Quantity` constructor. This may be useful when the value of a unit is not yet known. | |
| Units can be easily added to a real number using the `Quantity` constructor. This may be useful when the value of a unit is not yet known. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Took me a long while to learn about
Quantity, so thought I'd attempt a small contribution to make this more obvious.I'm still not quite sure how to run doctests so hopefully I did that right... ironically a top google result for "julia run doctest" is me, confused, 4 years ago... https://discourse.julialang.org/t/run-doctests/8035