I got a CSV like below.
The column got some empty rows and the CSV gives the values as a string. But I want to make it a float like ‘3.00000’ with 5 decimals. First, I need to replace the ‘,’ symbol and replace the null values
I used this derived column expression: (DT_R8)REPLACE(ISNULL(Col1) ? "0.0000" : Col1,",",".")
but it is not working.
Do you guys know a better expression?
The column is like below:
+---------+
| Col1 |
+---------+
| 3,00000 |
| |
| 4,00000 |
| 6.56565 |
| |
| 4.54545 |
+---------+