min

From RPTools Wiki
Revision as of 22:57, 9 February 2023 by Conversion script (talk | contribs) (Conversion script moved page Min to min: Converting page titles to lowercase)
Jump to navigation Jump to search

min() Function

Returns the smallest of the numbers that are passed in.

Usage

[h: smallest = min(num, num, ...)]

Example

    [r: min(2, 4, 5, 1)]   
    [r: min(-1, -5, 100)]

Returns

   1
-5