<div dir="ltr">int(float('36.30'))</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 11, 2014 at 10:02 PM, Enzo Cocca <span dir="ltr"><<a href="mailto:enzo.ccc@gmail.com" target="_blank">enzo.ccc@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">hi, roberto<div>you use a integer value so 36.30 is not integer. try with real?</div><div><br></div><div>

enzo</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-11 12:56 GMT+01:00 Geo DrinX <span dir="ltr"><<a href="mailto:geodrinx@gmail.com" target="_blank">geodrinx@gmail.com</a>></span>:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Hello All,<br><br><br></div>as in object,  I had an error from python, with my source code, that I do not understand <br>


<div><div><br><br>    CamNick = 90 - int(pitch)<br>ValueError: invalid literal for int() with base 10: '36.30'<br>
<br><br></div><div>Somebody can help me to understand why   "36.30"  is not  good to reurn an int value ?<br><br></div><div>For me, is a mistery.  :(<br><br><br></div><div>Roberto<br></div><div><br></div></div>


</div>
<br></div></div>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br>

<br clear="all"><div><br></div>-- <br><div dir="ltr">Enzo Cocca (PhD Candidate)<div>
Research Fellow<br>Università di Napoli "L'Orientale"</div><div>mail: <a href="mailto:enzo.ccc@gmail.com" target="_blank">enzo.ccc@gmail.com</a></div><div>cell: <a href="tel:%2B393495087014" value="+393495087014" target="_blank">+393495087014</a></div>

<div><br></div></div>
</font></span></div>
<br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></blockquote></div><br></div>