nrc-cnrc / MetroloPy

Tools for uncertainty propagation and measurement unit conversion — Outils pour la propagation des incertitudes et la conversion d'unités de mesure
https://nrc-cnrc.github.io/MetroloPy
GNU General Public License v3.0
34 stars 6 forks source link

printing in scientific notation and mantissa exactly 1.0 #1

Closed hvparks closed 5 years ago

hvparks commented 5 years ago

An incorrect negative exponent is selected for scientific notation when printing a value that has no uncertainty and has a mantissa exactly equal to 1.0, e.g. 1.0e-10 displays as 10.0e-11.

hvparks commented 5 years ago

Fixed in version 0.5.1