Creator Help

min

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

Description

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

Syntax

<num1>.min(<num2>)

(or)

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.

Example

min(5,7)   // returns 5

(or)

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

Top

ok.com/zoho" target="_blank">FaceBook Twitter Linkedin