I made a Python (2.7.8) script, where one of the parameters is height (float) and I wan to make tool in ArcGIS 10.3 now. However in data type list there is only double. If I input integer value into this parameter field (e.g. -480), the tool works fine. If i input e.g. - 480,5 i get error
Traceback (most recent call last): File "D:\HETMAN\GIS\Projekt Model Złoża\Sktypy.py", line 27, in ValueError: invalid literal for float(): -480,1
Failed to execute (SSKv1).
This is a fragment of code, where i try to convert value to float:
kontakt_dbl = sys.argv[3]
kontakt = float(kontakt_dbl)
How to convert double value into float and not to get error?