float questions

spiffy dawodu4fun at yahoo.com
Sat Sep 16 02:52:48 EDT 2006


On Sat, 16 Sep 2006 03:13:16 -0300, Gabriel Genellina
<gagsl-py at yahoo.com.ar> wrote:

>At Saturday 16/9/2006 02:56, spiffy wrote:
>
>>after some calculations i have this number as a result...
>>-7.1054273576010019e-015
>
>This means -7.1054... * 10**(-15) and it's a compact way of writing 
>-0.0000000000000071054...
>
>>what does the 'e' mean? is this an error?
>
>It is not an error, just a very small number
>
>>i want to be able to round this number to 3 places, but round() does
>>not work....
>
>Does not work, or you get 0.000? That's normal.


yeah, i get 0.0... thank you for your help.
>
>
>
>Gabriel Genellina
>Softlab SRL 
>
>
>	
>	
>		
>__________________________________________________
>Preguntá. Respondé. Descubrí.
>Todo lo que querías saber, y lo que ni imaginabas,
>está en Yahoo! Respuestas (Beta).
>¡Probalo ya! 
>http://www.yahoo.com.ar/respuestas



More information about the Python-list mailing list