A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/1999-December/001760.html below:

[Python-Dev] Fixed Decimal types

[Python-Dev] Fixed Decimal typesAndy Robinson andy@robanal.demon.co.uk
Mon, 27 Dec 1999 10:43:17 GMT
On Fri, 24 Dec 1999 12:05:22 -0800 (PST), you wrote:

>On Fri, 24 Dec 1999, Jack Jansen wrote:
>> > (1) I think there is great mileage in combining the
>> > fixed-decimal concept with Martin Fowler's Quantity
>> > pattern, so that a variable could be defined as not
>> > just two decimal places but also (say) "GBP" or "USD",
>> > and it would be an error to add the two.  Same applies
>> > for adding metres, kilograms and other quantities.=20
>> > There has also been discussion that the 'type' of a
>> > quantity should determine what math should apply.
>>=20
>> Isn't this something that is ideally suited for implementation in a =
Python=20
>> module, based on a core implementation of fixed decimal numbers?
>
>I'd agree with Jack here.
>
Me too - I thought I said that in point 2, but in retrospect I didn't
say it clearly enough :-)


- Andy





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