Min()

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( STOD( "20001111" ), STOD( "20140621" ) )

Compliance

Clipper

Platforms

All

Files

Library is rtl

Seealso

MAX()

Advertisements

3 responses to “Min()

  1. Pingback: Harbour All Functions – M | Viva Clipper !

  2. Pingback: Harbour Math Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s