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

support combined units #7

Closed
sharkdp opened this issue Feb 26, 2017 · 1 comment
Closed

support combined units #7

sharkdp opened this issue Feb 26, 2017 · 1 comment

Comments

@sharkdp
Copy link
Owner

sharkdp commented Feb 26, 2017

Some examples:

3km/h
2Nm/h    <- do we want to support this?
2N*m/h
kg*m^2/s^2
3km³s^(-1)/(kg^5*THz^4)
@sharkdp
Copy link
Owner Author

sharkdp commented Mar 9, 2017

To achieve this, we probably want to parse units as separate factors that can stand alone. This means that 3km has to be parsed as 3*km. This solution would also fix #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant