-
Couldn't load subscription status.
- Fork 10
Open
Description
When inputting to_precision(132,2), I would expect it to return '130', but it actually gives '1.3e+2'. To my knowledge, both have the valid amount of significant figures, and the first one is easier to read. We might want to add a trailing zeros check.
I tried it on python 2.7 and 3.4 and got the same result.
Thanks so much for sharing this. I really like the code.
Metadata
Metadata
Assignees
Labels
No labels