Convert string to number

You can now use {{ $json.my_string.toNumber() }} to convert to a number. If you’re doing this in an ‘Edit fields’ node, don’t forget to change the type of the field to ‘number’, too.

For reformatting a number, e.g. as currency, you can use .toLocaleString() as shown below:

Example workflow:

2 Likes