On Fri, Nov 21, 2008, Dinesh B Vadhia wrote:
>
> That's right, it is the Decimal module I'm trying to understand. And,
> it is how to represent a decimal floating point number as a
> common/vulgar fraction eg 1.234 = 1234/1000. How do you do this using
> the Decimal module? The motivatio
On Fri, Nov 21, 2008 at 8:22 AM, Dinesh B Vadhia
<[EMAIL PROTECTED]> wrote:
> Hi Alan
>
> That's right, it is the Decimal module I'm trying to understand. And, it is
> how to represent a decimal floating point number as a common/vulgar fraction
> eg 1.234 = 1234/1000. How do you do this using the
ns and use integers only (don't
ask why!). Cheers!
Dinesh
Date: Fri, 21 Nov 2008 01:03:05 -
From: "Alan Gauld" <[EMAIL PROTECTED]>
Subject: Re: [Tutor] Decimal fixed point representation
"Dinesh B Vadhia" <[EMAIL PROTECTED]> wrote
I'm trying to get my head around the Decimal module to
understand how to represent a decimal floating point
number as an integer (or integers).
I'm not sure what you mean by that.
Is it the use of the Decimal module you are querying?
Is it how
Dinesh B Vadhia wrote:
I'm trying to get my head around the Decimal module to understand how
to represent a decimal floating point number as an integer (or integers).
Huh? That makes no sense to me!
Examples please.
--
Bob Gailer
Chapel Hill NC
919-636-4239