Re: [Tutor] Decimal fixed point representation

2008-11-21 Thread Bill Campbell
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

Re: [Tutor] Decimal fixed point representation

2008-11-21 Thread Kent Johnson
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

Re: [Tutor] Decimal fixed point representation

2008-11-21 Thread Dinesh B Vadhia
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

Re: [Tutor] Decimal fixed point representation

2008-11-20 Thread Alan Gauld
"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

Re: [Tutor] Decimal fixed point representation

2008-11-20 Thread bob gailer
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