02-21-2024 10:21 AM
good day.
I am trying to find information on how to include a negative number in the formula node.
thank you
02-21-2024 11:20 AM
02-21-2024 11:31 AM
@n3ow wrote:
I am trying to find information on how to include a negative number in the formula node.
Click on the border of the formula node, then click the key on the keyboard just above the arrow keys that says "Delete". Problem solved. 😂
02-21-2024 11:50 AM
thank you I see in the example you provided that I was missing a space between the function and the minus sign.
Have a goo day
02-21-2024 11:57 AM
@n3ow wrote:
thank you I see in the example you provided that I was missing a space between the function and the minus sign.
Have a goo day
I generally don't like goo days (too messy).
02-21-2024 12:02 PM
A space is not required.
02-21-2024 09:01 PM
As some have already hinted, maybe the real solution is not to use a formula node at all. There is really never a compelling reason for them.
Can you take a step back and explain what you are trying to do?
02-22-2024 06:40 AM
@altenbach wrote:
As some have already hinted, maybe the real solution is not to use a formula node at all. There is really never a compelling reason for them.
Can you take a step back and explain what you are trying to do?
There are compelling reasons NOT to use them , though, like:
Of course, this post isn't aimed at educating you, Altenbach. 😉
03-01-2026 01:54 AM
"There is really never a compelling reason for them."; "They are orders of magnitude slower than if you created the same code using native functions." - I agree that one is never forced to use the Formula Node: anything that can be achieved inside the Formula Node can of course be achieved using lower-level primitives such as Add, Multiply, Exponential, etc. I also agree that Formula Nodes execute more slowly than the primitives, and, for this reason, they need to be used judiciously.
But for me there is a compelling reason to use them: readability. Formula Nodes are the best option when implementing large, multi-line, complex formulas. Especially when those formulas are defined in a document, such as a PDF that the customer handed us. The code inside a Formula Node can be made to correspond one-to-one to the formula as defined in the customer's PDF. This leads to code that is much easier to understand, verify, and maintain.
It is a bit of a shame that performance needs to be traded off for readability, or vice-versa. Ideally both readability and performance would be achieved simultaneously.
03-01-2026 02:52 AM
(Old thread, I know)
Formula nodes can be quite competitive in speed and that's why I didn't touch that topic.
I do have some kind of undiagnosed "formula node dyslexia" and have a hard time to "follow the flow" unless they are very simple.