On 05/03/2015 05:22 AM, Cecil Westerhof wrote:
Op Sunday 3 May 2015 10:40 CEST schreef Ben Finney:

Cecil Westerhof <ce...@decebal.nl> writes:

When I have a value like 5.223701009526849e-05 in most cases I am
not interested in all the digest after the dot.

What type of value is it?

If the absolute value is bigger as 0 and smaller as 1, it should be a
float. ;-)


or for many uses, more likely a decimal.Decimal(), where many of the problems Ben mentions are moot.


--
DaveA
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to