How could i multiply the number 20 by 2?
Simply 20 * 2 doesn’t work returns the string (i guess) 20 * 2.
There’s an earlier demand for a calculation node but i can’t find it (yet?): https://github.com/n8n-io/n8n/issues/18
In reality i’m facing the following issue; i receive a quantity and price from a source, but need to calculate line total to be able to hand it over to the target.
Probably easy in Function Item, but i don’t know how to refer to results in earlier nodes there and would like to prevent to need to learn javascript (that’s why i use n8n )
Hi Ricardo,
Tnx for your reply, the input is the example in this n8n website: https://n8n.io/workflows/526
i would like to change the output of 20 to be multiplied by, let’s say 2, so 40 is the desired outcome.
When i do 20 * 2 in the formula editor this is parsed as a string as the outcome then is 20 * 2 and not 40. So is would like to perform basis math somewhere.