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

change the way to display Unit and Quantity #44

Merged
merged 6 commits into from
Aug 23, 2024
Merged

Conversation

chaoming0625
Copy link
Owner

@chaoming0625 chaoming0625 commented Aug 23, 2024

To solve issue #41.

>>> import brainunit as u
>>> 3.0 * u.kmeter / 130.51 * u.meter
0.02298675 * 10.0^3 * m^2
>>> u.kmeter / u.meter
Unit(10.0^3)
>>> 3 * u.kmeter / u.meter
3. * Unit(10.0^3)

Copy link
Collaborator

@Routhleck Routhleck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@chaoming0625 chaoming0625 merged commit f6456ab into main Aug 23, 2024
24 checks passed
@chaoming0625 chaoming0625 deleted the unit-display branch August 23, 2024 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants