max: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Added MacroFunction template and Mathematical Function category)
m (Conversion script moved page max to Max without leaving a redirect: Converting page title to first-letter uppercase)
(No difference)

Revision as of 22:19, 9 February 2023

max() Function

Returns the largest number of all the numbers that have been passed in.

Usage

[h: largest = max(num, num, ...)]

Examples

    [r: max(2, 30, 4, 7)]
    [r: max(-2, -40, -100)]

Returns

   30
-2