Created page with "{{#Invoke:ProtoFlux|GenerateUI |Name=-1 |Category=Operators |Inputs= [ {"Type":"Dummy"} ] |Outputs= [ {"Type":"Dummy"} ] |}} Category:ProtoFlux:Stubs Category:ProtoFlux:Operators" |
Filled in this node page. |
||
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
|Inputs= | |Inputs= | ||
[ | [ | ||
{"Type":"Dummy"} | {"Name":"N", "Type":"Dummy"} | ||
] | ] | ||
|Outputs= | |Outputs= | ||
[ | [ | ||
{"Type":"Dummy"} | {"Name":"*", "Type":"Dummy"} | ||
] | ] | ||
|}} | |}} | ||
[[ | The '''Value Dec''' node takes in a value and returns that value -1. | ||
{{Note|If you need to decrement a value from an [[Impulses|impulse]], use the [[ProtoFlux:Decrement|Decrement]] node instead. | |||
This node is similar to the [[ProtoFlux:Sub|Sub]] node, but setting the sub node to only subtract 1. |suggestion}} | |||
== Inputs == | |||
=== N (Pseudo-Generic) === | |||
The value to decrement by 1. | |||
== Outputs == | |||
=== * (Pseudo-Generic) === | |||
Returns the decremented value. | |||
== See Also == | |||
* Wikipedia's definition of [https://en.wikipedia.org/wiki/Subtraction subtraction]. | |||
* Microsoft's documentation on the [https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/arithmetic-operators subtraction] operator. | |||
[[Category:ProtoFlux:Operators]] | [[Category:ProtoFlux:Operators]] |
Latest revision as of 14:47, 27 June 2024
-1
Operators
The Value Dec node takes in a value and returns that value -1.
Inputs
N (Pseudo-Generic)
The value to decrement by 1.
Outputs
* (Pseudo-Generic)
Returns the decremented value.
See Also
- Wikipedia's definition of subtraction.
- Microsoft's documentation on the subtraction operator.