Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Invalid literal for int() with base 10.

$
0
0
Hi, I keep getting this error message:
Code:

Traceback (most recent call last):
  File "C:\Users\sbarron\Desktop\AIDA_Tool\AutoInfastructureMask.py", line 123, in <module>
    Max= int(max(Quakesim_List))
ValueError: invalid literal for int() with base 10: '999.332202045'

And I have no idea why. This code has worked on bigger numbers than this one, so I'm completely stumped. Any help would be appreciated.
-Scott

Viewing all articles
Browse latest Browse all 2485

Trending Articles