This topic describes the syntax and usage of the min function in Zoho Creator .


The min function returns the minimum value in a set of two numeric values




min(<num1>,<num2>);   // This format is supported only in free-flow scripting mode of script builder.

The min function syntax has the following arguments:

num1 - Required. An integer/decimal value or a numeric expression.

num2 - Required. An integer/decimal value or a numeric expression.

Return Value

Returns an integer / decimal value representing the minimum value from the given values.


min(5,7)   // returns 5


(5).min(7)  // returns 5