🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #4485

adoquery reads an access number wrongly

#4485
From: Joel
Date: Wed, 09 Jan 2002 13:59
16 lines
1153 bytes
I have a column in a table that accepts numbers with 
decimal places. the problem is when i read that number 
AsString or AsFloat it isn't the correct number.
Ex: orginal number 10,36
    number read    10,3599909340304

or                 10,3600000000457575

Something like that!
I found a solution for this using Int and puting a comma in it. But 
it is a very painfull thing to do (can't use DefaultOnCellDraw!).

 Thanks

Joel Alexandre
Lisbon , Portugal
Technical Details
Message-ID: <3c3c4cd6_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!news1.optus.net.au!optus!intgwlon.nntp.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,e087f0856d4c5f44,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-01-09 06:08:29 PST
From: Joel
Subject: adoquery reads an access number wrongly
Newsgroups: borland.public.cppbuilder.database.ado
NNTP-Posting-Host: 193.136.128.20
Message-ID: <3c3c4cd6_2@dnews>
Date: 9 Jan 2002 05:59:50 -0800
X-Trace: dnews 1010584790 193.136.128.20 (9 Jan 2002 05:59:50 -0800)
Lines: 17
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!news1.optus.net.au!optus!intgwlon.nntp.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews