-
Notifications
You must be signed in to change notification settings - Fork 143
Open
Description
Please include the following information in your issue:
- Which version of
unitsyou are using
3.x (commit 70d5e3f)
We have an older version of the units lib (3.x, 2b2c063) where all units could be accessed with the value() method and you got the expected values. Later, this behavior changed for dimensionless units. This leads to unexpected behavior and actually our unit tests are failing now for the percent unit.
Our proposal is to introduce a unit proportion instead and fall back to the old behavior where the value of 5 percent actually returns 5 and not 0.05.
UNIT_ADD(concentration, proportion, prop, conversion_factor<std::ratio<100>, concentration::percent<>>)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels