modding:function:max
max
| Syntax | (max expression [number] | 1) |
|---|---|---|
| Arguments | expression: A list or a number to find the greatest of. | |
| number: One of the numbers that you want to find the greatest of. | ||
| Returns | number: The greatest of the passed in numbers. | |
| Category | 0.99, math | |
| Description | Finds and returns the greatest of the passed in numbers. If the first argument is a list of numbers that will be checked but no other arguments will be checked. Otherwise it will go through all the arguments. |
Example
modding/function/max.txt · Last modified: by 127.0.0.1
