On 28/02/2017 08:03, Bob M wrote:
Hi

I have a derby database with records that contain a price e.g. 1.21098

I retrieve it by the following line

price = rs.getDouble("price");

when I print it out I get :- 1.21

How are you printing it out? The problem is probably there, not with the data you've read -- is your print routine printing it rounded to two decimal places?
--
John English

Reply via email to