Navigation:  Macros > Macro Language > Built-in Functions > All Functions (Alphabetical) >


Previous pageReturn to chapter overviewNext page

int = Min(nNumber1, ..., nNumberN)


This macro function returns the minimum value from a list of integer variables and/or litterals. The list can mix litterals and variables, or even expressions, and must contain at least one value.


Examples :


 Min(25,12,5) // result = 5

 Max(30, NumDaysInMonth(nTokenYear,nTokenMonth))


See also : Max.

Topic 174255 updated on 02-Jan-03.
Topic URL: https://www.qppstudio.net/webhelp/index.html?min.htm