min

From RPTools Wiki
Revision as of 03:36, 9 March 2009 by Verisimilar (talk | contribs) (Applied Template:MacroFunction)
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