On Thu, 26 Oct 2000 18:18:52 -0500, [EMAIL PROTECTED] wrote:
>Value to store          Value really strored
>10. 23    ----------------->  10.22222229
>18.25     ---- ------------> 18.24999999
>2.84    --------- ------>  2.8399999999
>7.41       --------- ------>  7.409

The error is inherent in the way that floating point values
are represented in base 2.  If you just need fixed-point 
numbers like currency values, consider storing them as 
integers instead, multiplied by the appropriate power of 10.

-- 
    -M-                                              [EMAIL PROTECTED]


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to