Larger Of And
Returns the larger or smaller value of the two inputs.

Description
The Larger Of And block returns the larger or smaller value of the two inputs. This is a code block from the Math drawer.
Usage
Returns the larger or smaller value of the two inputs.
Syntax
Inputs in this block:
- A number
- A number
Example
This is a model of a political community leading up to an election. Prior to the election, the different agents discuss with each other and change each other's political views. There is a databox that uses the larger of block to return the number of people that support the winning party at the time. The election day button reveals which party had the most support and displays a president under that party.

Related Blocks
- Greater Than - Compares if one value is greater than another
- Less Than - Compares if one value is less than another