If I understand you correctly in java you did:
select 47.88::DOUBLE PRECISION,
(47.88::DOUBLE PRECISION)::text,
(47.88::DOUBLE PRECISION)::numeric,
replace((47.88::DOUBLE PRECISION)::text, '.', ',');
and the two numeric values are correct, but the text values are wrong ?
Which column is:
52,55,46,56,56,48,48,48,48,48,48,48,48,48,48,48,48,50,54
?