A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2010-June/094114.html below:

[Python-checkins] r81951 - python/branches/py3k/Lib/decimal.py

[Python-checkins] r81951 - python/branches/py3k/Lib/decimal.py [Python-checkins] r81951 - python/branches/py3k/Lib/decimal.pymark.dickinson python-checkins at python.org
Sat Jun 12 18:37:53 CEST 2010
Author: mark.dickinson
Date: Sat Jun 12 18:37:53 2010
New Revision: 81951

Log:
Fix mild type confusion in decimal module docstring.

Modified:
   python/branches/py3k/Lib/decimal.py

Modified: python/branches/py3k/Lib/decimal.py
==============================================================================
--- python/branches/py3k/Lib/decimal.py	(original)
+++ python/branches/py3k/Lib/decimal.py	Sat Jun 12 18:37:53 2010
@@ -31,7 +31,8 @@
 useful for financial applications or for contexts where users have
 expectations that are at odds with binary floating point (for instance,
 in binary floating point, 1.00 % 0.1 gives 0.09999999999999995 instead
-of the expected Decimal('0.00') returned by decimal floating point).
+of 0.0; Decimal('1.00') % Decimal('0.1') returns the expected
+Decimal('0.00')).
 
 Here are some examples of using the decimal module:
 
More information about the Python-checkins mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4