Min: Difference between revisions

From Fancade Wiki
(Section and templates added; demystify file name)
(Improve description)
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(5 intermediate revisions by 2 users not shown)
Line 5: Line 5:
|input1={{Port|n|Num1}}
|input1={{Port|n|Num1}}
|input2={{Port|n|Num2}}
|input2={{Port|n|Num2}}
|output1={{Port|n|Bigger Num}}
|output1={{Port|n|Smaller Num}}
}}
}}


Outputs the smaller input.
Outputs the smaller of the two input [[number]]s.


{{Image|Min_example.jpg|The minimum of 3 and 5 is 3. The minimum of -2 and 0 is -2.}}
{{Image|Min example.jpg|The minimum of 3 and 5 is 3. The minimum of -2 and 0 is -2.}}
 
== Notes ==
 
* If one of the inputs is <code>nan</code>, the other value will be outputted regardless.


== Related ==
== Related ==

Latest revision as of 00:44, 23 August 2025

Min
Min.png
TypeScript block
ColliderNone
FolderMath
Ports
Inputs Num1
Num2
Outputs Smaller Num

Outputs the smaller of the two input numbers.

The minimum of 3 and 5 is 3. The minimum of -2 and 0 is -2.

Notes

  • If one of the inputs is nan, the other value will be outputted regardless.

Related