String to Number Challenge

Hi Knime Community!
I’m trying to convert a column to Double from String. However, some values use “.” as decimal separator and “,” as thousand separator (and others vice versa).

For example:
1.555,80
8,190.00
1,130
1.450
1 560.23

Do you have any clues on how to fix it?
Thank you! :slight_smile:

Hi @mcaraffini,

I built this workflow with the help of expression node, and tried all the different combinations and it is working fine. Let me know if it solves your issue.

image

Best,
Keerthan

3 Likes

Thank you! It looks amazing! I managed as well to do it with much more nodes, so I’ll definitely use yours! :slight_smile:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.