use python as a calculator

David Houston root at crankyadmin.net
Thu Jun 24 11:50:34 EDT 2010


I believe this is fixed in python3

On Thu, Jun 24, 2010 at 4:42 PM, ilovesss2004 <yyiilluuoo at gmail.com> wrote:

> If I run
> 1.0/10**10
> python will return 0
>
> How can I make python return 1e-10?
> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
Dave
-------------
Email: root at crankyadmin.net
Web: www.crankyadmin.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100624/942eb20b/attachment-0001.html>


More information about the Python-list mailing list