Calculate Numbers (plus)

Hello, I’m new with n8n :raising_hand_man:
I am trying to calculate X value plus Y value
For some reason I’m able to calculate 10+10 but it doesn’t work with a value that comes from another node.

Bug or feature?


My guess is that your value is actually a string.
try:

{{ +$json.Quota + 10 }}
4 Likes

Nice! it works. Thanks

For anyone who comes across this in the future
this is ok {{ +$json.Quota + 10 }}
not this {{ $json[“Quota”] +10 }}

3 Likes

The + infront of the $json is the trick.
Dot notation or not doesnt matter.:wink:

3 Likes

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