List:General Discussion« Previous MessageNext Message »
From:Dean Urmson Date:June 7 2004 1:16pm
Subject:RE: Select double value
View as plain text  
>> The problem is that in my java.sql.ResultSet.getDouble("strength")
>> a zero amount throws a number format exception.

Hi Paul,

Not a Java user so I haven't tested this.

You could try...

SELECT abs( strength ) FROM data ;

It 'might' stop the exception!

Cheers

Dean

Thread
Select double valuePaul McNeil7 Jun
  • RE: Select double valueDean Urmson7 Jun
  • Re: Select double valueMichael Stassen7 Jun
RE: Select double valueVictor Pendleton7 Jun
Re: Select double valueMichael Stassen7 Jun