Carrot reference
Functions

min()

Returns the lowest of all values passed as parameters.

Syntax

min(value, value2, ...,)

  • value - the first value.
  • value2 - the second value.

Return type: Number , Percent , Money.

Sample usage

min(-2, 3, 4) returns -2.

Supported data types

Input type

Return type

Logic

Number

Number

If a set of Number values is passed, the lowest Number value will be returned as a Number value.

Percent

Percent

If a set of Percent values is passed, the lowest Percent value will be returned as a Percent value.

Money

Money

If a set of Money values is passed, the lowest Money value will be returned as a Money value.

Unsupported data types

Null

Unsupported data types return Null.



Updated 29 May 2024
Doc contributor
Doc contributor
Did this page help you?