[Qgis-developer] A stupid problem with python, that is making me more stupid :)

Geo DrinX geodrinx at gmail.com
Tue Mar 11 04:56:23 PDT 2014


Hello All,


as in object,  I had an error from python, with my source code, that I do
not understand


    CamNick = 90 - int(pitch)
ValueError: invalid literal for int() with base 10: '36.30'


Somebody can help me to understand why   "36.30"  is not  good to reurn an
int value ?

For me, is a mistery.  :(


Roberto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140311/3ef2a6cb/attachment.html>


More information about the Qgis-developer mailing list