Added a suggestion note. |
This page is no longer a stub. |
||
(One intermediate revision by the same user not shown) | |||
Line 17: | Line 17: | ||
{{Note|This node is special as it also works with the [[Type:String|String]] type, adding (concatenating) them together.|information}} | {{Note|This node is special as it also works with the [[Type:String|String]] type, adding (concatenating) them together.|information}} | ||
{{Note|If you just need to add + 1 to your value, use the [[ProtoFlux:Value Inc|Value Inc]] node. | {{Note|If you just need to add + 1 to your value, use the [[ProtoFlux:Value Inc|Value Inc]] node instead. | ||
If you need to increment a value from an [[Impulses|impulse]], use the [[ProtoFlux:Increment|Increment]] node instead.|suggestion}} | If you need to increment a value from an [[Impulses|impulse]], use the [[ProtoFlux:Increment|Increment]] node instead.|suggestion}} | ||
Line 40: | Line 40: | ||
* Microsoft's documentation on the [https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/arithmetic-operators addition] operator. | * Microsoft's documentation on the [https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/arithmetic-operators addition] operator. | ||
[[Category:ProtoFlux:Operators]] | [[Category:ProtoFlux:Operators]] | ||
[[Category:ProtoFlux:Strings]] | [[Category:ProtoFlux:Strings]] |
Latest revision as of 16:25, 27 June 2024
+
Operators
The Add node takes in 2 inputs and returns the calculated result. The second input (B
) will add to the first input (A
).
Inputs
A (Pseudo-Generic)
The value we have.
B (Pseudo-Generic)
The value we want to add.
Outputs
* (Pseudo-Generic)
The new result from this operation.