Value getting truncated while entering through setDouble().
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Mitul_Das
Posted On:   Sunday, August 18, 2002 08:07 PM

I am working on a client program which updates a oracle table with one attribute as amount NUMERIC.

While i am passing a value of format 15.2 ie. 15 digits before decimal and 2 digits after decimal the decimal value is getting truncated.

I have also tried to use setBigDecimal but still it has'nt work.

Any solutions it is very critical..

Mitul

Re: Value getting truncated while entering through setDouble().

Posted By:   Gautam_Marwaha  
Posted On:   Sunday, August 18, 2002 09:11 PM

Table column shd be of type "number (15, 2)" or simply "number". Using setDouble() shd be ok.
About | Sitemap | Contact