You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\bers\AppData\Local\Programs\Python\Python310\lib\site-packages\humanize\number.py", line 511, in metric
exponent = int(math.floor(math.log10(abs(value))))
ValueError: math domain error
What versions are you using?
OS: Windows 10
Python: 3.10.7
Humanize: 4.3.0
Please include code that reproduces the issue.
importhumanizehumanize.metric(0)
The text was updated successfully, but these errors were encountered:
What did you do?
python -c "import humanize; humanize.metric(0)"
What did you expect to happen?
No crash
What actually happened?
What versions are you using?
Please include code that reproduces the issue.
The text was updated successfully, but these errors were encountered: