Re: Re: float bug? perl 5.8, DBI and oracle 10.2.0

2007-07-11 Thread John Scoles
The is an old old problem. I ran into it once many many moons ago working with an Access report using ODBC on an Oracle 7 table. The Access report was summing up about 200k records and one field was a FP number. All of the records that had a field value of 0 Access just could not see it as 0

RE: Re: float bug? perl 5.8, DBI and oracle 10.2.0

2007-07-11 Thread Rutherdale, Will
I admire Peter's effort in tracking down the specifics at various conversion points. However, there are no documented guarantees of equality from the library. I hope you're not seriously considering jigging the libraries to make your program work. If you do that, you'll run up against the same p

Re: Re: float bug? perl 5.8, DBI and oracle 10.2.0

2007-07-11 Thread Erwan Lemonnier
Taking up on Peter's answer to http://www.nntp.perl.org/group/perl.dbi.users/2007/07/msg31663.html: This is peculiar, though. DBD::Oracle gets the number from the database as a string (this can be confirmed with Devel::Peek::Dump), so the above code should be equvialent to: my ($val) = ('1.736