Unary plus (`__pos__`) silently discards units!
python-quantities / python-quantities Public
-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Description
opened
Try this:
import quantites as pq
a = 1*pq.m
print(a,'is equal to',+a)
It will print 1 m is equal to 1.
Metadata
Metadata
Assignees
No one assigned
Labels
No labels
No labels
Type
No type
Fields
No fields configured for issues without a type.
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests