> x,y DECIMAL(32,32),
Ramki,
I think the above line is your problem: have you tried using DECIMAL(32,16),
or indeed and DEC(a,b) where b < a?
HTH.
--
Cheers,
Billy
-----------------------------------------------------------------------------
-- New, improved, shorter .sig