-
Notifications
You must be signed in to change notification settings - Fork 386
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
Unit Arithmetic #1322
Comments
Also Please Add to the Documentation a example of how to do the math. I found a work around on this. I feel that should be in the about page since the .Kilograms converts it to a double value that then can be used.
|
Also some documentation on Why this is not allowed
// Does not Work - Throws a error But this works and is allowed
Both ways there is a * used but one is ok and the other is not allowed . I see it as best practice is to not rely on it working but i dont follow why it works and does not work |
Sorry for late reply. This question is not clear to me. All multiplication and division operator overloads are manually added, so we can add more if something is missing. For example, see how |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was automatically closed due to inactivity. |
Is your feature request related to a problem? Please describe.
Allow for there to be math between units to make combined units
Torque = Force * Length
Basically adding in the unknown unit classes from the https://github.com/MadsKirkFoged/EngineeringUnits library and adding this function to Units Test
The text was updated successfully, but these errors were encountered: