min

From RPTools Wiki
Revision as of 22:19, 9 February 2023 by Conversion script (talk | contribs) (Conversion script moved page min to Min without leaving a redirect: Converting page title to first-letter uppercase)
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