ProtoFlux:Greater Than: Difference between revisions

From Resonite Wiki
stub
 
Fixed description types. Fixed node visual.
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
|Inputs=
|Inputs=
[
[
{"Name":"", "Type":"Dummy"},
{"Name":"A", "Type":"Dummy"},
{"Name":"", "Type":"Dummy"}
{"Name":"B", "Type":"Dummy"}
]
]
|Outputs=
|Outputs=
[
[
{"Name":"", "Type":"bool"}
{"Name":"*", "Type":"bool"}
]
]
|}}
|}}


[[Category:ProtoFlux:Stubs]]
The '''Greater Than''' node takes in 2 values and returns if the first value is larger than the second value.
 
{{Note|For other comparison nodes:
* If you need to check if a value is less than something else, use the [[ProtoFlux:Less Than|Less Than]] node instead.
* If you need to check if a value is greater than or equal to something else, use the [[ProtoFlux:Greater Or Equal|Greater Or Equal]] node instead.
* If you need to check if a value is less than or equal to something else, use the [[ProtoFlux:Less Or Equal|Less Or Equal]] node instead.
|suggestion}}
 
== Inputs ==
 
=== A (Pseudo-Generic) ===
 
The first value.
 
=== B (Pseudo-Generic) ===
 
The second value.
 
== Outputs ==
 
=== * ([[Type:bool|bool]]) ===
 
Returns if the first value is larger than the second value.
 
== See Also ==
* Wikipedia's definition of [https://en.wikipedia.org/wiki/Inequality_(mathematics) inequality].
* Microsoft's documentation on the [https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/comparison-operators greater than] operator.
 
[[Category:ProtoFlux:Operators]]
[[Category:ProtoFlux:Operators]]

Latest revision as of 13:07, 27 June 2024

>
A
*
B
Operators

The Greater Than node takes in 2 values and returns if the first value is larger than the second value.

For other comparison nodes:
  • If you need to check if a value is less than something else, use the Less Than node instead.
  • If you need to check if a value is greater than or equal to something else, use the Greater Or Equal node instead.
  • If you need to check if a value is less than or equal to something else, use the Less Or Equal node instead.

Inputs

A (Pseudo-Generic)

The first value.

B (Pseudo-Generic)

The second value.

Outputs

* (bool)

Returns if the first value is larger than the second value.

See Also