Re: how to retrieve a number with more dec places

2017-02-27 Thread Kristian Waagan
Hi Bob, Assuming you have stored it correctly, have you tried using getBigDecimal? -- Kristian Den tir. 28. feb. 2017, 07:03 skrev Bob M : Hi I have a derby database with records that contain a price e.g. 1.21098 I retrieve it by the following line price =

how to retrieve a number with more dec places

2017-02-27 Thread Bob M
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 What do I need to change so that I retrieve the full price with all its decimal places? Bob M -- View this message