# MIN()

Determines the minumum of two numbers or dates.

Syntax

  MIN(<xValue>,<xValue1>) --> <xMin>

Arguments

  <xValue> Any date or numeric value.
  <xValue1> Any date or numeric value.

Returns

  <xMin> The smaller numeric (or earlier date) value.

Description

  This function returns the smaller of the two passed espressions. <xValue> and <xValue1> must be the same data type. If numeric, the smaller number is returned. If dates, the earlier date is returned.

Examples

          ? MIN(214514214,6251242142)
          ? MIN(CTOD('11/11/2000'),CTOD('21/06/2014')

Status

  Ready

Compliance

  This function is Ca-Clipper compliant.

Platforms

  All

Files

  Library is rtl

See Also

- MAX()