On May 21, 3:45 pm, norseman <norse...@hughes.net> wrote:
> Beyond that - just fix the money at 2, gas pumps at 3 and the
> sine/cosine at 8 and let it ride. :)


Or just use print.

>>> print 4.0/5.0
0.8

Since interactive prompt is usually used by programmers who are
inspecting values it makes a little more sense to print enough digits
to give unambiguous representation.


Carl Banks
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to