min: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Applied Template:MacroFunction)
(No difference)

Revision as of 03:36, 9 March 2009

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