Even though I'm from EU I always use "." as my decimal separator, so my example will be using "," as "wrong" decimal. Starting table:

Recode Column 1 to capture the script




From Enhanced Log

And finally script it
Names Default To Here(1);
dt = New Table("Untitled 3",
Add Rows(2),
New Column("Column 1", Character, "Nominal", Set Values({"1.1", "1.2", "1.2E-3"})),
New Column("Column 2", Character, "Nominal", Set Values({"2,1", "2,3", "1.2E3"}))
);
dt << Begin Data Update;
For Each({col_name}, dt << Get Column Names("String"),
dt << Recode Column(
AsColumn(col_name),
{Substitute(_rcNow, ",", ".")},
Update Properties(1),
Target Column(As Column(col_name))
);
Column(dt, col_name) << Set Data Type("Numeric");
Column(dt, col_name) << Set Modeling Type("Continuous");
);
dt << End Data Update;
-Jarmo