# Difference between revisions of "Max Command"

From GeoGebra Manual

m (improve category sort - generic version) |
m (improve category sort - generic version) |
||

Line 1: | Line 1: | ||

<noinclude>{{Manual Page}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | <noinclude>{{Manual Page}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | ||

+ | {{command|algebra}} | ||

; Max[Number a, Number b]: Yields the maximum of the given numbers ''a'' and ''b''. | ; Max[Number a, Number b]: Yields the maximum of the given numbers ''a'' and ''b''. | ||

; Max[List of Numbers]: Yields the maximum of the numbers within the list. | ; Max[List of Numbers]: Yields the maximum of the numbers within the list. | ||

'''Note:''' If the input consists of non-numeric objects, then Max[] considers the numbers associated with those objects. For example, Max[List of Segments] will yield the maximum segment length. | '''Note:''' If the input consists of non-numeric objects, then Max[] considers the numbers associated with those objects. For example, Max[List of Segments] will yield the maximum segment length. |

## Revision as of 09:37, 23 October 2010

- Max[Number a, Number b]
- Yields the maximum of the given numbers
*a*and*b*. - Max[List of Numbers]
- Yields the maximum of the numbers within the list.

**Note:** If the input consists of non-numeric objects, then Max[] considers the numbers associated with those objects. For example, Max[List of Segments] will yield the maximum segment length.