float questions

Gabriel Genellina gagsl-py at yahoo.com.ar
Sat Sep 16 02:13:16 EDT 2006


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.



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