Min: Difference between revisions

From Fancade Wiki
(Updated the page)
m (Add information about nan)
Line 11: Line 11:


{{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 are ''nan'', the other value will be outputted regardless.


== Related ==
== Related ==

Revision as of 13:47, 7 June 2024

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

Outputs the smaller number.

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

Notes

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

Related