From: Jeff S. <why...@ya...> - 2005-03-19 14:56:11
|
--- "Seuffert, Peter J." <pet...@ng...> wrote: > I'm trying to use mdbtools to read an access97 db on a Fedora Core 2 linux box. Its > working fantastically, except for one issue with large numbers. In Access, I can see > the numbers in one column increase up past 100,000, but in a while mdb_fetch_row() > loop, the last valid value my program receives is 100,000. The next number in the db > should be 125,000 but the value being returned by mdbtools is truncated to 125. The > mdb-export utility is verifying that my program isn't doing anything quirky with the > return. Peter, I have isolated the problem and it is now fixed in cvs. Trailing zeros after a decimal point were supposed to be trimmed, but the trailing-zero trimming was also occurring on numbers without a decimal point. 100000 worked only because of a quirk that caused it to have an intermediate value of "100000.0". I have corrected this as well, though I doubt many people will notice as its effects are more subtle. Thank you for your report. -- Jeff Smith __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ |