Thanks Bill! (: ----- Original Message ----- From: "Bill Downall" <[EMAIL PROTECTED]> To: "RBASE-L Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, June 23, 2004 12:51 PM Subject: [RBASE-L] - Re: Rounding REAL vs DOUBLE
> Very clear and cool example, Alan! > > Bill > > > On 23 Jun 2004 at 11:39, Alan Wolfe wrote: > > > > Check out this oversimplified example :P > > > > > > if you only had 2 bits to store the number to the right of a decimal > > point, > > > thats only 4 combinations so youd have: > > > 0 > > > 0.25 > > > 0.5 > > > 0.75 > > > > > > so if you made a variable of that type and tried to set it to 0.14, > > > it > > would > > > have to set it to 0.25 since that was the closest match that it can > > > store. >

