← Back to team overview

python-quantities-developers team mailing list archive

[Bug 311499] Re: division for compound units not working properly

 

** Changed in: python-quantities
    Milestone: None => 0.5.0

-- 
division for compound units not working properly
https://bugs.launchpad.net/bugs/311499
You received this bug notification because you are a member of Python
Quantities Development Team, which is subscribed to python-quantities.

Status in Physical Quantities for Python: Fix Committed

Bug description:
These two should be the same, but they are not

>>>(5.2 * eV) / (400.0 * eV)
Quantity(0.013000000000000001), (J)^2
>>>(1.0 * J ) / ( 5.3 * J)
Quantity(0.18867924528301888), (dimensionless)