I need a Convert PostgreSql to SQL : Ok right to do,

This is the expression i need to "translate"


case when position('.' in campo30) >= 1
then CAST(replace(replace(CAMPO30,'.',''),',','.') AS FLOAT)
else CAST(replace(CAMPO30,',','.') AS FLOAT)
end

Any people can i Help me?

Thanks 