Alteryx to KNIME conversion

Can anyone help me convert the following node (Formula in Alteryx) from Alteryx to KNIME to give the same output?

I have tried using the following code but the result is NaN.