hi, roberto you use a integer value so 36.30 is not integer. try with real?
enzo 2014-03-11 12:56 GMT+01:00 Geo DrinX <[email protected]>: > 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 > > > _______________________________________________ > Qgis-developer mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer > -- Enzo Cocca (PhD Candidate) Research Fellow Università di Napoli "L'Orientale" mail: [email protected] cell: +393495087014
_______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
