Subject Another php niggle ...
Author Lester Caine
select * from test6 where v_integer between ? and ?

Table has 4,5,6,7,8,9 as integers ...
passing "5" and 7.5 as parameters returns 5,6,7 and 8 which I think is exactly
as I would expect as 7.5 would be rounded up when converting to an integer?
But the interbase test is saying that returning '8' is wrong. Feeding 7.499
gives the expected result, but what is the 'right' result? More important is
this a rounding happening in php or in firebird?

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php