Max: Difference between revisions

From Fancade Wiki
m (Fixed Typo)
(Improve description)
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
Line 8: Line 8:
}}
}}


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


{{Image|Max example.jpg|The maximum of 3 and 5 is 5. The maximum of -2 and 0 is 0.}}
{{Image|Max example.jpg|The maximum of 3 and 5 is 5. The maximum of -2 and 0 is 0.}}

Latest revision as of 00:44, 23 August 2025

Max
Max.png
TypeScript block
ColliderNone
FolderMath
Ports
Inputs Num1
Num2
Outputs Bigger Num

Outputs the bigger of the two input numbers.

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

Notes

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

Related